/dt-workspace:scaffold [sow-file] [--preset <preset>]from dt-workspace
Generate workflow documentation from SOW file. Creates organized project documentation with BDD features, API specs, database schemas.
Ships in dt-workspace. Installing the plugin adds it to Claude Code.
Generate comprehensive workflow documentation from a Statement of Work (SOW) document.
.dt-workspace config file must exist (run /dt-workspace:init first)Read .dt-workspace config file. If not found, instruct user to run init first.
Read the SOW file and extract structured module definitions:
{
"projectName": "From SOW",
"platforms": ["web-application", "mobile-app"],
"modules": [
{
"id": "module-id",
"name": "Module Name",
"platform": "web-application",
"description": "Description",
"features": ["feature-1", "feature-2"],
"services": ["service-name"],
"databases": ["PostgreSQL"],
"kafkaTopics": ["topic.name"],
"websocketEvents": ["event.name"],
"awsServices": ["S3"]
}
]
}
For each platform and module, create:
<output>/
├── README.md # Main index with all modules
├── <platform>/
│ ├── timeline.md # Platform development timeline
│ └── <module-id>/
│ ├── README.md # Module overview
│ ├── user-flows/ # User journey scenarios
│ │ ├── index.md
│ │ └── <feature>.md
│ ├── technical-specs.md
│ ├── api-contracts.md
│ ├── database-schema.md
│ ├── [preset-specific].md # realtime-events, etc.
│ ├── security-specs.md
│ ├── testing-strategy.md
│ ├── error-handling.md
│ └── features/
│ └── <feature>.feature
For each document, generate content based on preset templates with placeholders:
[To be documented] for sections needing AI completionUpdate .dt-workspace with generated paths:
{
"lastGenerated": "<ISO timestamp>",
"generatedPaths": {
"platforms": {
"web-application": {
"path": "./workflows/web-application",
"modules": [
{"id": "module-id", "name": "Module Name", "path": "./workflows/web-application/module-id"}
]
}
}
}
}
GENERATION COMPLETE
Project: <name>
Preset: <preset>
Location: <output>
Modules: X
Files: Y
Directories: Z
Next steps:
1. Review generated files
2. Run /dt-workspace:populate to fill placeholders
3. Update BDD scenarios with specific test cases
Based on selected preset, generate appropriate documents. See skill references for preset details.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub deepaktiwari09/dt-workspace-plugin --plugin dt-workspace8 commands in this plugin
/cleanClean Generated DocumentationDelete generated documentation and reset config. Removes output directory and clears generatedPaths./diagramGenerate ER DiagramsGenerate ER diagrams from database schemas. Creates Mermaid, PlantUML, or ASCII diagrams./exportExport TemplatesExport built-in templates for customization. Creates .dt-templates directory with Handlebars templates.Other plugins' commands for the same job