Skip to content

Convert SpecForge into an agent skillset with CI - #1

Merged
cadic merged 5 commits into
trunkfrom
feat/agent-skillset
Jun 29, 2026
Merged

Convert SpecForge into an agent skillset with CI#1
cadic merged 5 commits into
trunkfrom
feat/agent-skillset

Conversation

@cadic

@cadic cadic commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

Converts SpecForge from loose markdown prompts/templates into a SKILL.md-based agent skillset, and adds CI.

  • specforge orchestrator — 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 + seed 01-problem-statement.md, refuses overwrite)
    • sf-status.sh (filesystem-derived phase: setup / explore / spec / execute)
    • sf-validate.sh (placeholder / empty-cell / empty-item checker)
  • Three prose stage skillsspecforge-explore, specforge-spec (+ 04 template), specforge-execute.
  • State lives in the project at docs/specforge/<task-slug>/, overridable via .specforge.json (task_root).
  • Distribution via the cross-agent npx skills add cadic/specforge CLI (auto-discovers skills/), with manual copy as a zero-dependency fallback. No installer shipped.
  • Removed the migrated legacy root files (01-, 04-, prompt-*, AGENTS.example.md).

Testing

  • bats-core suite — 25 tests, all passing locally.
  • New GitHub Actions workflow (.github/workflows/test.yml) runs the suite on every PR and on push to trunk.

cadic added 4 commits June 29, 2026 07:26
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
cadic force-pushed the feat/agent-skillset branch from bff4ad8 to 8bd5823 Compare June 29, 2026 05:07
@cadic cadic self-assigned this Jun 29, 2026
@cadic
cadic merged commit 0c0d951 into trunk Jun 29, 2026
1 check passed
@cadic
cadic deleted the feat/agent-skillset branch June 29, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant