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.
In this repository62 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentforge-a2aSkill
- agentforge-browser-toolingSkill
- agentforge-channel-adaptersSkill
- agentforge-cliSkill
- agentforge-convexSkill
- agentforge-dashboardSkill
- agentforge-mcp-integrationSkill
- agentforge-research-orchestratorSkill
- agentforge-runtime-daemonSkill
- agentforge-sandbox-executionSkill
- agentforgeSkill
- agentforge-skills-marketplaceSkill
- agentforge-template-syncSkill
- agentforge-testingSkill
- convex-advisorSkill
- convex-auth-setupSkill
- convex-best-practicesSkill
- convex-component-authoringSkill
- convex-components-guideSkill
- convex-cron-jobsSkill
- convex-file-storageSkill
- convex-function-creatorSkill
- convex-helpers-guideSkill
- convex-http-actionsSkill
- convex-mcp-setupSkill
- convex-migration-helperSkill
- convex-quickstartSkill
- convex-realtimeSkill
- convex-reviewerSkill
- convex-schema-builderSkill
- convex-security-auditSkill
- convex-security-checkSkill
- convexSkill
- mastraSkill
- specsafeSkill
- specSkill
- validateSkill
- working-with-sqliteSkill
- agentforge-convexSkill
- gh-workflowSkill
- spec-createSkill
- specsafe-agentforgeSkill
- specsafe-doneSkill
- specsafe-exploreSkill
- specsafe-newSkill
- specsafeSkill
- specsafe-specSkill
- specsafe-test-applySkill
- specsafe-test-createSkill
- specsafe-verifySkill
- specSkill
- template-sync-checkSkill
- validateSkill
- working-with-sqliteSkill
- agentforge-convexSkill
- browser-automationSkill
- example-skillSkill
- skill-creatorSkill
- The first 60 shown.
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
- Very specific: line 8
Use this skill for any meaningful feature work in AgentForge.
- Distinctive: line 14
Read these files in order before taking any action:
- Distinctive: line 43
Use this index to find the prompt file and sub-skill for the current work:
- Very specific: line 72
Do not skip stages. Update the spec file header and PROJECT_STATE.md before ending the session after any stage change.
- Distinctive: line 79
Do not write production code without a spec.
- Distinctive: line 80
Keep the current slice narrow.
- Very specific: line 81
Verify Mastra and Convex behavior against official docs (see docs/SOURCE_OF_TRUTH.md) before implementation.
- Very specific: line 82
Do not use upstream specsafe status, specsafe list, specsafe qa, or specsafe done as authoritative lifecycle operations in this repo.
- Very specific: line 83
If the active spec has no ## 6.5 Current Focus, call that out before starting implementation.
- Distinctive: line 84
If documentation or status files were not read, stop and read them before continuing.
≈ “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.
Files
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:
| # | File | Why |
| 1 | AGENTS.md | agent config, runtime constraints |
| 2 | PROJECT_STATE.md | canonical active spec and stage |
| 3 | docs/SPECSAFE_WORKFLOW.md | full stage definitions and stage commands |
| 4 | docs/PRE_SPEC_CHECKLIST.md | required checks before opening a new spec |
| 5 | docs/SOURCE_OF_TRUTH.md | authoritative external doc URLs (Mastra, Convex, LibSQL, Drizzle) |
| 6 | docs/SKILLS.md | available skills and when to use them |
| 7 | docs/AI_OPERATIONS.md | agent operating rules and tool restrictions |
| 8 | active spec in specs/active/ | requirements, scope, and ## 6.5 Current Focus |
Then run:
pnpm spec:statusFrom this, determine:
- the active spec ID
- the current stage (
SPEC,TEST,CODE,QA,COMPLETE,ARCHIVED) - the exact next step from
## 6.5 Current Focusin the active spec, if present - whether
PROJECT_STATE.mdand 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:
| Stage | When to Use | Prompt Files | Sub-Skill |
| session start | start of any session | — | agentforge-session-start |
| SPEC | creating or refining a spec | prompts/planner.md, prompts/spec-writer.md | specsafe-spec-start |
| TEST | writing tests from the spec | prompts/test-designer.md | specsafe-test-create |
| CODE | implementing the slice | prompts/implementer.md | specsafe-implement |
| QA / REVIEW | reviewing and verifying | prompts/reviewer.md, prompts/security-reviewer.md | specsafe-review |
| COMPLETE | completing and archiving | prompts/reviewer.md, prompts/docs-curator.md | specsafe-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 → ARCHIVEDStage 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 changeDo 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, orspecsafe doneas authoritative lifecycle operations in this repo. Usepnpm 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.
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
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.

