@pimzino/claude-code-spec-workflow
Version:
Automated workflows for Claude Code. Includes spec-driven development (Requirements → Design → Tasks → Implementation) with intelligent orchestration, optional steering documents and streamlined bug fix workflow (Report → Analyze → Fix → Verify). We have
105 lines • 2.82 kB
TypeScript
export interface Task {
id: string;
description: string;
completed: boolean;
requirements: string[];
leverage?: string;
subtasks?: Task[];
}
export interface RequirementDetail {
id: string;
title: string;
userStory?: string;
acceptanceCriteria: string[];
}
export interface CodeReuseCategory {
title: string;
items: string[];
}
export interface SteeringStatus {
exists: boolean;
hasProduct: boolean;
hasTech: boolean;
hasStructure: boolean;
}
export interface Bug {
name: string;
displayName: string;
status: 'reported' | 'analyzing' | 'fixing' | 'verifying' | 'resolved';
report?: {
exists: boolean;
severity?: 'critical' | 'high' | 'medium' | 'low';
reproductionSteps?: string[];
expectedBehavior?: string;
actualBehavior?: string;
impact?: string;
};
analysis?: {
exists: boolean;
rootCause?: string;
proposedFix?: string;
filesAffected?: string[];
};
verification?: {
exists: boolean;
verified: boolean;
testsPassed?: boolean;
regressionChecks?: string[];
};
lastModified?: Date;
}
export interface Spec {
name: string;
displayName: string;
status: 'not-started' | 'requirements' | 'design' | 'tasks' | 'in-progress' | 'completed';
requirements?: {
exists: boolean;
userStories: number;
approved: boolean;
content?: RequirementDetail[];
};
design?: {
exists: boolean;
approved: boolean;
hasCodeReuseAnalysis: boolean;
codeReuseContent?: CodeReuseCategory[];
};
tasks?: {
exists: boolean;
approved: boolean;
total: number;
completed: number;
inProgress?: string;
taskList: Task[];
};
lastModified?: Date;
}
export declare class SpecParser {
private projectPath;
private specsPath;
private bugsPath;
private steeringLoader;
constructor(projectPath: string);
getProjectSteeringStatus(): Promise<SteeringStatus>;
getAllBugs(): Promise<Bug[]>;
getAllSpecs(): Promise<Spec[]>;
getSpec(name: string): Promise<Spec | null>;
getBug(name: string): Promise<Bug | null>;
private parseTasks;
private countCompletedTasks;
private countTotalTasks;
private findInProgressTask;
private formatDisplayName;
private extractRequirements;
private extractUserStories;
private extractCodeReuseAnalysis;
private fileExists;
private getSteeringStatus;
private extractBugSeverity;
private extractReproductionSteps;
private extractSection;
private extractFilesAffected;
private extractTestStatus;
private extractRegressionChecks;
}
//# sourceMappingURL=parser.d.ts.map