-
Notifications
You must be signed in to change notification settings - Fork 49
Add spec-kit templates, directory structure, and dispatcher workflow #5777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Create .specify/templates/ directory - Add spec-template.md from spec-kit (adapted for gh-aw) - Add plan-template.md from spec-kit (adapted for gh-aw) - Add tasks-template.md from spec-kit (adapted for gh-aw) - Create .specify/specs/ directory with .gitkeep - All scripts already in place and executable - Constitution already exists and properly configured Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Update plan-template.md to use Go 1.25 (current version) - Update tasks-template.md to clarify Go test conventions (*_test.go) - Address code review feedback Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot create a copilot custom agent (.agent.md) that is prompted to dispatch work to the known spec kit commands in the repo (plan, ...). Create an agentic workflow that imports that agent and responds to the "/speckit" command on issues/issue comments |
- Create speckit-dispatcher.agent.md for spec-kit command routing - Create speckit-dispatcher.md workflow responding to /speckit command - Agent understands user intent and dispatches to appropriate commands - Workflow provides guidance on spec-driven development workflow - Supports all spec-kit commands: specify, plan, tasks, implement, etc. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Created the spec-kit dispatcher system in commit 0199cce: Custom Agent:
Agentic Workflow:
Usage Examples:
The workflow is compiled and ready to use! |
- Use find with -exec for safer file reading - Handle cases where no spec files exist - Address code review feedback on bash command robustness Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Spec-kit uses root specs/ directory, not .specify/specs/ - Remove .specify/specs/.gitkeep that was incorrectly created - The scripts and workflows correctly reference specs/ at repo root Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Initializes
.specify/with templates and directory structure for spec-driven development workflow. Scripts already existed and were executable; this adds the missing template files they reference. Additionally creates a spec-kit command dispatcher system to help users navigate the workflow.Changes
Templates created (
spec-template.md,plan-template.md,tasks-template.md)cmd/gh-aw/,pkg/structure, co-located*_test.gofiles.specify/scripts/bash/already reference these paths ($REPO_ROOT/.specify/templates/)Directory structure
.specify/templates/- Houses the three template filesSpec-kit dispatcher system (NEW)
.github/agents/speckit-dispatcher.agent.md- Custom agent for routing spec-kit commands.github/workflows/speckit-dispatcher.md- Agentic workflow responding to/speckitcommandTemplate adaptations
plan-template.md: Go 1.25, Cobra CLI, gh-aw constitution checks (test-driven, console formatting, workflow compilation)
tasks-template.md: Go test conventions noted (
*_test.goco-located with source, not separatetests/dir)Constitution and bash scripts were already in place and functional.
Spec-kit dispatcher usage
Users can now type
/speckit <request>on any issue or PR comment:/speckit I want to add user authentication→ Guides to/speckit.specifywith example/speckit what's next?→ Analyzes current state and suggests next command/speckit help→ Shows overview of available commandsThe dispatcher checks repository state, understands user intent, and provides specific guidance with command examples.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.