@onion-ai/cli 1.0.0-beta.1
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.
- package/LICENSE +21 -0
- package/README.md +529 -0
- package/bin/onion.js +6 -0
- package/framework/CLAUDE.md +45 -0
- package/framework/VERSION +1 -0
- package/framework/agents/compliance/iso-22301-specialist.md +985 -0
- package/framework/agents/compliance/iso-27001-specialist.md +713 -0
- package/framework/agents/compliance/pmbok-specialist.md +739 -0
- package/framework/agents/compliance/security-information-master.md +907 -0
- package/framework/agents/compliance/soc2-specialist.md +889 -0
- package/framework/agents/deployment/docker-specialist.md +1192 -0
- package/framework/agents/development/c4-architecture-specialist.md +745 -0
- package/framework/agents/development/c4-documentation-specialist.md +695 -0
- package/framework/agents/development/clickup-specialist.md +396 -0
- package/framework/agents/development/cursor-specialist.md +277 -0
- package/framework/agents/development/docs-reverse-engineer.md +417 -0
- package/framework/agents/development/gamma-api-specialist.md +1168 -0
- package/framework/agents/development/gitflow-specialist.md +1206 -0
- package/framework/agents/development/linux-security-specialist.md +675 -0
- package/framework/agents/development/mermaid-specialist.md +515 -0
- package/framework/agents/development/nodejs-specialist.md +672 -0
- package/framework/agents/development/nx-migration-specialist.md +866 -0
- package/framework/agents/development/nx-monorepo-specialist.md +618 -0
- package/framework/agents/development/postgres-specialist.md +1123 -0
- package/framework/agents/development/react-developer.md +131 -0
- package/framework/agents/development/runflow-specialist.md +277 -0
- package/framework/agents/development/system-documentation-orchestrator.md +1387 -0
- package/framework/agents/development/task-specialist.md +677 -0
- package/framework/agents/git/branch-code-reviewer.md +225 -0
- package/framework/agents/git/branch-documentation-writer.md +161 -0
- package/framework/agents/git/branch-metaspec-checker.md +67 -0
- package/framework/agents/git/branch-test-planner.md +176 -0
- package/framework/agents/meta/agent-creator-specialist.md +1266 -0
- package/framework/agents/meta/command-creator-specialist.md +1676 -0
- package/framework/agents/meta/metaspec-gate-keeper.md +240 -0
- package/framework/agents/meta/onion.md +824 -0
- package/framework/agents/product/branding-positioning-specialist.md +1029 -0
- package/framework/agents/product/extract-meeting-specialist.md +394 -0
- package/framework/agents/product/meeting-consolidator.md +482 -0
- package/framework/agents/product/pain-price-specialist.md +508 -0
- package/framework/agents/product/presentation-orchestrator.md +1190 -0
- package/framework/agents/product/product-agent.md +201 -0
- package/framework/agents/product/story-points-framework-specialist.md +538 -0
- package/framework/agents/product/storytelling-business-specialist.md +890 -0
- package/framework/agents/research/research-agent.md +292 -0
- package/framework/agents/review/code-reviewer.md +154 -0
- package/framework/agents/review/corporate-compliance-specialist.md +370 -0
- package/framework/agents/testing/test-agent.md +424 -0
- package/framework/agents/testing/test-engineer.md +294 -0
- package/framework/agents/testing/test-planner.md +117 -0
- package/framework/commands/common/prompts/README.md +208 -0
- package/framework/commands/common/prompts/clickup-patterns.md +144 -0
- package/framework/commands/common/prompts/code-review-checklist.md +168 -0
- package/framework/commands/common/prompts/git-workflow-patterns.md +235 -0
- package/framework/commands/common/prompts/output-formats.md +240 -0
- package/framework/commands/common/prompts/technical.md +194 -0
- package/framework/commands/common/templates/abstraction-template.md +399 -0
- package/framework/commands/common/templates/agent-template.md +353 -0
- package/framework/commands/common/templates/business_context_template.md +748 -0
- package/framework/commands/common/templates/command-template.md +273 -0
- package/framework/commands/common/templates/technical_context_template.md +526 -0
- package/framework/commands/design/screen-spec.md +505 -0
- package/framework/commands/development/runflow-dev.md +465 -0
- package/framework/commands/docs/build-business-docs.md +299 -0
- package/framework/commands/docs/build-compliance-docs.md +143 -0
- package/framework/commands/docs/build-index.md +119 -0
- package/framework/commands/docs/build-tech-docs.md +221 -0
- package/framework/commands/docs/docs-health.md +141 -0
- package/framework/commands/docs/help.md +278 -0
- package/framework/commands/docs/refine-vision.md +25 -0
- package/framework/commands/docs/reverse-consolidate.md +158 -0
- package/framework/commands/docs/sync-sessions.md +354 -0
- package/framework/commands/docs/validate-docs.md +157 -0
- package/framework/commands/engineer/bump.md +29 -0
- package/framework/commands/engineer/docs.md +11 -0
- package/framework/commands/engineer/hotfix.md +183 -0
- package/framework/commands/engineer/plan.md +85 -0
- package/framework/commands/engineer/pr-update.md +219 -0
- package/framework/commands/engineer/pr.md +117 -0
- package/framework/commands/engineer/pre-pr.md +81 -0
- package/framework/commands/engineer/start.md +254 -0
- package/framework/commands/engineer/validate-phase-sync.md +134 -0
- package/framework/commands/engineer/warm-up.md +20 -0
- package/framework/commands/engineer/work.md +155 -0
- package/framework/commands/f/company-context-extractor.md +93 -0
- package/framework/commands/f/process-meetings.md +103 -0
- package/framework/commands/git/README.md +682 -0
- package/framework/commands/git/code-review.md +213 -0
- package/framework/commands/git/fast-commit.md +43 -0
- package/framework/commands/git/feature/finish.md +88 -0
- package/framework/commands/git/feature/publish.md +89 -0
- package/framework/commands/git/feature/start.md +172 -0
- package/framework/commands/git/help.md +100 -0
- package/framework/commands/git/hotfix/finish.md +96 -0
- package/framework/commands/git/hotfix/start.md +92 -0
- package/framework/commands/git/init.md +111 -0
- package/framework/commands/git/release/finish.md +96 -0
- package/framework/commands/git/release/start.md +93 -0
- package/framework/commands/git/sync.md +199 -0
- package/framework/commands/meta/all-tools.md +58 -0
- package/framework/commands/meta/analyze-complex-problem.md +186 -0
- package/framework/commands/meta/create-abstraction.md +882 -0
- package/framework/commands/meta/create-agent-express.md +98 -0
- package/framework/commands/meta/create-agent.md +210 -0
- package/framework/commands/meta/create-command.md +203 -0
- package/framework/commands/meta/create-knowledge-base.md +143 -0
- package/framework/commands/meta/create-task-structure.md +150 -0
- package/framework/commands/meta/setup-integration.md +274 -0
- package/framework/commands/onion.md +169 -0
- package/framework/commands/product/README.md +249 -0
- package/framework/commands/product/analyze-pain-price.md +694 -0
- package/framework/commands/product/branding.md +458 -0
- package/framework/commands/product/check.md +46 -0
- package/framework/commands/product/checklist-sync.md +239 -0
- package/framework/commands/product/collect.md +95 -0
- package/framework/commands/product/consolidate-meetings.md +291 -0
- package/framework/commands/product/estimate.md +511 -0
- package/framework/commands/product/extract-meeting.md +226 -0
- package/framework/commands/product/feature.md +416 -0
- package/framework/commands/product/light-arch.md +82 -0
- package/framework/commands/product/presentation.md +174 -0
- package/framework/commands/product/refine.md +161 -0
- package/framework/commands/product/spec.md +79 -0
- package/framework/commands/product/task-check.md +378 -0
- package/framework/commands/product/task.md +603 -0
- package/framework/commands/product/validate-task.md +325 -0
- package/framework/commands/product/warm-up.md +24 -0
- package/framework/commands/quick/analisys.md +17 -0
- package/framework/commands/test/e2e.md +377 -0
- package/framework/commands/test/integration.md +508 -0
- package/framework/commands/test/unit.md +381 -0
- package/framework/commands/validate/collab/pair-testing.md +657 -0
- package/framework/commands/validate/collab/three-amigos.md +534 -0
- package/framework/commands/validate/qa-points/estimate.md +660 -0
- package/framework/commands/validate/test-strategy/analyze.md +1201 -0
- package/framework/commands/validate/test-strategy/create.md +411 -0
- package/framework/commands/validate/workflow.md +370 -0
- package/framework/commands/warm-up.md +20 -0
- package/framework/docs/architecture/acoplamento-clickup-problema-analise.md +468 -0
- package/framework/docs/architecture/desacoplamento-roadmap.md +364 -0
- package/framework/docs/architecture/validacao-fase-1.md +235 -0
- package/framework/docs/c4/c4-detection-rules.md +395 -0
- package/framework/docs/c4/c4-documentation-templates.md +579 -0
- package/framework/docs/c4/c4-mermaid-patterns.md +331 -0
- package/framework/docs/c4/c4-templates.md +256 -0
- package/framework/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
- package/framework/docs/clickup/clickup-auto-update-strategy.md +340 -0
- package/framework/docs/clickup/clickup-comment-formatter.md +239 -0
- package/framework/docs/clickup/clickup-description-fix.md +384 -0
- package/framework/docs/clickup/clickup-dual-comment-strategy.md +528 -0
- package/framework/docs/clickup/clickup-formatting.md +302 -0
- package/framework/docs/clickup/separador-tamanho-otimizado.md +258 -0
- package/framework/docs/engineer/pre-pr-acceptance-validation.md +256 -0
- package/framework/docs/onion/ESPERANTO.md +293 -0
- package/framework/docs/onion/agents-reference.md +832 -0
- package/framework/docs/onion/clickup-integration.md +780 -0
- package/framework/docs/onion/commands-guide.md +924 -0
- package/framework/docs/onion/engineering-flows.md +900 -0
- package/framework/docs/onion/getting-started.md +803 -0
- package/framework/docs/onion/maintenance-checklist.md +421 -0
- package/framework/docs/onion/naming-conventions.md +286 -0
- package/framework/docs/onion/practical-examples.md +854 -0
- package/framework/docs/product/story-points-integration.md +269 -0
- package/framework/docs/product/story-points-validation.md +237 -0
- package/framework/docs/reviews/task-manager-docs-review-2025-11-24.md +184 -0
- package/framework/docs/strategies/clickup-comment-patterns.md +766 -0
- package/framework/docs/strategies/clickup-integration-tests.md +602 -0
- package/framework/docs/strategies/clickup-mcp-wrappers-tests.md +888 -0
- package/framework/docs/strategies/clickup-regression-tests.md +587 -0
- package/framework/docs/strategies/visual-patterns.md +315 -0
- package/framework/docs/templates/README.md +649 -0
- package/framework/docs/templates/adr-template.md +226 -0
- package/framework/docs/templates/analysis-template.md +280 -0
- package/framework/docs/templates/execution-plan-template.md +430 -0
- package/framework/docs/templates/guide-template.md +367 -0
- package/framework/docs/templates/phase-execution-prompt-template.md +504 -0
- package/framework/docs/templates/reference-template.md +522 -0
- package/framework/docs/templates/solution-template.md +390 -0
- package/framework/docs/tools/README.md +356 -0
- package/framework/docs/tools/agents.md +365 -0
- package/framework/docs/tools/commands.md +669 -0
- package/framework/docs/tools/cursor.md +539 -0
- package/framework/docs/tools/mcps.md +937 -0
- package/framework/docs/tools/rules.md +461 -0
- package/framework/rules/language-and-documentation.mdc +371 -0
- package/framework/rules/nestjs-controllers.md +83 -0
- package/framework/rules/nestjs-dtos.md +255 -0
- package/framework/rules/nestjs-modules.md +141 -0
- package/framework/rules/nestjs-services.md +230 -0
- package/framework/rules/nx-rules.mdc +41 -0
- package/framework/rules/onion-patterns.mdc +197 -0
- package/framework/skills/codebase-visualizer/SKILL.md +26 -0
- package/framework/skills/codebase-visualizer/scripts/visualize.py +131 -0
- package/framework/skills/collect/SKILL.md +84 -0
- package/framework/skills/create-rule/SKILL.md +152 -0
- package/framework/skills/db-schema-visualizer/SKILL.md +49 -0
- package/framework/skills/db-schema-visualizer/scripts/visualize.py +1191 -0
- package/framework/skills/sync-meetings/SKILL.md +239 -0
- package/framework/utils/clickup-mcp-wrappers.md +744 -0
- package/framework/utils/date-time-standards.md +200 -0
- package/framework/utils/task-manager/README.md +94 -0
- package/framework/utils/task-manager/adapters/asana.md +377 -0
- package/framework/utils/task-manager/adapters/clickup.md +467 -0
- package/framework/utils/task-manager/adapters/linear.md +421 -0
- package/framework/utils/task-manager/detector.md +299 -0
- package/framework/utils/task-manager/factory.md +363 -0
- package/framework/utils/task-manager/interface.md +248 -0
- package/framework/utils/task-manager/types.md +409 -0
- package/package.json +41 -0
- package/src/cli.js +73 -0
- package/src/commands/doctor.js +191 -0
- package/src/commands/init.js +287 -0
- package/src/commands/install.js +261 -0
- package/src/commands/list.js +152 -0
- package/src/commands/uninstall.js +90 -0
- package/src/commands/update.js +26 -0
- package/src/utils/fs.js +89 -0
- package/src/utils/log.js +35 -0
- package/src/utils/paths.js +32 -0
- package/src/utils/prompt.js +76 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-business-docs
|
|
3
|
+
description: Generate business context and strategy documentation.
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: docs
|
|
6
|
+
tags: [business, strategy, documentation]
|
|
7
|
+
version: '3.0.0'
|
|
8
|
+
updated: '2025-11-24'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Business Context Generator
|
|
12
|
+
|
|
13
|
+
You are a business analyst and product strategist specialized in creating comprehensive, AI-optimized business intelligence. Your mission is to analyze a project/product and generate a complete business context architecture using the multi-file approach that enables AI systems to understand customers, market dynamics, and business strategy.
|
|
14
|
+
|
|
15
|
+
## Primary Objective
|
|
16
|
+
|
|
17
|
+
Generate a complete business context architecture following the template in `.claude/commands/common/templates/business_context_template.md`. Create a modular, multi-file documentation structure that enables AI systems to provide contextually appropriate customer support, sales assistance, and strategic business insights.
|
|
18
|
+
|
|
19
|
+
## Input Parameters
|
|
20
|
+
|
|
21
|
+
**Required Arguments:**
|
|
22
|
+
You must receive links to files, repositories, and other source materials to generate the business documentation. These will be placed in your arguments. If you have not received arguments, you must request them before proceeding.
|
|
23
|
+
|
|
24
|
+
<arguments>
|
|
25
|
+
#$ARGUMENTS
|
|
26
|
+
</arguments>
|
|
27
|
+
|
|
28
|
+
## Analysis Framework
|
|
29
|
+
|
|
30
|
+
### Phase 1: Product Discovery
|
|
31
|
+
|
|
32
|
+
1. **Product Understanding**
|
|
33
|
+
- Analyze README, product descriptions, and marketing materials
|
|
34
|
+
- Extract value proposition from landing pages, documentation, and positioning
|
|
35
|
+
- Identify target market from feature set and messaging
|
|
36
|
+
- Understand business model from pricing pages, monetization strategy, and revenue streams
|
|
37
|
+
|
|
38
|
+
2. **Market Research**
|
|
39
|
+
- Research competitive landscape through web searches and analysis (use Perplexity or other web search tools)
|
|
40
|
+
- Identify industry trends and market dynamics
|
|
41
|
+
- Analyze customer segments and use cases
|
|
42
|
+
- Study regulatory environment and compliance requirements
|
|
43
|
+
|
|
44
|
+
3. **Customer Intelligence Gathering**
|
|
45
|
+
- Analyze customer feedback from GitHub issues, support tickets, reviews
|
|
46
|
+
- Extract customer personas from user behavior and feature usage
|
|
47
|
+
- Map customer journey from onboarding flows and user experience
|
|
48
|
+
- Identify communication patterns and preferences from support interactions
|
|
49
|
+
|
|
50
|
+
### Phase 2: User Discussion
|
|
51
|
+
|
|
52
|
+
After building a solid understanding of the project, you will ask the human a series of questions to clarify doubts or missing information. Plan to ask at least 10 questions that cover most strategic areas in the documentation. Be selective about the questions you ask, and try to avoid questions that are not relevant to the project.
|
|
53
|
+
|
|
54
|
+
- Identify the product vision
|
|
55
|
+
- Identify key user personas
|
|
56
|
+
- Identify main competitors and why this is different
|
|
57
|
+
- Who are the key stakeholders
|
|
58
|
+
- What are the main features
|
|
59
|
+
- What are the main workflows
|
|
60
|
+
- What are the key metrics
|
|
61
|
+
- What are the main challenges
|
|
62
|
+
- What are the main opportunities
|
|
63
|
+
- What are the main risks
|
|
64
|
+
- What are the main dependencies
|
|
65
|
+
- What are the main constraints
|
|
66
|
+
|
|
67
|
+
Conduct multiple rounds of questions and answers if you feel you still need to gather more information.
|
|
68
|
+
When ready, give the human a summary of the most important points detected and ask for approval to proceed to Phase 3.
|
|
69
|
+
|
|
70
|
+
### Phase 3: Business Context Generation
|
|
71
|
+
|
|
72
|
+
Follow the multi-file structure from the business template:
|
|
73
|
+
|
|
74
|
+
#### Create Index File (`index.md`)
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
## Business Context Profile
|
|
78
|
+
|
|
79
|
+
[Company foundation, product information, scale and metrics]
|
|
80
|
+
|
|
81
|
+
## Layer 1: Customer Context Architecture
|
|
82
|
+
|
|
83
|
+
- [Customer Personas](CUSTOMER_PERSONAS.md)
|
|
84
|
+
- [Customer Journey](CUSTOMER_JOURNEY.md)
|
|
85
|
+
- [Voice of Customer](VOICE_OF_CUSTOMER.md)
|
|
86
|
+
|
|
87
|
+
## Layer 2: Product Context Architecture
|
|
88
|
+
|
|
89
|
+
- [Product Strategy](PRODUCT_STRATEGY.md)
|
|
90
|
+
- [Feature Catalog](features/)
|
|
91
|
+
- [Product Metrics](PRODUCT_METRICS.md)
|
|
92
|
+
|
|
93
|
+
## Layer 3: Market and Competitive Context
|
|
94
|
+
|
|
95
|
+
- [Competitive Landscape](COMPETITIVE_LANDSCAPE.md)
|
|
96
|
+
- [Industry Trends](INDUSTRY_TRENDS.md)
|
|
97
|
+
|
|
98
|
+
## Layer 4: Operational Business Context
|
|
99
|
+
|
|
100
|
+
- [Sales Process](SALES_PROCESS.md)
|
|
101
|
+
- [Messaging Framework](MESSAGING_FRAMEWORK.md)
|
|
102
|
+
- [Customer Communication Guidelines](CUSTOMER_COMMUNICATION.md)
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
#### Generate Individual Files
|
|
106
|
+
|
|
107
|
+
**1. `CUSTOMER_PERSONAS.md`**
|
|
108
|
+
|
|
109
|
+
- Research and define primary customer personas based on:
|
|
110
|
+
- User feedback analysis from GitHub issues, reviews, testimonials
|
|
111
|
+
- Feature usage patterns and technical requirements
|
|
112
|
+
- Industry context and typical user profiles
|
|
113
|
+
- Communication patterns in support channels
|
|
114
|
+
- Include demographics, goals, pain points, technology context, and AI interaction notes
|
|
115
|
+
- Create both primary user personas and decision-maker personas when applicable
|
|
116
|
+
|
|
117
|
+
**2. `CUSTOMER_JOURNEY.md`**
|
|
118
|
+
|
|
119
|
+
- Map the complete customer lifecycle from:
|
|
120
|
+
- Onboarding flows and getting-started guides
|
|
121
|
+
- Feature adoption patterns and user progression
|
|
122
|
+
- Support ticket patterns and common confusion points
|
|
123
|
+
- Community feedback and advocacy indicators
|
|
124
|
+
- Include awareness, evaluation, adoption, growth, and advocacy/churn patterns
|
|
125
|
+
- Document trigger events, decision criteria, and success milestones
|
|
126
|
+
|
|
127
|
+
**3. `VOICE_OF_CUSTOMER.md`**
|
|
128
|
+
|
|
129
|
+
- Extract customer feedback patterns from:
|
|
130
|
+
- GitHub issues, discussions, and community forums
|
|
131
|
+
- Product reviews and testimonials
|
|
132
|
+
- Support ticket analysis and common requests
|
|
133
|
+
- Social media mentions and community discussions
|
|
134
|
+
- Document praise themes, frequent requests, competitive comparisons
|
|
135
|
+
- Identify customer language, terminology preferences, and communication patterns
|
|
136
|
+
|
|
137
|
+
**4. `PRODUCT_STRATEGY.md`**
|
|
138
|
+
|
|
139
|
+
- Synthesize product strategy from:
|
|
140
|
+
- Mission statements, vision documents, and strategic materials
|
|
141
|
+
- Roadmap analysis and development priorities
|
|
142
|
+
- Competitive positioning and differentiation
|
|
143
|
+
- Market opportunity and strategic focus areas
|
|
144
|
+
- Include vision/mission, market position, strategic priorities, and product principles
|
|
145
|
+
- Document trade-off frameworks and quality standards
|
|
146
|
+
|
|
147
|
+
**5. `features/` Directory**
|
|
148
|
+
|
|
149
|
+
- Create individual feature files for each product feature with:
|
|
150
|
+
- Purpose analysis and user benefit
|
|
151
|
+
- Usage pattern identification from documentation and user feedback
|
|
152
|
+
- Success metrics and performance indicators
|
|
153
|
+
- Common issues and limitations from support data
|
|
154
|
+
- AI interaction guidance for each feature
|
|
155
|
+
- Organize by core features, advanced features, and integration capabilities
|
|
156
|
+
- Name files descriptively (e.g., `user-authentication.md`, `data-export.md`, `api-integration.md`)
|
|
157
|
+
|
|
158
|
+
**6. `PRODUCT_METRICS.md`**
|
|
159
|
+
|
|
160
|
+
- Document key performance indicators:
|
|
161
|
+
- Adoption metrics (downloads, stars, usage statistics)
|
|
162
|
+
- Quality metrics (test coverage, performance benchmarks, issue resolution)
|
|
163
|
+
- Feature performance (high-performing vs underperforming features)
|
|
164
|
+
- Usage correlation patterns and success indicators
|
|
165
|
+
- Focus on metrics that indicate product health and market success
|
|
166
|
+
|
|
167
|
+
**7. `COMPETITIVE_LANDSCAPE.md`**
|
|
168
|
+
|
|
169
|
+
- Research and analyze direct competitors:
|
|
170
|
+
- Competitive strengths, weaknesses, and positioning
|
|
171
|
+
- Pricing strategies and business models
|
|
172
|
+
- Customer overlap and differentiation strategies
|
|
173
|
+
- Win/loss scenarios and competitive messaging
|
|
174
|
+
- Include competitive positioning framework and objection handling
|
|
175
|
+
|
|
176
|
+
**8. `INDUSTRY_TRENDS.md`**
|
|
177
|
+
|
|
178
|
+
- Analyze market evolution and trends:
|
|
179
|
+
- Industry landscape and evolution patterns
|
|
180
|
+
- Technology trends affecting the market
|
|
181
|
+
- Regulatory environment and compliance requirements
|
|
182
|
+
- Future predictions and strategic implications
|
|
183
|
+
- Focus on trends that affect product strategy and customer needs
|
|
184
|
+
|
|
185
|
+
**9. `SALES_PROCESS.md`**
|
|
186
|
+
(if relevant)
|
|
187
|
+
|
|
188
|
+
- Document customer acquisition strategy:
|
|
189
|
+
- For B2B products: Sales methodology, qualification criteria, common objections
|
|
190
|
+
- For Open Source: Community building, contribution workflows, monetization strategy
|
|
191
|
+
- For B2C: User acquisition, conversion funnels, retention strategies
|
|
192
|
+
- Include customer success patterns and expansion opportunities
|
|
193
|
+
|
|
194
|
+
**10. `MESSAGING_FRAMEWORK.md`**
|
|
195
|
+
|
|
196
|
+
- Define brand voice and messaging:
|
|
197
|
+
- Brand personality and tone guidelines
|
|
198
|
+
- Core messaging and value propositions
|
|
199
|
+
- Audience-specific messaging strategies
|
|
200
|
+
- Content guidelines and communication style
|
|
201
|
+
- Ensure messaging aligns with customer preferences and market positioning
|
|
202
|
+
|
|
203
|
+
**11. `CUSTOMER_COMMUNICATION.md`**
|
|
204
|
+
|
|
205
|
+
- Create AI interaction guidelines:
|
|
206
|
+
- Communication principles and objectives
|
|
207
|
+
- Response guidelines for different scenarios
|
|
208
|
+
- Escalation triggers and privacy considerations
|
|
209
|
+
- Personalization strategies and relationship building approaches
|
|
210
|
+
- Tailor guidelines to the specific customer base and communication channels
|
|
211
|
+
|
|
212
|
+
## Sources and Research Methods
|
|
213
|
+
|
|
214
|
+
### Primary Sources
|
|
215
|
+
|
|
216
|
+
- **Product Documentation**: README files, official documentation, API docs
|
|
217
|
+
- **Customer Feedback**: GitHub issues, reviews, testimonials, support tickets
|
|
218
|
+
- **Marketing Materials**: Website copy, landing pages, blog posts, case studies
|
|
219
|
+
- **Community Channels**: Forums, Discord, Slack communities, social media
|
|
220
|
+
- **Competitive Intelligence**: Competitor websites, documentation, user feedback
|
|
221
|
+
|
|
222
|
+
### Research Techniques
|
|
223
|
+
|
|
224
|
+
- **Web Search Analysis**: Research competitors, market trends, and industry insights
|
|
225
|
+
- **Content Analysis**: Extract insights from existing documentation and communications
|
|
226
|
+
- **Pattern Recognition**: Identify trends in customer feedback and behavior
|
|
227
|
+
- **Competitive Research**: Analyze competitor positioning and customer reception
|
|
228
|
+
- **Market Intelligence**: Gather industry trends and regulatory information
|
|
229
|
+
|
|
230
|
+
## Quality Assurance
|
|
231
|
+
|
|
232
|
+
### Content Accuracy
|
|
233
|
+
|
|
234
|
+
- [ ] All customer insights are based on actual feedback and data
|
|
235
|
+
- [ ] Competitive analysis includes current, verifiable information
|
|
236
|
+
- [ ] Product features and capabilities are accurately represented
|
|
237
|
+
- [ ] Market trends are supported by research and evidence
|
|
238
|
+
- [ ] Business model and strategy align with actual company direction
|
|
239
|
+
|
|
240
|
+
### AI Optimization
|
|
241
|
+
|
|
242
|
+
- [ ] Content enables AI to provide contextually appropriate customer support
|
|
243
|
+
- [ ] Customer personas include specific AI interaction guidelines
|
|
244
|
+
- [ ] Communication guidelines are actionable for AI systems
|
|
245
|
+
- [ ] Business context is structured for AI decision-making support
|
|
246
|
+
- [ ] Cross-references create comprehensive business intelligence
|
|
247
|
+
|
|
248
|
+
### Completeness Validation
|
|
249
|
+
|
|
250
|
+
- [ ] All business context layers are thoroughly addressed
|
|
251
|
+
- [ ] Customer journey covers full lifecycle from awareness to advocacy
|
|
252
|
+
- [ ] Competitive landscape includes direct and indirect competitors
|
|
253
|
+
- [ ] Product strategy aligns with actual market positioning
|
|
254
|
+
- [ ] Communication guidelines match customer preferences
|
|
255
|
+
|
|
256
|
+
## Execution Strategy
|
|
257
|
+
|
|
258
|
+
1. **Customer-First Research**: Start with deep customer understanding before strategy
|
|
259
|
+
2. **Evidence-Based Insights**: Ground all business intelligence in real data and feedback
|
|
260
|
+
3. **Multi-File Architecture**: Always create linked, focused files for each business area
|
|
261
|
+
4. **AI-Optimized Structure**: Organize information for AI consumption and decision-support
|
|
262
|
+
5. **Market-Informed Strategy**: Ensure all business context reflects current market realities
|
|
263
|
+
6. **Cross-Functional Integration**: Connect business context with technical implementation
|
|
264
|
+
|
|
265
|
+
## Output Success Criteria
|
|
266
|
+
|
|
267
|
+
The generated business documentation should enable:
|
|
268
|
+
|
|
269
|
+
- **AI-powered customer support** to provide contextually appropriate assistance
|
|
270
|
+
- **Sales and marketing teams** to align messaging with customer needs and market position
|
|
271
|
+
- **Product decisions** to be made with full customer and market context
|
|
272
|
+
- **Strategic planning** to leverage comprehensive competitive and market intelligence
|
|
273
|
+
- **Customer communication** to be consistent with brand voice and customer preferences
|
|
274
|
+
|
|
275
|
+
## Adaptation Guidelines
|
|
276
|
+
|
|
277
|
+
### For Different Business Models
|
|
278
|
+
|
|
279
|
+
- **B2B SaaS**: Emphasize enterprise sales, customer success, and competitive differentiation
|
|
280
|
+
- **Open Source**: Focus on community building, contributor engagement, and monetization strategy
|
|
281
|
+
- **B2C Products**: Highlight user experience, conversion optimization, and retention strategies
|
|
282
|
+
- **Developer Tools**: Prioritize technical accuracy, developer experience, and ecosystem integration
|
|
283
|
+
|
|
284
|
+
### For Different Company Stages
|
|
285
|
+
|
|
286
|
+
- **Early Stage**: Focus on customer discovery, market validation, and product-market fit
|
|
287
|
+
- **Growth Stage**: Emphasize scaling strategies, competitive positioning, and market expansion
|
|
288
|
+
- **Enterprise Stage**: Include comprehensive competitive analysis, compliance, and strategic partnerships
|
|
289
|
+
|
|
290
|
+
## Error Handling and Gaps
|
|
291
|
+
|
|
292
|
+
When information cannot be determined:
|
|
293
|
+
|
|
294
|
+
- Mark sections as "RESEARCH NEEDED" with specific data requirements
|
|
295
|
+
- Provide frameworks for gathering missing information
|
|
296
|
+
- Create hypotheses based on available data with clear validation steps
|
|
297
|
+
- Reference industry standards and best practices as interim guidance
|
|
298
|
+
|
|
299
|
+
Remember: The goal is to create actionable business intelligence that enables AI systems to understand customers, market dynamics, and strategic context to provide superior business support and decision-making assistance.
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-compliance-docs
|
|
3
|
+
description: |
|
|
4
|
+
Geração de documentação de compliance (ISO 27001, SOC2, etc).
|
|
5
|
+
Use para preparar auditorias, Due Diligence e certificações.
|
|
6
|
+
model: sonnet
|
|
7
|
+
|
|
8
|
+
parameters:
|
|
9
|
+
- name: frameworks
|
|
10
|
+
description: Frameworks (iso27001,soc2,iso22301,pmbok ou all)
|
|
11
|
+
required: false
|
|
12
|
+
- name: due_diligence
|
|
13
|
+
description: Caminho para checklist de DD
|
|
14
|
+
required: false
|
|
15
|
+
|
|
16
|
+
category: docs
|
|
17
|
+
tags:
|
|
18
|
+
- compliance
|
|
19
|
+
- security
|
|
20
|
+
- audit
|
|
21
|
+
|
|
22
|
+
version: "3.0.0"
|
|
23
|
+
updated: "2025-11-24"
|
|
24
|
+
|
|
25
|
+
related_commands:
|
|
26
|
+
- /docs/build-tech-docs
|
|
27
|
+
- /docs/build-business-docs
|
|
28
|
+
|
|
29
|
+
related_agents:
|
|
30
|
+
- security-information-master
|
|
31
|
+
- iso-27001-specialist
|
|
32
|
+
- soc2-specialist
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
# 📋 Gerador de Documentação de Compliance
|
|
36
|
+
|
|
37
|
+
Criar documentação de conformidade para auditorias e certificações.
|
|
38
|
+
|
|
39
|
+
## 🎯 Objetivo
|
|
40
|
+
|
|
41
|
+
Gerar arquitetura completa de docs de compliance multi-framework.
|
|
42
|
+
|
|
43
|
+
## 🔧 Modos de Execução
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# Modo 1: Seletivo
|
|
47
|
+
/docs/build-compliance-docs frameworks="iso27001,soc2"
|
|
48
|
+
|
|
49
|
+
# Modo 2: Due Diligence
|
|
50
|
+
/docs/build-compliance-docs due_diligence="path/to/checklist.md"
|
|
51
|
+
|
|
52
|
+
# Modo 3: Auto (analisa projeto)
|
|
53
|
+
/docs/build-compliance-docs
|
|
54
|
+
|
|
55
|
+
# Modo 4: Completo
|
|
56
|
+
/docs/build-compliance-docs frameworks="all"
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## ⚡ Fluxo de Execução
|
|
60
|
+
|
|
61
|
+
### Passo 1: Detectar Modo
|
|
62
|
+
|
|
63
|
+
SE `{{frameworks}}` → Modo Seletivo
|
|
64
|
+
SE `{{due_diligence}}` → Modo DD (analisar checklist)
|
|
65
|
+
SENÃO → Modo Auto (analisar projeto)
|
|
66
|
+
|
|
67
|
+
### Passo 2: Selecionar Frameworks
|
|
68
|
+
|
|
69
|
+
| Framework | Foco | Quando Usar |
|
|
70
|
+
|-----------|------|-------------|
|
|
71
|
+
| ISO 27001 | Segurança da Info | Certificação, DD |
|
|
72
|
+
| ISO 22301 | Continuidade | DR, BCP |
|
|
73
|
+
| SOC2 | Trust Services | Clientes enterprise |
|
|
74
|
+
| PMBOK | Governança | Projetos |
|
|
75
|
+
|
|
76
|
+
### Passo 3: Delegar para Especialistas
|
|
77
|
+
|
|
78
|
+
Para cada framework selecionado:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
SE "iso27001" → @iso-27001-specialist
|
|
82
|
+
SE "iso22301" → @iso-22301-specialist
|
|
83
|
+
SE "soc2" → @soc2-specialist
|
|
84
|
+
SE "pmbok" → @pmbok-specialist
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Coordenação via @security-information-master
|
|
88
|
+
|
|
89
|
+
### Passo 4: Gerar Documentação
|
|
90
|
+
|
|
91
|
+
Estrutura de saída:
|
|
92
|
+
```
|
|
93
|
+
docs/compliance/
|
|
94
|
+
├── index.md
|
|
95
|
+
├── iso27001/
|
|
96
|
+
│ ├── policy.md
|
|
97
|
+
│ ├── risk-assessment.md
|
|
98
|
+
│ └── controls.md
|
|
99
|
+
├── soc2/
|
|
100
|
+
│ ├── trust-services.md
|
|
101
|
+
│ └── evidence.md
|
|
102
|
+
└── reports/
|
|
103
|
+
└── summary.md
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Passo 5: Validar e Entregar
|
|
107
|
+
|
|
108
|
+
## 📤 Output Esperado
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
112
|
+
✅ DOCS DE COMPLIANCE GERADOS
|
|
113
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
114
|
+
|
|
115
|
+
📊 Frameworks:
|
|
116
|
+
∟ ISO 27001: ✅ 12 documentos
|
|
117
|
+
∟ SOC2: ✅ 8 documentos
|
|
118
|
+
|
|
119
|
+
📁 Estrutura:
|
|
120
|
+
∟ docs/compliance/index.md
|
|
121
|
+
∟ docs/compliance/iso27001/ (12)
|
|
122
|
+
∟ docs/compliance/soc2/ (8)
|
|
123
|
+
|
|
124
|
+
📋 Cobertura:
|
|
125
|
+
∟ Políticas: 100%
|
|
126
|
+
∟ Controles: 85%
|
|
127
|
+
∟ Evidências: Template
|
|
128
|
+
|
|
129
|
+
🚀 Próximo: Revisar e customizar
|
|
130
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## 🔗 Referências
|
|
134
|
+
|
|
135
|
+
- Orquestrador: @security-information-master
|
|
136
|
+
- ISO 27001: @iso-27001-specialist
|
|
137
|
+
- SOC2: @soc2-specialist
|
|
138
|
+
|
|
139
|
+
## ⚠️ Notas
|
|
140
|
+
|
|
141
|
+
- Docs gerados são templates base
|
|
142
|
+
- Customizar para contexto específico
|
|
143
|
+
- Revisar antes de auditorias
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-index
|
|
3
|
+
description: Gerenciar e atualizar índices de documentação.
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: docs
|
|
6
|
+
tags: [index, navigation, documentation]
|
|
7
|
+
version: '3.0.0'
|
|
8
|
+
updated: '2025-11-24'
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
Este comando gerencia os índices de documentação do {ProjectName}, mantendo a estrutura organizada e navegável.
|
|
12
|
+
|
|
13
|
+
**Estrutura de Documentação do {ProjectName}**:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
docs/
|
|
17
|
+
├── INDEX.md # Índice principal (hub central)
|
|
18
|
+
├── business-context/ # Contexto de negócio (15 arquivos)
|
|
19
|
+
│ └── index.md
|
|
20
|
+
├── technical-context/ # Contexto técnico (15 arquivos)
|
|
21
|
+
│ └── index.md
|
|
22
|
+
├── compliance/ # Compliance e Governança (18 arquivos) ✨ NOVO
|
|
23
|
+
│ ├── index.md
|
|
24
|
+
│ ├── security/ # ISO 27001 (3 arquivos)
|
|
25
|
+
│ ├── business-continuity/ # ISO 22301 (5 arquivos)
|
|
26
|
+
│ ├── soc2/ # SOC2 Type II (4 arquivos)
|
|
27
|
+
│ ├── ai-governance/ # AI Governance (1 arquivo)
|
|
28
|
+
│ ├── privacy/ # LGPD (1 arquivo)
|
|
29
|
+
│ └── due-diligence/ # Due Diligence (4 arquivos)
|
|
30
|
+
├── onion/ # Sistema Onion (22 arquivos)
|
|
31
|
+
├── guidelines/ # Guidelines de desenvolvimento (4 arquivos)
|
|
32
|
+
└── files/ # Recursos diversos
|
|
33
|
+
|
|
34
|
+
.claude/
|
|
35
|
+
├── commands/ # 59 comandos organizados por categoria
|
|
36
|
+
│ ├── docs/ # Comandos de documentação
|
|
37
|
+
│ ├── engineer/ # Workflows de desenvolvimento
|
|
38
|
+
│ ├── collect/ # Coleta de informações
|
|
39
|
+
│ └── check/ # Validações e compliance
|
|
40
|
+
└── agents/ # 27 agentes especializados de IA
|
|
41
|
+
├── *.md # 12 agentes gerais
|
|
42
|
+
├── development/ # 10 agentes especializados dev
|
|
43
|
+
└── compliance/ # 5 agentes compliance ✨ NOVO
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Usage
|
|
47
|
+
|
|
48
|
+
### /docs/build-index
|
|
49
|
+
|
|
50
|
+
**Sem argumentos**: Reconstrói o arquivo `INDEX.md` principal na pasta `@/docs/`.
|
|
51
|
+
|
|
52
|
+
Este índice central fornece:
|
|
53
|
+
|
|
54
|
+
- Visão geral do projeto {ProjectName}
|
|
55
|
+
- Links para todas as seções de documentação
|
|
56
|
+
- Descrição de cada seção
|
|
57
|
+
- Estatísticas da documentação (80 arquivos, 59 comandos, 27 agentes)
|
|
58
|
+
- Guias de navegação por perfil (dev, PM, vendas, arquitetos, CISO/Compliance)
|
|
59
|
+
- Mapa de navegação rápida
|
|
60
|
+
- Referência completa aos 27 agentes especializados em `.claude/agents/`
|
|
61
|
+
- Métricas de maturidade de compliance (ISO 27001, ISO 22301, SOC2, LGPD)
|
|
62
|
+
|
|
63
|
+
**Comportamento**:
|
|
64
|
+
|
|
65
|
+
1. Escaneia todas as pastas em `@/docs/`
|
|
66
|
+
2. Lê os arquivos `index.md` de cada seção
|
|
67
|
+
3. Escaneia `.claude/commands/` e `.claude/agents/` para contar recursos
|
|
68
|
+
4. Extrai informações relevantes (título, descrição, arquivos principais)
|
|
69
|
+
5. Gera/atualiza `docs/INDEX.md` com estrutura completa
|
|
70
|
+
6. Mantém estatísticas atualizadas:
|
|
71
|
+
- 80 arquivos markdown (+2 README.md landing pages)
|
|
72
|
+
- 59 comandos Cursor
|
|
73
|
+
- 27 agentes IA (12 gerais + 10 development + 5 compliance)
|
|
74
|
+
- 15 arquivos business-context
|
|
75
|
+
- 16 arquivos technical-context
|
|
76
|
+
- 19 arquivos compliance ✨ NOVO
|
|
77
|
+
- 22 arquivos onion
|
|
78
|
+
- 4 arquivos guidelines
|
|
79
|
+
7. Gera métricas de maturidade de compliance:
|
|
80
|
+
- ISO 27001:2022 (84% implementado)
|
|
81
|
+
- ISO 22301:2019 (100% implementado)
|
|
82
|
+
- SOC2 Type II (93% readiness)
|
|
83
|
+
- LGPD (95% compliant)
|
|
84
|
+
- AI Governance (100% documentado)
|
|
85
|
+
|
|
86
|
+
### /docs/build-index <section-name>
|
|
87
|
+
|
|
88
|
+
**Com argumento**: Reconstrói o índice de uma seção específica da documentação.
|
|
89
|
+
|
|
90
|
+
**Seções disponíveis**:
|
|
91
|
+
|
|
92
|
+
- `business-context` - Documentação de negócio
|
|
93
|
+
- `technical-context` - Documentação técnica
|
|
94
|
+
- `compliance` - Compliance e Governança (ISO 27001, ISO 22301, SOC2, LGPD) ✨ NOVO
|
|
95
|
+
- `onion` - Sistema Onion (comandos e agentes)
|
|
96
|
+
- `guidelines` - Guidelines de desenvolvimento
|
|
97
|
+
|
|
98
|
+
**Comportamento**:
|
|
99
|
+
|
|
100
|
+
1. Percorre a estrutura de arquivos da seção especificada
|
|
101
|
+
2. Identifica arquivos principais e subpastas
|
|
102
|
+
3. Gera/atualiza o `index.md` da seção
|
|
103
|
+
4. Mantém links relativos corretos
|
|
104
|
+
5. Preserva estrutura e organização
|
|
105
|
+
|
|
106
|
+
**Exemplo**:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
/docs/build-index business-context
|
|
110
|
+
# Reconstrói docs/business-context/index.md
|
|
111
|
+
|
|
112
|
+
/docs/build-index technical-context
|
|
113
|
+
# Reconstrói docs/technical-context/index.md
|
|
114
|
+
|
|
115
|
+
/docs/build-index compliance
|
|
116
|
+
# Reconstrói docs/compliance/index.md
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Argumentos fornecidos: #$ARGUMENTS
|