| name | draft-issue |
|---|---|
| description | Draft GitHub issues for liftcoach repo |
Create GitHub issues for the tomkis/liftcoach repository.
-
Start with user's vague problem - e.g. "build new workout tracking engine"
-
Explore codebase for context:
- Search relevant code, configs, tests
- Understand current implementation
- Identify what's missing/broken
-
Ask clarifying questions based on findings:
- Expected vs actual behavior?
- What triggers it?
- Error messages?
- For features: desired outcome?
-
Synthesize into structured issue:
- Clear actionable title
- Problem statement with codebase context
- Steps to reproduce (bugs)
- Acceptance criteria (features)
-
Check for duplicates:
gh issue list --repo tomkis/liftcoach --search "<keywords>"Show matches, ask to proceed.
-
Suggest labels:
- bug →
bug - feature →
enhancement - chore →
chore
- bug →
-
Ask for assignee (suggest the current authenticated user by running
gh api user -q .login) -
Show full issue for approval - render complete issue as markdown:
# Title [body content] --- Labels: x, y Assignee: username
Ask user to confirm or request changes.
-
Create issue (after approval):
gh issue create --repo tomkis/liftcoach \ --title "Title" \ --body "Body" \ --label "labels" \ --assignee "username"
-
Return issue URL.