owflow 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +8 -1
  2. package/dist/agents/bottleneck-analyzer.md +329 -0
  3. package/dist/agents/code-quality-pragmatist.md +354 -0
  4. package/dist/agents/code-reviewer.md +239 -0
  5. package/dist/agents/codebase-analysis-reporter.md +246 -0
  6. package/dist/agents/docs-operator.md +23 -0
  7. package/dist/agents/e2e-test-verifier.md +448 -0
  8. package/dist/agents/gap-analyzer.md +502 -0
  9. package/dist/agents/implementation-completeness-checker.md +220 -0
  10. package/dist/agents/implementation-planner.md +309 -0
  11. package/dist/agents/information-gatherer.md +691 -0
  12. package/dist/agents/production-readiness-checker.md +279 -0
  13. package/dist/agents/project-analyzer.md +404 -0
  14. package/dist/agents/reality-assessor.md +366 -0
  15. package/dist/agents/research-planner.md +447 -0
  16. package/dist/agents/research-synthesizer.md +401 -0
  17. package/dist/agents/solution-brainstormer.md +257 -0
  18. package/dist/agents/solution-designer.md +372 -0
  19. package/dist/agents/spec-auditor.md +298 -0
  20. package/dist/agents/specification-creator.md +334 -0
  21. package/dist/agents/task-classifier.md +462 -0
  22. package/dist/agents/task-group-implementer.md +284 -0
  23. package/dist/agents/test-suite-runner.md +195 -0
  24. package/dist/agents/ui-mockup-generator.md +369 -0
  25. package/dist/agents/user-docs-generator.md +509 -0
  26. package/dist/commands/development.md +37 -0
  27. package/dist/commands/flow-init.md +37 -0
  28. package/dist/commands/migration.md +37 -0
  29. package/dist/commands/performance.md +37 -0
  30. package/dist/commands/product-design.md +37 -0
  31. package/dist/commands/quick-bugfix.md +37 -0
  32. package/dist/commands/quick-dev.md +140 -0
  33. package/dist/commands/quick-plan.md +132 -0
  34. package/dist/commands/research.md +37 -0
  35. package/dist/commands/reviews-code.md +90 -0
  36. package/dist/commands/reviews-pragmatic.md +99 -0
  37. package/dist/commands/reviews-production-readiness.md +113 -0
  38. package/dist/commands/reviews-reality-check.md +110 -0
  39. package/dist/commands/reviews-spec-audit.md +114 -0
  40. package/dist/commands/standards-discover.md +37 -0
  41. package/dist/commands/standards-update.md +37 -0
  42. package/dist/commands/work.md +284 -0
  43. package/dist/skills/codebase-analyzer/SKILL.md +162 -0
  44. package/dist/skills/codebase-analyzer/references/code-analysis.md +63 -0
  45. package/dist/skills/codebase-analyzer/references/combined.md +31 -0
  46. package/dist/skills/codebase-analyzer/references/context-discovery.md +63 -0
  47. package/dist/skills/codebase-analyzer/references/file-discovery.md +51 -0
  48. package/dist/skills/codebase-analyzer/references/migration-target.md +23 -0
  49. package/dist/skills/codebase-analyzer/references/pattern-mining.md +22 -0
  50. package/dist/skills/development/SKILL.md +669 -0
  51. package/dist/skills/docs-manager/SKILL.md +379 -0
  52. package/dist/skills/docs-manager/docs/INDEX.md +199 -0
  53. package/dist/skills/docs-manager/docs/standards/backend/api.md +25 -0
  54. package/dist/skills/docs-manager/docs/standards/backend/migrations.md +22 -0
  55. package/dist/skills/docs-manager/docs/standards/backend/models.md +25 -0
  56. package/dist/skills/docs-manager/docs/standards/backend/queries.md +22 -0
  57. package/dist/skills/docs-manager/docs/standards/frontend/accessibility.md +25 -0
  58. package/dist/skills/docs-manager/docs/standards/frontend/components.md +28 -0
  59. package/dist/skills/docs-manager/docs/standards/frontend/css.md +16 -0
  60. package/dist/skills/docs-manager/docs/standards/frontend/responsive.md +28 -0
  61. package/dist/skills/docs-manager/docs/standards/global/coding-style.md +25 -0
  62. package/dist/skills/docs-manager/docs/standards/global/commenting.md +10 -0
  63. package/dist/skills/docs-manager/docs/standards/global/conventions.md +31 -0
  64. package/dist/skills/docs-manager/docs/standards/global/error-handling.md +22 -0
  65. package/dist/skills/docs-manager/docs/standards/global/minimal-implementation.md +22 -0
  66. package/dist/skills/docs-manager/docs/standards/global/validation.md +28 -0
  67. package/dist/skills/docs-manager/docs/standards/testing/test-writing.md +25 -0
  68. package/dist/skills/docs-manager/references/claude-md-template.md +29 -0
  69. package/dist/skills/docs-manager/references/index-md-template.md +73 -0
  70. package/dist/skills/flow-init/SKILL.md +198 -0
  71. package/dist/skills/flow-init/references/architecture-template.md +45 -0
  72. package/dist/skills/flow-init/references/roadmap-templates.md +93 -0
  73. package/dist/skills/flow-init/references/tech-stack-template.md +70 -0
  74. package/dist/skills/flow-init/references/vision-templates.md +75 -0
  75. package/dist/skills/implementation-plan-executor/SKILL.md +378 -0
  76. package/dist/skills/implementation-verifier/SKILL.md +307 -0
  77. package/dist/skills/migration/SKILL.md +380 -0
  78. package/dist/skills/migration/references/migration-strategies.md +397 -0
  79. package/dist/skills/migration/references/migration-types.md +437 -0
  80. package/dist/skills/orchestrator-framework/SKILL.md +65 -0
  81. package/dist/skills/orchestrator-framework/references/orchestrator-creation-checklist.md +47 -0
  82. package/dist/skills/orchestrator-framework/references/orchestrator-patterns.md +329 -0
  83. package/dist/skills/performance/SKILL.md +418 -0
  84. package/dist/skills/performance/references/performance-optimization-guide.md +365 -0
  85. package/dist/skills/product-design/SKILL.md +843 -0
  86. package/dist/skills/product-design/references/characteristic-detection.md +92 -0
  87. package/dist/skills/product-design/references/interaction-patterns.md +206 -0
  88. package/dist/skills/product-design/references/visual-companion.md +190 -0
  89. package/dist/skills/product-design/server/index.ts +359 -0
  90. package/dist/skills/product-design/server/template.html +256 -0
  91. package/dist/skills/quick-bugfix/SKILL.md +241 -0
  92. package/dist/skills/research/SKILL.md +493 -0
  93. package/dist/skills/research/references/brainstorming-techniques.md +84 -0
  94. package/dist/skills/research/references/design-techniques.md +40 -0
  95. package/dist/skills/research/references/research-methodologies.md +710 -0
  96. package/dist/skills/standards-discover/SKILL.md +236 -0
  97. package/dist/skills/standards-discover/references/aggregation-strategy.md +76 -0
  98. package/dist/skills/standards-discover/references/code-pattern-prompt.md +68 -0
  99. package/dist/skills/standards-discover/references/config-analyzer-prompt.md +67 -0
  100. package/dist/skills/standards-discover/references/docs-extractor-prompt.md +65 -0
  101. package/dist/skills/standards-discover/references/external-analyzer-prompt.md +75 -0
  102. package/dist/skills/standards-update/SKILL.md +159 -0
  103. package/package.json +14 -6
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: quick-bugfix
3
+ description: Quick bug fix with TDD red/green gates and complexity escalation
4
+ argument-hint: "[bug description]"
5
+ generated-from-skill: true
6
+ ---
7
+
8
+ CRITICAL INSTRUCTION: You MUST invoke the quick-bugfix skill immediately as your FIRST action.
9
+
10
+ Use the Skill tool with these exact parameters:
11
+ name: "quick-bugfix"
12
+ prompt: "$ARGUMENTS"
13
+
14
+ DO NOT:
15
+
16
+ - Analyze the task before invoking the skill
17
+ - Decide the task is "straightforward" and skip the skill
18
+ - Substitute your own approach or workflow
19
+ - Execute any part of the workflow yourself
20
+
21
+ WHY: The user explicitly chose this workflow by using /quick-bugfix.
22
+ Invoke the skill now and let it orchestrate the complete workflow.
23
+
24
+ ---
25
+
26
+ ## About This Workflow
27
+
28
+ Quick bug fix with TDD red/green gates and complexity escalation
29
+
30
+ The skill handles:
31
+
32
+ - Task directory creation and state management
33
+ - Phase execution with interactive gates
34
+ - Subagent delegation for specialized work
35
+ - Pause/resume capability
36
+
37
+ See `skills/quick-bugfix/SKILL.md` for complete workflow documentation.
@@ -0,0 +1,140 @@
1
+ ---
2
+ name: quick-dev
3
+ description: Implement task directly with AI SDLC standards awareness (no planning mode)
4
+ ---
5
+
6
+ # Quick Development with Standards Awareness
7
+
8
+ Implement a task directly without entering planning mode, while still applying project standards from `.owflow/docs/`.
9
+
10
+ ## Usage
11
+
12
+ ```bash
13
+ /quick-dev [task description]
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ```bash
19
+ /quick-dev "Add a logout button to the navbar"
20
+ /quick-dev "Fix the typo in the error message"
21
+ /quick-dev "Update the API endpoint to accept JSON"
22
+ ```
23
+
24
+ ---
25
+
26
+ ## When to Use
27
+
28
+ **Use `/quick-dev` when:**
29
+
30
+ - Task is clear and well-defined
31
+ - You know what needs to be done
32
+ - No architectural decisions needed
33
+ - Quick fixes, small features, or straightforward changes
34
+
35
+ **Use `/quick-plan` instead when:**
36
+
37
+ - Task scope is uncertain
38
+ - Multiple implementation approaches possible
39
+ - Architectural decisions required
40
+ - You want user approval before coding
41
+
42
+ ---
43
+
44
+ ## Workflow
45
+
46
+ ### Step 1: Parse Input
47
+
48
+ **Get the task description:**
49
+
50
+ - If provided as argument, use it directly
51
+ - If not provided, use question to prompt:
52
+ ```
53
+ "What would you like to implement? Please describe the task."
54
+ ```
55
+
56
+ ### Step 2: Discover Standards
57
+
58
+ **Check if `.owflow/docs/INDEX.md` exists:**
59
+
60
+ **If exists:**
61
+
62
+ 1. Read INDEX.md to discover available documentation and standards
63
+ 2. Identify which standards are relevant based on:
64
+ - The categories and files listed in INDEX.md
65
+ - The nature of the task
66
+ - Keywords in the task description
67
+ 3. **READ the applicable standard files** (see Standards Reading Enforcement below)
68
+
69
+ **If not exists:**
70
+
71
+ - Note that no standards are available
72
+ - Suggest running `/flow-init` in completion message
73
+
74
+ ### Standards Reading Enforcement (MANDATORY)
75
+
76
+ **BLOCKING**: Reading INDEX.md alone is NOT sufficient. You MUST read actual standard files.
77
+
78
+ **Enforcement Process**:
79
+
80
+ 1. Read INDEX.md to discover available standards
81
+ 2. Identify which standards apply based on task description
82
+ 3. **READ each applicable standard file** using Read tool (not just note it exists)
83
+ 4. Apply standards during implementation
84
+ 5. List applied standards in completion summary
85
+
86
+ **Examples of standard discovery**:
87
+
88
+ - Task mentions "upload" → Read file-handling standards
89
+ - Task mentions "form" → Read validation and accessibility standards
90
+ - Task mentions "API" → Read api and error-handling standards
91
+
92
+ ### Step 3: Implement with Standards
93
+
94
+ **MANDATORY**: During implementation:
95
+
96
+ 1. Explore the codebase to understand context (using Glob, Grep, Read)
97
+ 2. **Apply discovered standards** - Reference the standard files you read
98
+ 3. For each code change, verify it follows applicable standards
99
+ 4. If you encounter new areas while coding (e.g., auth, database), read applicable standards before proceeding
100
+ 5. Make the necessary code changes
101
+ 6. Run relevant tests if applicable
102
+
103
+ ### Step 4: Verify Standards Compliance
104
+
105
+ **After implementation, verify:**
106
+
107
+ 1. Review changes against applicable standards
108
+ 2. Confirm key guidelines were followed
109
+ 3. Note any standards that were applied
110
+
111
+ ### Step 5: Summary
112
+
113
+ **Provide completion summary:**
114
+
115
+ - What was implemented
116
+ - Which standards from INDEX.md were applied
117
+ - Any tests run and their results
118
+ - Suggestions for follow-up (if any)
119
+
120
+ ---
121
+
122
+ ## What This Does
123
+
124
+ 1. **Parses** task description from user input
125
+ 2. **Discovers** applicable standards from `.owflow/docs/INDEX.md`
126
+ 3. **READS** actual standard files (MANDATORY - not just INDEX.md)
127
+ 4. **Implements** directly without planning mode approval
128
+ 5. **Verifies** standards were followed
129
+ 6. **Summarizes** what was done and which standards were read and applied
130
+
131
+ ## Graceful Fallback
132
+
133
+ **If `.owflow/docs/` does not exist:**
134
+
135
+ Proceed with implementation normally, then note:
136
+
137
+ ```
138
+ "No AI SDLC standards found. Consider running `/flow-init` to initialize
139
+ project documentation and coding standards for better consistency."
140
+ ```
@@ -0,0 +1,132 @@
1
+ ---
2
+ name: quick-plan
3
+ description: Enter planning mode with AI SDLC standards awareness
4
+ ---
5
+
6
+ # Planning Mode with Standards Awareness
7
+
8
+ Enter Claude Code's planning mode for a task, with automatic discovery of project standards from `.owflow/docs/`.
9
+
10
+ ## Usage
11
+
12
+ ```bash
13
+ /quick-plan [task description]
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ```bash
19
+ /quick-plan "Add user authentication with email/password"
20
+ /quick-plan "Refactor the payment processing module"
21
+ /quick-plan
22
+ ```
23
+
24
+ ---
25
+
26
+ ## Workflow
27
+
28
+ ### Step 1: Parse Input
29
+
30
+ **Get the task description:**
31
+
32
+ - If provided as argument, use it directly
33
+ - If not provided, use question to prompt:
34
+ ```
35
+ "What would you like to plan? Please describe the task or feature."
36
+ ```
37
+
38
+ ### Step 2: Discover and Read Standards (BEFORE Plan Mode)
39
+
40
+ **CRITICAL: This step MUST complete before calling EnterPlanMode.**
41
+
42
+ 1. **Check if `.owflow/docs/INDEX.md` exists**
43
+ - **If not exists**: Note that no standards are available, skip to Step 3
44
+ - **If exists**: Continue with discovery below
45
+
46
+ 2. **Read INDEX.md** to understand available standards and documentation
47
+
48
+ 3. **Identify applicable standards** based on:
49
+ - The categories and files listed in INDEX.md
50
+ - The nature of the task being planned
51
+ - Keywords and patterns in the task description (e.g., "API" → api standards, "form" → validation standards, "upload" → file-handling standards)
52
+
53
+ 4. **READ the actual standard files** using the Read tool — reading INDEX.md alone is NOT sufficient
54
+
55
+ 5. **Summarize key guidelines** from each standard file read — these will carry into plan mode as context
56
+
57
+ ### Step 3: Enter Planning Mode
58
+
59
+ **Use the `EnterPlanMode` tool to trigger Claude Code's builtin planning mode.**
60
+
61
+ **Standards context from Step 2 MUST actively inform all plan mode phases:**
62
+
63
+ - **Phase 1 (Explore)**: When launching Explore agents, include in the prompt: "The following project standards apply to this task: [list standard files and key guidelines from Step 2]. Verify how the existing codebase follows these standards."
64
+ - **Phase 2 (Plan)**: When launching Plan agents, include in the prompt: "Apply these project standards in your implementation plan: [list standard files and key guidelines from Step 2]. Each implementation step must conform to these standards."
65
+ - **Phase 4 (Final Plan)**: The plan file must incorporate standards into the implementation steps themselves, not just list them in a separate section.
66
+
67
+ The planning mode will:
68
+
69
+ 1. Launch Explore agents to understand the codebase (with standards context)
70
+ 2. Launch Plan agents to design implementation approach (with standards constraints)
71
+ 3. Review and verify alignment with user intent
72
+ 4. Write final plan to plan file (with standards woven into steps)
73
+ 5. Call ExitPlanMode for user approval (gated on mandatory standards sections)
74
+
75
+ ### ExitPlanMode Gate: Mandatory Standards Sections
76
+
77
+ **BLOCKING: Do NOT call `ExitPlanMode` until the plan file contains these sections:**
78
+
79
+ 1. **"## Applicable Standards"** — list each standard file that was read, with key guidelines extracted from each. If no standards exist, state: "No AI SDLC standards found. Consider running `/flow-init`."
80
+
81
+ 2. **"## Standards Compliance Checklist"** — checkboxes for each applicable standard guideline that implementation must follow. Example:
82
+ ```markdown
83
+ - [ ] API endpoints follow REST naming conventions (from `standards/backend/api.md`)
84
+ - [ ] Error responses use standard error format (from `standards/backend/api.md`)
85
+ - [ ] New components use TypeScript strict mode (from `standards/frontend/components.md`)
86
+ ```
87
+
88
+ If these sections are missing from the plan file, add them before calling ExitPlanMode.
89
+
90
+ ### Graceful Fallback
91
+
92
+ **If `.owflow/docs/` does not exist:**
93
+
94
+ Continue with planning mode normally. The "Applicable Standards" section in the plan should note:
95
+
96
+ ```
97
+ No AI SDLC standards found. Consider running `/flow-init` to initialize
98
+ project documentation and coding standards for better consistency.
99
+ ```
100
+
101
+ ## What This Does
102
+
103
+ 1. **Parses** task description from user input
104
+ 2. **Discovers and READS** applicable standard files from `.owflow/docs/` (BEFORE plan mode)
105
+ 3. **Enters** Claude Code's builtin planning mode via `EnterPlanMode` with standards already loaded
106
+ 4. **Produces** a plan file with implementation approach, applicable standards, and compliance checklist
107
+ 5. **Gates** ExitPlanMode on mandatory standards sections in the plan file
108
+
109
+ ## Benefits Over Manual Planning
110
+
111
+ - Automatic standards discovery and integration
112
+ - Standards read BEFORE planning begins (not as an afterthought)
113
+ - Plan file for review before implementation
114
+ - Standards compliance checklist built into the plan
115
+
116
+ ## After Planning
117
+
118
+ Once the plan is approved:
119
+
120
+ - Implementation begins based on the plan
121
+ - Standards are applied during coding
122
+
123
+ ## Post-Implementation Verification
124
+
125
+ After implementation is complete, verify standards compliance using the checklist from the plan:
126
+
127
+ 1. **Review the "Standards Compliance Checklist"** in the plan file
128
+ 2. **For each checklist item**: verify implementation follows the guideline
129
+ 3. **Document verification results** (pass/fail for each item)
130
+ 4. **Address any violations** before marking task complete
131
+
132
+ This ensures the discovered standards are actually enforced, not just documented.
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: research
3
+ description: Orchestrates comprehensive research workflows from question definition through findings documentation. Handles technical, requirements, literature, and mixed research types with adaptive methodology, multi-source gathering, pattern synthesis, and evidence-based reporting. Supports standalone research tasks and embedded research phase in other workflows.
4
+ argument-hint: [task description]
5
+ generated-from-skill: true
6
+ ---
7
+
8
+ CRITICAL INSTRUCTION: You MUST invoke the research skill immediately as your FIRST action.
9
+
10
+ Use the Skill tool with these exact parameters:
11
+ name: "research"
12
+ prompt: "$ARGUMENTS"
13
+
14
+ DO NOT:
15
+
16
+ - Analyze the task before invoking the skill
17
+ - Decide the task is "straightforward" and skip the skill
18
+ - Substitute your own approach or workflow
19
+ - Execute any part of the workflow yourself
20
+
21
+ WHY: The user explicitly chose this workflow by using /research.
22
+ Invoke the skill now and let it orchestrate the complete workflow.
23
+
24
+ ---
25
+
26
+ ## About This Workflow
27
+
28
+ Orchestrates comprehensive research workflows from question definition through findings documentation. Handles technical, requirements, literature, and mixed research types with adaptive methodology, multi-source gathering, pattern synthesis, and evidence-based reporting. Supports standalone research tasks and embedded research phase in other workflows.
29
+
30
+ The skill handles:
31
+
32
+ - Task directory creation and state management
33
+ - Phase execution with interactive gates
34
+ - Subagent delegation for specialized work
35
+ - Pause/resume capability
36
+
37
+ See `skills/research/SKILL.md` for complete workflow documentation.
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: reviews-code
3
+ description: Run automated code quality, security, and performance analysis on your code
4
+ ---
5
+
6
+ **ACTION REQUIRED**: This command delegates to a subagent. The `<command-name>` tag refers to THIS command, not the target. Invoke the code-reviewer subagent via the Task tool NOW. Pass path and scope arguments. Do not read files, explore code, or execute workflow steps yourself.
7
+
8
+ You are running a comprehensive code review using the `code-reviewer` subagent.
9
+
10
+ ## Your Task
11
+
12
+ You are performing automated code analysis to identify quality, security, and performance issues.
13
+
14
+ ## Parse User Request
15
+
16
+ **Determine the following from the user's request:**
17
+
18
+ 1. **Path to analyze**:
19
+ - If provided: Use the specified path
20
+ - If not provided: Use question to ask what to analyze
21
+
22
+ 2. **Analysis scope**:
23
+ - If `--scope=quality`: Only code quality analysis
24
+ - If `--scope=security`: Only security analysis
25
+ - If `--scope=performance`: Only performance analysis
26
+ - If `--scope=all` or no scope: Complete analysis (recommended)
27
+
28
+ ## Your Instructions
29
+
30
+ **Invoke the code-reviewer subagent NOW using the Task tool:**
31
+
32
+ ```
33
+ Use Task tool:
34
+ subagent_type: "code-reviewer"
35
+ description: "Code quality review"
36
+ prompt: |
37
+ Analyze code at: [path from user or from question]
38
+ Scope: [quality|security|performance|all]
39
+ Report path: [path]/code-review-report.md
40
+ ```
41
+
42
+ **Wait for the subagent to complete before proceeding.**
43
+
44
+ The code-reviewer subagent will:
45
+
46
+ 1. Analyze code for complexity, duplication, and code smells
47
+ 2. Detect security vulnerabilities and hardcoded secrets
48
+ 3. Identify performance issues (N+1 queries, missing indexes, caching opportunities)
49
+ 4. Generate comprehensive report with findings categorized by severity
50
+ 5. Provide actionable recommendations with code examples
51
+
52
+ ## Examples
53
+
54
+ **Example 1**: Review specific task
55
+
56
+ ```
57
+ User: /reviews-code .owflow/tasks/development/2025-10-24-auth/
58
+ ```
59
+
60
+ **Example 2**: Review with specific scope
61
+
62
+ ```
63
+ User: /reviews-code src/api/ --scope=security
64
+ ```
65
+
66
+ **Example 3**: Review entire project
67
+
68
+ ```
69
+ User: /reviews-code src/
70
+ ```
71
+
72
+ ## What to Expect
73
+
74
+ The code-reviewer will provide:
75
+
76
+ - Summary of issues found (critical, warnings, info)
77
+ - Detailed findings with file locations and line numbers
78
+ - Code examples showing issues and fixes
79
+ - Metrics on code quality, security, and performance
80
+ - Prioritized recommendations
81
+ - Go/no-go assessment for code review
82
+
83
+ ## Notes
84
+
85
+ - This is analysis only - no code will be modified
86
+ - Focus on actionable findings
87
+ - Severity levels guide prioritization:
88
+ - **Critical**: Must fix before production
89
+ - **Warning**: Should fix before merge
90
+ - **Info**: Nice to have improvements
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: reviews-pragmatic
3
+ description: Run pragmatic code review to detect over-engineering and ensure code matches project scale
4
+ ---
5
+
6
+ **ACTION REQUIRED**: This command delegates to a different skill. The `<command-name>` tag refers to THIS command, not the target. Call the Task tool with subagent_type="code-quality-pragmatist" NOW. Pass the path to analyze in the prompt. Do not read files, explore code, or execute workflow steps yourself.
7
+
8
+ You are running a pragmatic code review using the `code-quality-pragmatist` agent.
9
+
10
+ ## Your Task
11
+
12
+ You are performing pragmatic analysis to identify over-engineering, unnecessary complexity, and developer experience issues.
13
+
14
+ ## Parse User Request
15
+
16
+ **Determine the following from the user's request:**
17
+
18
+ 1. **Path to analyze**:
19
+ - If provided: Use the specified path
20
+ - If not provided: Use question to ask what to analyze (file, directory, or task path)
21
+
22
+ ## Your Instructions
23
+
24
+ **Invoke the code-quality-pragmatist agent NOW using the Task tool:**
25
+
26
+ ```
27
+ Task Tool:
28
+ - subagent_type: code-quality-pragmatist
29
+ - description: Pragmatic code review
30
+ - prompt: |
31
+ You are the code-quality-pragmatist agent. Review the code at: [path]
32
+
33
+ Your task:
34
+ 1. Assess overall complexity relative to project scale (check .owflow/docs/project/ for scale)
35
+ 2. Detect over-engineering patterns (infrastructure overkill, excessive abstraction, enterprise patterns in simple code)
36
+ 3. Assess developer experience (setup complexity, feedback loops, error messages, consistency)
37
+ 4. Verify requirements alignment (if spec.md available, compare implementation to requirements)
38
+ 5. Recommend specific simplifications with before/after examples
39
+ 6. Prioritize top 3 changes with highest impact
40
+
41
+ Generate comprehensive pragmatic review report.
42
+ Save to: verification/pragmatic-review.md
43
+
44
+ Focus on: Simple solutions for simple problems. Code should match project needs, not theoretical best practices.
45
+ ```
46
+
47
+ **Wait for the agent to complete before proceeding.**
48
+
49
+ The code-quality-pragmatist agent will:
50
+
51
+ 1. Assess complexity relative to project scale (MVP vs Enterprise)
52
+ 2. Detect over-engineering (Redis in MVP, excessive layers, premature optimization)
53
+ 3. Identify developer experience friction points
54
+ 4. Compare implementation to requirements (if spec available)
55
+ 5. Recommend concrete simplifications with impact estimates
56
+ 6. Provide top 3 priority actions
57
+
58
+ ## Examples
59
+
60
+ **Example 1**: Review specific feature
61
+
62
+ ```
63
+ User: /reviews-pragmatic .owflow/tasks/development/2025-11-17-user-management/
64
+ ```
65
+
66
+ **Example 2**: Review source directory
67
+
68
+ ```
69
+ User: /reviews-pragmatic src/features/payments/
70
+ ```
71
+
72
+ **Example 3**: Review specific file
73
+
74
+ ```
75
+ User: /reviews-pragmatic src/services/cache-service.ts
76
+ ```
77
+
78
+ ## What to Expect
79
+
80
+ The code-quality-pragmatist will provide:
81
+
82
+ - Complexity assessment (Low/Medium/High) relative to project scale
83
+ - Over-engineering patterns with severity (Critical/High/Medium/Low)
84
+ - Developer experience issues and friction points
85
+ - Requirements alignment assessment
86
+ - Concrete simplification recommendations with before/after examples
87
+ - Top 3 priority actions with estimated impact
88
+ - Summary statistics (LOC reduction potential, dependencies removable)
89
+
90
+ ## Notes
91
+
92
+ - This is analysis only - no code will be modified
93
+ - Focus on pragmatism: appropriate complexity for actual needs
94
+ - Identifies unnecessary infrastructure, abstractions, and patterns
95
+ - Severity levels guide prioritization:
96
+ - **Critical**: Severe over-engineering blocking development
97
+ - **High**: Significant unnecessary complexity
98
+ - **Medium**: Moderate complexity issues
99
+ - **Low**: Minor improvements
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: reviews-production-readiness
3
+ description: Verify production deployment readiness with comprehensive checks
4
+ ---
5
+
6
+ **ACTION REQUIRED**: This command delegates to a subagent. The `<command-name>` tag refers to THIS command, not the target. Invoke the production-readiness-checker subagent via the Task tool NOW. Pass path and target arguments. Do not read files, explore code, or execute workflow steps yourself.
7
+
8
+ You are verifying production deployment readiness using the `production-readiness-checker` subagent.
9
+
10
+ ## Your Task
11
+
12
+ You are performing comprehensive production readiness analysis covering configuration, monitoring, error handling, performance, security, and deployment considerations.
13
+
14
+ ## Parse User Request
15
+
16
+ **Determine the following from the user's request:**
17
+
18
+ 1. **Path to analyze**:
19
+ - If provided: Use the specified path
20
+ - If not provided: Use question to ask what to check
21
+
22
+ 2. **Target environment**:
23
+ - If `--target=prod`: Full production checks (recommended)
24
+ - If `--target=staging`: Relaxed staging checks
25
+ - If not specified: Assume production (full rigor)
26
+
27
+ ## Your Instructions
28
+
29
+ **Invoke the production-readiness-checker subagent NOW using the Task tool:**
30
+
31
+ ```
32
+ Use Task tool:
33
+ subagent_type: "production-readiness-checker"
34
+ description: "Production readiness check"
35
+ prompt: |
36
+ Verify production readiness at: [path from user or from question]
37
+ Target: [production|staging]
38
+ Report path: [path]/production-readiness-report.md
39
+ ```
40
+
41
+ **Wait for the subagent to complete before proceeding.**
42
+
43
+ The production-readiness-checker subagent will:
44
+
45
+ 1. Verify configuration management (env vars, secrets, feature flags)
46
+ 2. Check monitoring & observability (logging, metrics, error tracking, health checks)
47
+ 3. Assess error handling & resilience (retries, circuit breakers, graceful shutdown)
48
+ 4. Evaluate performance & scalability (connection pooling, caching, rate limiting)
49
+ 5. Review security hardening (HTTPS, CORS, security headers, vulnerabilities)
50
+ 6. Analyze deployment considerations (migrations, zero-downtime, rollback plan)
51
+ 7. Generate go/no-go deployment recommendation
52
+
53
+ ## Examples
54
+
55
+ **Example 1**: Check specific task for production
56
+
57
+ ```
58
+ User: /reviews-production-readiness .owflow/tasks/development/2025-10-24-payment-api/
59
+ ```
60
+
61
+ **Example 2**: Check feature for staging
62
+
63
+ ```
64
+ User: /reviews-production-readiness src/features/notifications/ --target=staging
65
+ ```
66
+
67
+ **Example 3**: Comprehensive project check
68
+
69
+ ```
70
+ User: /reviews-production-readiness .
71
+ ```
72
+
73
+ ## What to Expect
74
+
75
+ The production-readiness-checker will provide:
76
+
77
+ - Overall readiness score and status (Ready / Concerns / Not Ready)
78
+ - Clear GO/NO-GO deployment decision
79
+ - Category scores (Configuration, Monitoring, Error Handling, Performance, Security, Deployment)
80
+ - Deployment blockers that must be fixed
81
+ - Concerns with mitigation plans
82
+ - Recommendations for improvements
83
+ - Risk assessment and rollback criteria
84
+ - Post-deployment verification checklist
85
+
86
+ ## Deployment Decision Outcomes
87
+
88
+ **Ready to Deploy**:
89
+
90
+ - All critical checks passed
91
+ - Low risk deployment
92
+ - Optional improvements listed
93
+
94
+ **Deploy with Caution**:
95
+
96
+ - No blockers but concerns exist
97
+ - Mitigation plan required
98
+ - Close monitoring needed
99
+ - Medium risk
100
+
101
+ **Do Not Deploy**:
102
+
103
+ - Critical issues present
104
+ - High/critical risk
105
+ - Must fix before deployment
106
+
107
+ ## Notes
108
+
109
+ - This is verification only - no code will be modified
110
+ - Production checks are more rigorous than staging
111
+ - Focus on required items first (deployment blockers)
112
+ - Strongly recommended items should be addressed or have mitigation plan
113
+ - Nice to have items can be addressed post-deployment