agentleFS
Agentic-Engineering-AgencyAgentic-Engineering-Agency/agentforge/.agents/skills/specsafe-agentforge/SKILL.md

specsafe-agentforge

Skill4 starsChanged 9 months agoApache-2.0Archived repositoryView on GitHub

Repository-specific SpecSafe workflow for AgentForge. Use when creating, refining, testing, implementing, or reviewing AgentForge specs so work follows the documented SpecSafe stages, prompt files, and source-of-truth rules consistently.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill for any meaningful feature work in AgentForge.

    line 8
  2. Distinctive:

    Read these files in order before taking any action:

    line 14
  3. Distinctive:

    Use this index to find the prompt file and sub-skill for the current work:

    line 43
  4. Very specific:

    Do not skip stages. Update the spec file header and PROJECT_STATE.md before ending the session after any stage change.

    line 72
  5. Distinctive:

    Do not write production code without a spec.

    line 79
  6. Distinctive:

    Keep the current slice narrow.

    line 80
  7. Very specific:

    Verify Mastra and Convex behavior against official docs (see docs/SOURCE_OF_TRUTH.md) before implementation.

    line 81
  8. Very specific:

    Do not use upstream specsafe status, specsafe list, specsafe qa, or specsafe done as authoritative lifecycle operations in this repo.

    line 82
  9. Very specific:

    If the active spec has no ## 6.5 Current Focus, call that out before starting implementation.

    line 83
  10. Distinctive:

    If documentation or status files were not read, stop and read them before continuing.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

SpecSafe for AgentForge

Use this skill for any meaningful feature work in AgentForge. It is the single entry point for the full SpecSafe lifecycle.


Step 1 — Retrieve Project Context

Read these files in order before taking any action:

#FileWhy
1AGENTS.mdagent config, runtime constraints
2PROJECT_STATE.mdcanonical active spec and stage
3docs/SPECSAFE_WORKFLOW.mdfull stage definitions and stage commands
4docs/PRE_SPEC_CHECKLIST.mdrequired checks before opening a new spec
5docs/SOURCE_OF_TRUTH.mdauthoritative external doc URLs (Mastra, Convex, LibSQL, Drizzle)
6docs/SKILLS.mdavailable skills and when to use them
7docs/AI_OPERATIONS.mdagent operating rules and tool restrictions
8active spec in specs/active/requirements, scope, and ## 6.5 Current Focus

Then run:

pnpm spec:status

From this, determine:

  • the active spec ID
  • the current stage (SPEC, TEST, CODE, QA, COMPLETE, ARCHIVED)
  • the exact next step from ## 6.5 Current Focus in the active spec, if present
  • whether PROJECT_STATE.md and the spec header agree — fix or flag any mismatch

Step 2 — Choose the Right Stage

Use this index to find the prompt file and sub-skill for the current work:

StageWhen to UsePrompt FilesSub-Skill
session startstart of any session—agentforge-session-start
SPECcreating or refining a specprompts/planner.md, prompts/spec-writer.mdspecsafe-spec-start
TESTwriting tests from the specprompts/test-designer.mdspecsafe-test-create
CODEimplementing the sliceprompts/implementer.mdspecsafe-implement
QA / REVIEWreviewing and verifyingprompts/reviewer.md, prompts/security-reviewer.mdspecsafe-review
COMPLETEcompleting and archivingprompts/reviewer.md, prompts/docs-curator.mdspecsafe-complete

Load the prompt file for the active stage before doing work. The sub-skill provides detailed step-by-step instructions for that stage.


Step 3 — Move Through Stages in Order

SPEC → TEST → CODE → QA → COMPLETE → ARCHIVED

Stage advancement commands:

pnpm spec:stage <SPEC-ID> <STAGE>   # advance a spec to the next stage
pnpm spec:sync                      # sync PROJECT_STATE.md from spec files
pnpm spec:status                    # verify current state after any stage change

Do not skip stages. Update the spec file header and PROJECT_STATE.md before ending the session after any stage change.


Rules

  • One active implementation spec at a time. Do not open overlapping implementation specs without explicit ownership.
  • Do not write production code without a spec.
  • Keep the current slice narrow. Be explicit about out-of-scope items.
  • Verify Mastra and Convex behavior against official docs (see docs/SOURCE_OF_TRUTH.md) before implementation.
  • Do not use upstream specsafe status, specsafe list, specsafe qa, or specsafe done as authoritative lifecycle operations in this repo. Use pnpm spec:* commands instead.
  • If the active spec has no ## 6.5 Current Focus, call that out before starting implementation.
  • If documentation or status files were not read, stop and read them before continuing.

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.