[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-7b9060f7-4be9-4be3-890a-07e56006a1f0":3,"$fWwYbMHWu3NMYGo9Fy_-RLGA2TgCNF7-PaNPfj6OLW9o":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"7b9060f7-4be9-4be3-890a-07e56006a1f0","squirrel","全周期AI编码技能：规划、构建、测试、代码审查、修复bug和编写生产级文档。自动检测项目状态并适应其8阶段流程。","cat_life_career","mod_other","sickn33,other","---\nname: squirrel\ndescription: \"Full-cycle AI coding skill: plans, builds, tests, lints, fixes bugs, and writes production-grade docs. Auto-detects project state and adapts its 8-phase pipeline.\"\ncategory: development\nrisk: safe\nsource: community\nsource_repo: flyingsquirrel0419\u002Fsquirrel-skill\nsource_type: community\nlicense: \"Apache-2.0\"\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fflyingsquirrel0419\u002Fsquirrel-skill\u002Fblob\u002Fmain\u002FLICENSE\"\ndate_added: \"2026-04-29\"\nauthor: flying_squirrel__\ntags: [development, testing, planning, code-review, documentation, ci-cd]\ntools: [claude, cursor, codex, antigravity, gemini, windsurf, opencode, copilot]\n---\n\n# Squirrel — Full-Cycle Software Development Skill\n\n## Overview\n\nSquirrel is a full-cycle AI coding skill that works across 9 AI coding agents. It auto-detects project state (greenfield, in-progress, or mature) and adapts its 8-phase engineering pipeline accordingly. Instead of a one-size-fits-all workflow, it figures out where the project actually is and jumps in at exactly the right point.\n\n## When to Use This Skill\n\n- Use when starting a new project from scratch (greenfield)\n- Use when improving an existing codebase (in-progress or mature)\n- Use when fixing bugs, adding features, or refactoring\n- Use when adding tests, linting, or CI\u002FCD to a project\n- Use when writing production-grade documentation\n- Use when the user says \"build me\", \"fix this\", \"squirrel this project\", or any multi-step development task\n\n## How It Works\n\n### Step 0: Detect Mode\n\nSquirrel classifies the project directory:\n\n| Signal | Mode | Entry Point |\n|--------|------|-------------|\n| Empty directory | Greenfield | All 8 phases from scratch |\n| Source files, no tests\u002Fdocs | In-Progress | Audit first, then improve |\n| Source + tests + CI + README | Mature | Targeted improvements |\n| \"fix this bug \u002F add feature\" | Targeted | Scoped work only |\n\n### The 8-Phase Pipeline\n\n1. **Discover** — Understand the project (audit existing code or gather requirements)\n2. **Plan** — Concrete task list with dependencies and done-criteria\n3. **Build** — Write or modify code (parallel sub-agents when supported)\n4. **Test** — Run existing tests, write new ones, 70%+ coverage target\n5. **Bug Hunt** — Static analysis + manual review\n6. **Polish** — Lint, format, type check, remove dead code\n7. **Document** — README + inline docs (update existing, don't overwrite)\n8. **Ship** — Final checklist: tests green, no secrets, CI configured\n\n### Failure Recovery (3-Strike Rule)\n\n1. **Strike 1:** Fix the specific error. Run tests. Move on.\n2. **Strike 2:** Re-read the code. Try a different approach.\n3. **Strike 3:** STOP. Revert. Document what failed. Ask the user.\n\n## Examples\n\n### Example 1: Build a REST API\n\n```text\n> build me a REST API for a todo app with TypeScript and Express\n```\n\nSquirrel auto-detects greenfield mode and runs all 8 phases.\n\n### Example 2: Fix a bug\n\n```text\n> fix this bug in src\u002Fauth\u002Flogin.py\n```\n\nSquirrel enters targeted mode — abbreviated audit, scoped fix, verify.\n\n### Example 3: Improve existing project\n\n```text\n> squirrel this project — add tests, fix lint errors, write README\n```\n\nSquirrel audits the existing codebase, then applies phases 4-8.\n\n## Best Practices\n\n- Respects existing code — matches naming conventions, test framework, import style, and architecture\n- Reads 2-3 similar files before writing a new one\n- Never suppresses type errors with `as any` or `@ts-ignore`\n- Never deletes failing tests to \"pass\"\n- Never leaves code in a broken state\n\n## Platform Compatibility\n\nSquirrel works on: Claude Code, Codex, Cursor, Antigravity, Gemini CLI, GitHub Copilot, Windsurf, OpenCode, Aider (9 total).\n\nInstall with:\n\n```bash\n# Universal installer\nnpx skills add flyingsquirrel0419\u002Fsquirrel-skill\n\n```\n\n## Limitations\n\n- Does not replace environment-specific validation or expert review\n- CI\u002FCD templates are starting points, not drop-in guarantees\n- Parallel sub-agent execution depends on platform support\n\n## Related Skills\n\n- `@brainstorming` - For planning before implementation\n- `@test-driven-development` - For TDD-oriented workflows\n- `@systematic-debugging` - For methodical problem-solving\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,141,777,"2026-05-16 13:41:49",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"ec0eb099-fd20-44af-9217-2a3472022cb1","1.0.0","squirrel.zip",2155,"uploads\u002Fskills\u002F7b9060f7-4be9-4be3-890a-07e56006a1f0\u002Fsquirrel.zip","8ec8a809fc8805721964c8334c38c93e90fb01bd0f4d9b7fbf419ce055744f73","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4189}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]