Skip to content

[plan] Add spec-kit integration documentation and examples #5771

@github-actions

Description

@github-actions

Objective

Create comprehensive documentation for the spec-kit integration and provide example specifications that demonstrate the workflow.

Context

Users need to understand how to use spec-kit with gh-aw, including:

  • How to create specifications
  • How to write implementation plans
  • How to define task breakdowns
  • How the automated execution works
  • Best practices and examples

Implementation Steps

  1. Create documentation file docs/src/content/docs/guides/spec-kit-integration.md:

    • Overview of Spec-Driven Development with gh-aw
    • Directory structure explanation
    • Step-by-step guide to creating a specification
    • How the automated workflow works
    • Troubleshooting common issues
  2. Create example specification in .specify/specs/example-feature/:

    • spec.md - Complete feature specification
    • plan.md - Technical implementation plan
    • tasks.md - Task breakdown
    • README explaining the example
  3. Update main README.md:

    • Add section on Spec-Driven Development
    • Link to spec-kit integration documentation
    • Mention the automated execution workflow
  4. Update AGENTS.md:

    • Add spec-kit section to agent instructions
    • Reference .specify/ directory structure
    • Add guidelines for working with specifications
  5. Create tutorial/walkthrough:

    • Step-by-step guide creating a real feature
    • Show how to write constitution principles
    • Demonstrate specification creation
    • Show task breakdown and execution
    • Explain validation and testing

Files to Create/Modify

  • Create: docs/src/content/docs/guides/spec-kit-integration.md
  • Create: .specify/specs/example-feature/spec.md
  • Create: .specify/specs/example-feature/plan.md
  • Create: .specify/specs/example-feature/tasks.md
  • Create: .specify/specs/example-feature/README.md
  • Modify: README.md (add spec-kit section)
  • Modify: AGENTS.md (add spec-kit guidance)

Documentation Outline

spec-kit-integration.md Structure

# Spec-Kit Integration with gh-aw

## What is Spec-Driven Development?

## Getting Started with Spec-Kit

## Directory Structure

## Creating a Specification
- Writing spec.md
- Constitution principles
- User stories and requirements

## Creating an Implementation Plan
- Writing plan.md
- Technical decisions
- Architecture and design

## Task Breakdown
- Writing tasks.md
- Dependency management
- Parallel execution

## Automated Execution
- How the workflow works
- Monitoring execution
- Handling failures

## Best Practices

## Troubleshooting

## Examples

Acceptance Criteria

  • Documentation is comprehensive and clear
  • Example specification is complete and realistic
  • README.md references spec-kit integration
  • AGENTS.md includes spec-kit guidance
  • Tutorial walks through complete workflow
  • Documentation follows Diátaxis framework
  • Code examples are tested and working
  • Links to external spec-kit resources are included

References

AI generated by Plan Command for #5761

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions