Generate system specification documents from codebase analysis
Generates system specification YAML files by analyzing the codebase structure and components.
/plugin marketplace add codingawayy/cc-marketplace/plugin install specs@cc-marketplaceGenerate system specification YAML files by analyzing the codebase.
Read ~/.claude/plugins/cache/settings.json and get the pluginPath from the cc-specs-plugin entry.
If the file or entry is missing, tell the user: "Plugin not initialized. Please restart Claude Code to trigger plugin initialization."
Read the plugin folder (from pluginPath) to understand:
README.md - Documentation, examples, and conventionsschemas/ - Schema definitions for each spec typeExplore the codebase to discover what exists. Use TodoWrite to track discovered items by category.
DO NOT analyze:
docs.specs/.claude/, .git/, .github/, .rider/, .idea/, .vscode/node_modules/, dist/, build/, .svelte-kit/.gitignoreFor each discovered item, generate a YAML spec file following the schemas. Write all output to docs.specs/ with .yaml extension.
Rules:
Output structure:
docs.specs/
├── system.yaml
├── domain/
│ └── [entity]/
│ ├── [entity].yaml
│ └── actions/
│ └── [action].yaml
├── tasks/
│ └── [task].yaml
├── external-services/
│ └── [service].yaml
└── apps/
└── [app]/
└── [app].yaml
Report items documented by category and any items needing manual review.
/generateGenerate ready-to-execute hypershift cluster creation commands from natural language descriptions
/generateGenerate documentation from TypeScript/JavaScript code, OpenAPI specs, GraphQL schemas, and SpecWeave specifications.