Full-cycle AI coding skill that works everywhere — from blank canvas to production.
Plans, builds, tests, lints, fixes bugs, and writes production-grade docs. Runs on OpenCode, Codex, Claude Code, Cursor, Windsurf, Aider, Cline, Copilot, and Antigravity.
- Auto-detects project state — Greenfield, in-progress, or mature. Squirrel figures out where your project is and jumps in at exactly the right point instead of forcing a one-size-fits-all workflow.
- Respects existing code — Matches your naming conventions, test framework, import style, and architecture. Extends what's there instead of overwriting it. Reads 2–3 similar files before writing a new one.
- 8-phase engineering pipeline — Discover → Plan → Build → Test → Bug Hunt → Polish → Document → Ship. The same disciplined process a senior engineer follows, every time.
- Platform-agnostic — One skill file, 9 AI coding agents. Drop it in as
AGENTS.md,CLAUDE.md,.cursor/rules/squirrel.mdc, or any of the other supported formats and it just works. - Built-in failure recovery — 3-Strike Rule: fix, retry differently, then stop and ask. Never leaves code in a broken state. Includes sub-agent failure recovery for parallel execution.
- CI/CD templates included — Ready-to-use GitHub Actions workflows for Node.js, Python, Go, Rust, and more. Use them as a starting point, not a drop-in guarantee.
- Stack-agnostic — Works with TypeScript, Python, Go, Rust, Ruby, Java, C#, Elixir, and any language that has a linter, formatter, and test runner. Detects your stack and adapts automatically.
Install with skills.sh (works with 50+ AI agents):
npx skills add flyingsquirrel0419/squirrel-skillOr install in one command — auto-detects your AI agent and platform:
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/install.sh | bashOr install for a specific platform:
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/install.sh | bash -s -- --platform cursorOr clone and run locally:
git clone https://github.com/flyingsquirrel0419/squirrel-skill.git
cd squirrel-skill && bash install.shThen just tell your AI agent what you want to build:
> build me a REST API for a todo app with TypeScript and Express
> create a CLI tool in Rust that parses CSV files
> fix this bug in src/auth/login.py
> squirrel this project — add tests, fix lint errors, write README
Squirrel auto-detects your project state and starts at the right phase. No config needed.
npx skills add flyingsquirrel0419/squirrel-skillUniversal installer — auto-detects your agent and installs Squirrel with references. No setup needed.
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/install.sh | bashAuto-detects which AI agents are configured in your project and installs Squirrel for all of them.
# Any platform
bash install.sh --platform <platform>
# Examples
bash install.sh --platform opencode
bash install.sh --platform cursor
bash install.sh --platform claude-code
bash install.sh --platform aider
# Custom output path
bash install.sh --platform codex --path ./my-instructions.mdSupported platforms: opencode, codex, claude-code, cursor, windsurf, aider, cline, copilot, antigravity
OpenCode
mkdir -p ~/.config/opencode/skills/squirrel
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md \
-o ~/.config/opencode/skills/squirrel/SKILL.mdOpenAI Codex
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o AGENTS.mdClaude Code
# Option A: Direct
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o CLAUDE.md
# Option B: Import from existing CLAUDE.md
echo -e "\n@AGENTS.md" >> CLAUDE.md
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o AGENTS.mdCursor
mkdir -p .cursor/rules
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o .cursor/rules/squirrel.mdc
# Then add frontmatter to squirrel.mdc:
# ---
# description: Squirrel full-cycle development skill
# alwaysApply: true
# ---Windsurf
mkdir -p .windsurf/rules
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o .windsurf/rules/squirrel.md
# Then add frontmatter to squirrel.md:
# ---
# trigger: always_on
# description: Squirrel full-cycle development skill
# ---Aider
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o squirrel-skill.md
aider --read squirrel-skill.md
# Or add to .aider.conf.yml: read: squirrel-skill.mdCline
mkdir -p .clinerules
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md -o .clinerules/squirrel.mdGitHub Copilot
mkdir -p .github
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md \
-o .github/copilot-instructions.mdAntigravity
mkdir -p ~/.gemini/antigravity/skills/squirrel
curl -fsSL https://raw.githubusercontent.com/flyingsquirrel0419/squirrel-skill/main/skills/squirrel/SKILL.md \
-o ~/.gemini/antigravity/skills/squirrel/SKILL.mdSquirrel checks your project directory and classifies it:
| Signal | Mode | Entry Point |
|---|---|---|
| Empty directory, no source files | 🆕 Greenfield | All 8 phases from scratch |
| Source files, no tests/docs | 🔧 In-Progress | Audit first, then improve |
| Source + tests + CI + README | 🏗️ Mature | Targeted improvements |
| "fix this bug / add this feature" | 🎯 Targeted | Abbreviated audit, scoped work |
[1] Discover → Understand the project (audit existing code or gather requirements)
[2] Plan → Concrete task list with dependencies, risks, and done-criteria
[3] Build → Write or modify code (parallel sub-agents when platform supports it)
[4] Test → Run existing tests, write new ones, 70%+ coverage target
[5] Bug Hunt → Static analysis + manual review, fix all critical/warning bugs
[6] Polish → Lint, format, type check, remove dead code
[7] Document → README + inline docs (update existing, don't overwrite)
[8] Ship → Final checklist: tests green, no secrets, CI configured, clean checkout
- Strike 1: Fix the specific error. Run tests. Move on.
- Strike 2: Re-read the code. Try a different approach.
- Strike 3: STOP. Revert. Document what failed. Ask the user.
Code is never left in a broken state. Failing tests are never deleted to "pass".
On platforms that support sub-agents (OpenCode, Codex, Cursor), Squirrel decomposes work into independent units and spawns them in parallel using a structured delegation prompt:
TASK: [atomic goal]
CONTEXT: [relevant plan sections, shared types]
SCOPE: [files to modify, files NOT to touch]
DONE WHEN: [verifiable success criteria]
STYLE: [existing patterns to follow]
CONSTRAINTS: [what not to do]
Squirrel ships with supplementary references loaded on demand:
| File | Purpose |
|---|---|
references/plan_template.md |
Project plan template with risk matrix, task breakdown, progress log |
references/readme_template.md |
Production-grade README template with badges, quick start, config table |
references/stack_hints.md |
Common pitfalls and best practices for TS, Python, Go, Rust, React, REST, DB |
references/ci_templates.md |
GitHub Actions CI/CD for Node.js, Python, Go, Rust + npm/PyPI release workflows |
squirrel/
├── .all-contributorsrc # All Contributors config for README credits
├── .github/workflows/ci.yml # Smoke-test workflow for installer regressions
├── install.sh # One-liner installer with auto-detection
├── skills/
│ └── squirrel/
│ ├── SKILL.md # Main skill definition
│ └── references/
│ ├── ci_templates.md # CI/CD pipeline templates
│ ├── plan_template.md # Project plan template
│ ├── readme_template.md # README template
│ └── stack_hints.md # Language-specific best practices
└── tests/
└── installer_smoke_test.sh # Verifies installer output and doc slug consistency
- Fork the repo
- Create a branch:
git checkout -b feature/your-feature - Edit
skills/squirrel/SKILL.mdor add references inskills/squirrel/references/ - Test your changes on at least one supported platform
- Push and open a PR
- One file does everything.
SKILL.mdis the single source of truth. Reference files are supplementary, not required. - No platform assumptions. Every instruction must make sense on all 8 platforms. Platform-specific details go in the Platform Compatibility section only.
- Respect > Rewrite. The skill teaches the agent to respect existing code. The skill itself follows the same principle — extend, don't replace.
- Plain Markdown is portable. No proprietary syntax, no code-only constructs. Every AI agent reads Markdown.
This project follows the All Contributors specification. Contributions of any kind are welcome.
flyingsquirrel0419 💻 📖 |
Apache 2.0 © flying_squirrel__