Generate workflow documentation from SOW file. Creates organized project documentation with BDD features, API specs, database schemas.
Generates comprehensive workflow documentation from SOW files with BDD features, API specs, and database schemas.
/plugin marketplace add deepaktiwari09/dt-workspace-plugin/plugin install dt-workspace@dt-workspace-marketplace[sow-file] [--preset <preset>]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.