mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
feat: add templates for architecture documents, epics, product briefs, and requirements PRD
- Introduced architecture document template for Phase 4, including structure and individual ADR records. - Added epics & stories template for Phase 5, detailing epic breakdown and dependencies. - Created product brief template for Phase 2, summarizing product vision, problem statement, and target users. - Developed requirements PRD template for Phase 3, outlining functional and non-functional requirements with traceability. - Implemented spec command for project spec management with subcommands for loading, listing, rebuilding, and initializing specs.
This commit is contained in:
@@ -12,6 +12,7 @@ import { cliCommand } from './commands/cli.js';
|
||||
import { memoryCommand } from './commands/memory.js';
|
||||
import { coreMemoryCommand } from './commands/core-memory.js';
|
||||
import { hookCommand } from './commands/hook.js';
|
||||
import { specCommand } from './commands/spec.js';
|
||||
import { issueCommand } from './commands/issue.js';
|
||||
import { workflowCommand } from './commands/workflow.js';
|
||||
import { loopCommand } from './commands/loop.js';
|
||||
@@ -297,6 +298,16 @@ export function run(argv: string[]): void {
|
||||
.option('--limit <n>', 'Max entries to return (for project-state)')
|
||||
.action((subcommand, args, options) => hookCommand(subcommand, args, options));
|
||||
|
||||
// Spec command - Project spec management (load/list/rebuild/status/init)
|
||||
program
|
||||
.command('spec [subcommand] [args...]')
|
||||
.description('Project spec management for conventions and guidelines')
|
||||
.option('--dimension <dim>', 'Target dimension: specs, roadmap, changelog, personal')
|
||||
.option('--context <text>', 'Context text for keyword extraction (CLI mode)')
|
||||
.option('--stdin', 'Read input from stdin (Hook mode)')
|
||||
.option('--json', 'Output as JSON')
|
||||
.action((subcommand, args, options) => specCommand(subcommand, args, options));
|
||||
|
||||
// Issue command - Issue lifecycle management with JSONL task tracking
|
||||
program
|
||||
.command('issue [subcommand] [args...]')
|
||||
|
||||
Reference in New Issue
Block a user