add GitHub-integrated feature workflow commands and bump version to 1.1.25
This commit introduces a comprehensive feature management workflow that integrates with GitHub Issues and Projects for better task tracking and team collaboration. ## New Commands Added - `/publish-to-github`: Publishes features from /specs to GitHub by: - Creating an Epic issue with full requirements - Creating individual task issues for each implementation step - Setting up a GitHub Project board linked to the repository - Creating labels for organization (epic, feature/*, phase-*) - Generating a github.md reference file in the specs folder - `/continue-feature`: Implements the next available task by: - Querying open issues for the feature - Checking task dependencies to find unblocked work - Updating GitHub Project board status (In Progress -> Done) - Adding implementation details as issue comments - Providing fallback to implementation-plan.md when offline ## Updated Commands - `/create-feature`: Enhanced with clearer structure including: - Detailed implementation plan format template - Requirements for atomic, agent-implementable tasks - Guidance on next steps after feature creation - Better documentation for the /specs folder structure ## Package Updates - Bumped version from 1.1.24 to 1.1.25 All changes are mirrored in both the root .claude/commands/ folder and the create-agentic-app/template/.claude/commands/ folder to ensure new projects created with the CLI have access to these workflows. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,89 @@
|
||||
---
|
||||
description: create feature
|
||||
description: Create a new feature with requirements and implementation plan
|
||||
---
|
||||
|
||||
# Given the above conversation:
|
||||
# Create Feature
|
||||
|
||||
- Store the requirements and implementation plan in /specs. Create a new sub folder for this feature. The implementation plan should be split into phases with actionable tasks for each phase. Each tasks should have a checkbox so we can keep track of our progress - example [ ] Task description.
|
||||
This command creates a new feature specification folder with requirements and implementation plan documents.
|
||||
|
||||
- Exclude unit and e2e testing from the implementation plan, UNLESS the user clearly asks for it to be included.
|
||||
## Instructions
|
||||
|
||||
- IF no conversation exists and the implementation plan is not clear, then ask the user what the requirements are first and then create the spec sub-folder, requirements and implementation plan .md files.
|
||||
### Given the above conversation:
|
||||
|
||||
1. **Create feature folder**
|
||||
- Store the requirements and implementation plan in `/specs`
|
||||
- Create a new subfolder for this feature using kebab-case (e.g., `add-auth`)
|
||||
|
||||
2. **Create requirements.md**
|
||||
- Document what the feature does and why
|
||||
- Include acceptance criteria
|
||||
- Reference any related features or dependencies
|
||||
|
||||
3. **Create implementation-plan.md**
|
||||
- Split the implementation into phases
|
||||
- Create actionable tasks for each phase
|
||||
- Each task should have a checkbox: `[ ] Task description`
|
||||
- Tasks should be specific enough for an agent to implement independently
|
||||
- Include dependencies between tasks where relevant
|
||||
|
||||
4. **Exclude testing tasks**
|
||||
- Do NOT include unit or e2e testing tasks
|
||||
- UNLESS the user explicitly asks for testing to be included
|
||||
|
||||
### If no conversation exists:
|
||||
|
||||
Ask the user what the requirements are first, then create the spec subfolder with:
|
||||
|
||||
- `requirements.md`
|
||||
- `implementation-plan.md`
|
||||
|
||||
## Implementation Plan Format
|
||||
|
||||
Use this structure for `implementation-plan.md`:
|
||||
|
||||
```markdown
|
||||
# Implementation Plan: {Feature Name}
|
||||
|
||||
## Overview
|
||||
|
||||
Brief summary of what will be built.
|
||||
|
||||
## Phase 1: {Phase Name}
|
||||
|
||||
{Brief description of this phase's goal}
|
||||
|
||||
### Tasks
|
||||
|
||||
- [ ] Task 1 description
|
||||
- [ ] Task 2 description (depends on Task 1)
|
||||
- [ ] Task 3 description
|
||||
|
||||
## Phase 2: {Phase Name}
|
||||
|
||||
{Brief description}
|
||||
|
||||
### Tasks
|
||||
|
||||
- [ ] Task 4 description (depends on Phase 1)
|
||||
- [ ] Task 5 description
|
||||
...
|
||||
```
|
||||
|
||||
## Next Steps
|
||||
|
||||
After creating the feature, inform the user:
|
||||
|
||||
> Feature specification created at `specs/{feature-name}/`
|
||||
>
|
||||
> **Next steps:**
|
||||
>
|
||||
> 1. Review the requirements and implementation plan
|
||||
> 2. Run `/publish-to-github` to create GitHub issues and project
|
||||
> 3. Use `/continue-feature` or drag the folder into a conversation to start implementing
|
||||
|
||||
## Notes
|
||||
|
||||
- Keep tasks atomic - each should be implementable in a single session
|
||||
- Tasks should produce working, testable code when complete
|
||||
- Use clear, descriptive task names that explain what will be done
|
||||
- Note dependencies explicitly when tasks must be done in order
|
||||
|
||||
Reference in New Issue
Block a user