agentleFS
aneja5aneja5/forge-skills/skills/using-forge-skills/SKILL.md

using-forge-skills

Skill3 starsChanged 7 months agoMITView on GitHub

Use when starting a session, when you need to discover which forge skill applies to the current task, when uncertain which skill to invoke for a request, or when a session begins and the pipeline should be loaded.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before implementing anything non-trivial:

    line 95
  2. Distinctive:

    When you encounter inconsistencies: STOP.

    line 107
  3. Distinctive:

    Before finishing: Can this be done in fewer lines?

    line 115
  4. Distinctive:

    Every skill includes a verification checklist.

    line 123
  5. Distinctive:

    Check for an applicable skill before starting work — even a 1% chance.

    line 151
  6. Distinctive:

    When in doubt, start with a spec.

    line 154

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Using Forge Skills

Overview

Forge Skills is a planning-first engineering skill library. Skills encode structured workflows — not reference docs. This meta-skill maps your task to the right skill and explains the full .forge/ handoff chain.

Skill Discovery

Task arrives
    │
    ├── Raw idea, not yet pressure-tested? ────────→ idea-griller
    ├── Ready to write a spec/PRD? ────────────────→ spec-driven-development
    ├── Have prd.md, need architecture? ───────────→ architecture-and-contracts
    ├── Establishing brand foundations / voice? ───→ brand-and-identity
    ├── Design REST endpoints / API contracts? ────→ api-design
    ├── Schema / migrations / query design? ───────→ database-design
    ├── Establish design tokens / component lib? ──→ design-system
    ├── Modal vs sheet / expand vs nav decisions? ─→ interaction-patterns
    ├── Catalog components before a UI sprint? ────→ component-library
    ├── Define page templates + responsive plan? ──→ page-composition
    ├── Charts / dashboards / data displays? ──────→ data-visualization
    ├── Research competitors / positioning? ───────→ competitive-analysis
    ├── Will this scale / capacity planning? ──────→ scalability-analysis
    ├── Security / compliance / PII / SOC 2? ──────→ security-and-compliance
    ├── Go-to-market / how to sell this? ──────────→ gtm-strategy
    ├── Validate decisions / get external input? ──→ cross-validation
    ├── Have architecture, need tasks? ────────────→ planning-and-task-breakdown
    ├── 3+ independent tasks, run in parallel? ────→ parallel-execution-strategy
    ├── Need realistic demo / test data? ──────────→ seed-data-and-fixtures
    ├── Define test pyramid / coverage targets? ───→ testing-strategy
    ├── Have tasks.yaml, implementing? ────────────→ incremental-implementation
    │     └── Need test-first discipline? ──────────→ tdd
    ├── Error handling / retries / resilience? ────→ error-handling-and-resilience
    ├── Logging / monitoring / alerts? ────────────→ observability
    ├── Latency / cost / LLM budgets? ─────────────→ performance-and-cost-optimization
    ├── Outage / postmortem / runbook? ────────────→ incident-response-and-postmortems
    ├── Something broke or behaves wrong? ─────────→ debugging-and-recovery
    ├── Bug triage → GitHub issue + fix plan? ─────→ triage-issue
    ├── Code ready for review? ────────────────────→ code-review-and-quality
    ├── Tech debt / refactor / rewrite plan? ──────→ refactoring-and-tech-debt
    ├── WCAG / a11y / keyboard / screen reader? ───→ accessibility
    ├── UI quality pass before demo/ship? ─────────→ visual-polish
    ├── Doc rot / README / changelog discipline? ──→ documentation-hygiene
    ├── Sales / investor demo script? ─────────────→ demo-narrative
    ├── Committing / branching? ───────────────────→ git-workflow
    ├── Deploying or launching? ───────────────────→ shipping-and-launch
    ├── Redact / prepare for external sharing? ────→ redaction-and-cleanup
    ├── Creating or editing a forge-skill? ────────→ writing-skills
    ├── Upstream artifact changed — what's stale? ─→ forge-sync
    └── Stress-testing a design? ──────────────────→ (relentless questioning — ask one branch per turn)

The Forge Pipeline

/grill → /spec → /architect → /plan → /build → /review → /ship

Each stage consumes the previous stage's artifact. Join mid-pipeline if the artifact already exists. The full .forge/ artifact chain is in AGENTS.md (20+ artifacts; the design phase fans out across architecture, api-design, database-design, and the UI chain brand-and-identity → design-system → component-library → page-composition + data-visualization + interaction-patterns).

The UI skill chain runs in order: brand-and-identity → design-system → component-library → page-composition → data-visualization. visual-polish runs after /build, before /ship.

Agent Team

Thirteen specialist personas available via the Task tool or dispatch:

AgentFileWhen to invoke
Architectagents/architect.mdDesigning system structure, evaluating tech decisions
Platform Architectagents/platform-architect.mdMulti-product boundaries, shared vs forked decisions, deploy topology
Project Manageragents/project-manager.mdTask breakdown, dependency ordering, scope management
Test Engineeragents/test-engineer.mdTDD coaching, test quality review
Code Revieweragents/code-reviewer.mdPR review, contract validation, quality gates
Security Auditoragents/security-auditor.mdThreat modeling, input validation, hardening
Competitive Analystagents/competitive-analyst.mdCompetitor research, positioning
Compliance Officeragents/compliance-officer.mdRegulatory, privacy, certifications
Reliability Engineeragents/reliability-engineer.mdErrors, observability, incidents, performance
Data Engineeragents/data-engineer.mdSchema, migrations, query performance
QA Engineeragents/qa-engineer.mdTest strategy, quality gates
Design Engineeragents/design-engineer.mdVisual system, interaction, accessibility
Brand Strategistagents/brand-strategist.mdBrand identity, voice and tone, cross-product consistency

Core Operating Behaviors

Apply at all times, across all skills. Behaviors 1, 4, 5, and 6 are grounded in Andrej Karpathy's principles for LLM coding and his Agentic Engineering concept (Feb 2026).

1. Surface Assumptions (Karpathy: Think Before Coding)

Before implementing anything non-trivial:

ASSUMPTIONS I'M MAKING:
1. [about requirements]
2. [about architecture]
3. [about scope]
→ Correct me now or I'll proceed with these.

2. Manage Confusion Actively

When you encounter inconsistencies: STOP. Name the confusion. Present the tradeoff. Wait for resolution. Never silently pick one interpretation.

3. Push Back When Warranted

You are not a yes-machine. Name issues directly, explain concrete downside, propose an alternative, accept the human's decision if they override with full information.

4. Enforce Simplicity (Karpathy: Simplicity First)

Before finishing: Can this be done in fewer lines? Are these abstractions earning their complexity? Would a staff engineer say "why didn't you just..."?

5. Maintain Scope Discipline (Karpathy: Surgical Changes)

Touch only what you're asked to touch. Do NOT refactor adjacent code, add unasked features, delete code without approval, or remove comments you don't understand.

6. Verify, Don't Assume (Karpathy: Goal-Driven Execution)

Every skill includes a verification checklist. A task is not complete until verification passes. "It looks right" is not verification.

Full lifecycle (define → ship → operate → polish → share) and the complete .forge/ artifact chain are documented in AGENTS.md. Read it for cross-phase decisions.

Anti-Rationalization

ThoughtWhy it's wrong
"This is too simple for a skill"Simple tasks are where unchecked assumptions cause the most waste
"I'll gather context first, then check skills"Skills tell you HOW to gather context — check first
"I remember this skill"Skills evolve. Always read the current version.
"The brief/PRD is close enough"Missing artifacts break the handoff chain downstream
"I can skip architecture for a small feature"Contracts protect parallel workers — skip them and work diverges
"Tests can come after the implementation"Then they test implementation, not behavior
"I'll clean up the adjacent code while I'm here"Scope creep disguised as helpfulness

Red Flags

  • Starting implementation without a .forge/prd.md
  • Writing tests after all implementation code is done
  • Module list names files instead of behaviors
  • Contracts written at function-level instead of module-boundary level
  • Tasks in .forge/tasks.yaml that touch more than 2-3 modules
  • PR that touches files not listed in the task's file list
  • "Out of Scope" section in the PRD is empty

Skill Rules

  1. Check for an applicable skill before starting work — even a 1% chance.
  2. Skills are workflows, not suggestions. Follow steps in order.
  3. Multiple skills can apply — use the lifecycle sequence to choose order.
  4. When in doubt, start with a spec.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.