Forge has no automated test suite — the skills are prompt templates, not executable code. Validation is manual.
Before committing a new or modified skill, verify:
- YAML frontmatter has
nameanddescription -
namematches the directory name (e.g.,forge-setup-projectinskills/forge-setup-project/) - All sections follow the standard order (see Coding Guidelines)
- "Related Skills" section references the correct next step or follow-up skill in the workflow
- Workflow order is consistent:
forge-setup-project→ [forge-brainstorm→]forge-create-issue→forge-implement→forge-reflect→forge-address-pr-feedback
Every gh and git command in a skill should be valid:
# Verify gh commands parse correctly (--help won't execute but validates syntax)
gh issue create --help
gh api graphql --help
gh pr create --helpFor GraphQL queries in forge-address-pr-feedback, verify the query structure against the GitHub GraphQL API docs.
The most reliable test is running the skill on a real project:
- Open a compatible coding agent in a test repository
- Invoke the skill with
/forge-<skill-name> - Walk through the full process
- Verify all generated output (issues, branches, PRs, files) is correct
After modifying any shared convention, grep across all relevant skills to ensure consistency:
# Check commit format references
grep -rn "type.*scope.*description" skills/
# Check workflow order
grep -rn "forge-create-issue\|forge-implement\|forge-reflect\|forge-address-pr-feedback\|forge-setup-project" skills/
# Check guidance file references
grep -rn "AGENTS.md\|CLAUDE.md" skills/
# Check trailing context syntax in structured-input skills
grep -rn "additional context\|-- <additional context>" \
skills/forge-setup-project \
skills/forge-brainstorm \
skills/forge-implement \
skills/forge-reflect \
skills/forge-address-pr-feedback