Convert SpecForge into an agent skillset with CI - #1
Merged
Conversation
Restructure the loose markdown prompts/templates into a SKILL.md-based agent skillset: a `specforge` orchestrator (four bash helpers for scaffolding, phase detection, and validation) plus three prose stage skills (specforge-explore, specforge-spec, specforge-execute). State lives in docs/specforge/<task-slug>/ artifacts; distribution is via the cross-agent `npx skills add` CLI. - Add bats-core test suite (25 tests) for the bash helpers - Add GitHub Actions workflow to run tests on every PR - Rewrite README for the skillset + install instructions - Add docs/writing-agents-md-for-specforge.md - Remove migrated legacy prompts/templates from repo root
cadic
force-pushed
the
feat/agent-skillset
branch
from
June 29, 2026 05:07
bff4ad8 to
8bd5823
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts SpecForge from loose markdown prompts/templates into a
SKILL.md-based agent skillset, and adds CI.specforgeorchestrator — owns all deterministic logic via four POSIX/BSD-compatible bash helpers:_lib.sh(repo-root, task-root, task-dir, placeholder helpers)sf-init.sh(scaffold task dir + seed01-problem-statement.md, refuses overwrite)sf-status.sh(filesystem-derived phase:setup/explore/spec/execute)sf-validate.sh(placeholder / empty-cell / empty-item checker)specforge-explore,specforge-spec(+04template),specforge-execute.docs/specforge/<task-slug>/, overridable via.specforge.json(task_root).npx skills add cadic/specforgeCLI (auto-discoversskills/), with manual copy as a zero-dependency fallback. No installer shipped.01-,04-,prompt-*,AGENTS.example.md).Testing
bats-coresuite — 25 tests, all passing locally..github/workflows/test.yml) runs the suite on every PR and on push totrunk.