/tsh-plan
Agent: Architect
File: .github/prompts/tsh-plan.prompt.md
Creates a detailed, phased implementation plan from the research context.
Usage
/tsh-plan <JIRA_ID or task description>
What It Does
- Analyzes context — Reviews the
.research.mdfile and cross-checks with best practices. - Analyzes tech stack — Identifies domain-specific best practices.
- Verifies current implementation — Searches the codebase for existing components, functions, and utilities related to the feature.
- Understands project standards — Reviews
*.instructions.mdfiles. - Prepares implementation plan — Creates detailed phases with code changes.
- Defines tasks — Each task has a clear title, description, action type (
[CREATE]/[MODIFY]/[REUSE]), and definition of done checklist. - Addresses security — Includes security considerations.
- Defines testing — Guidelines for validation.
- Controls scope — Only plans changes for THIS task; documents improvements separately.
Skills Loaded
tsh-architecture-designing— Architecture design process and plan template.tsh-codebase-analysing— Analyze existing codebase.tsh-implementation-gap-analysing— Verify what exists vs what needs to be built.tsh-technical-context-discovering— Understand project conventions and patterns.tsh-sql-and-database-understanding— When the feature involves database changes.
Output
A .plan.md file placed in specifications/<task-name>/:
specifications/
user-authentication/
user-authentication.research.md
user-authentication.plan.md ← new
The plan includes checklist-style phases, tasks with [CREATE]/[MODIFY]/[REUSE] action types, acceptance criteria, security considerations, and testing guidelines.
tip
Review the plan thoroughly. Confirm scope, phases, and acceptance criteria before starting implementation.