@dzhechkov/keysarium 1.0.0
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/README.md +289 -0
- package/bin/cli.js +5 -0
- package/package.json +43 -0
- package/src/cli.js +157 -0
- package/src/commands/doctor.js +469 -0
- package/src/commands/init.js +171 -0
- package/src/commands/list.js +147 -0
- package/src/commands/remove.js +197 -0
- package/src/commands/update.js +191 -0
- package/src/utils.js +274 -0
- package/templates/.claude/agents/cjm-variant-worker.md +60 -0
- package/templates/.claude/agents/discovery-worker.md +45 -0
- package/templates/.claude/agents/parallel-research-orchestrator.md +70 -0
- package/templates/.claude/agents/presentation-worker.md +55 -0
- package/templates/.claude/agents/research-worker.md +43 -0
- package/templates/.claude/commands/architecture-phase.md +37 -0
- package/templates/.claude/commands/casarium.md +163 -0
- package/templates/.claude/commands/cjm-prototype.md +42 -0
- package/templates/.claude/commands/discovery.md +34 -0
- package/templates/.claude/commands/explore-case.md +22 -0
- package/templates/.claude/commands/harvest.md +67 -0
- package/templates/.claude/commands/new-research.md +69 -0
- package/templates/.claude/commands/parallel-research.md +45 -0
- package/templates/.claude/commands/presentation.md +49 -0
- package/templates/.claude/commands/research.md +32 -0
- package/templates/.claude/commands/solve.md +36 -0
- package/templates/.claude/rules/agent-swarm.md +31 -0
- package/templates/.claude/rules/anti-patterns.md +19 -0
- package/templates/.claude/rules/checkpoint-protocol.md +23 -0
- package/templates/.claude/rules/domain-specific.md +32 -0
- package/templates/.claude/rules/file-conventions.md +38 -0
- package/templates/.claude/rules/modular-reuse.md +35 -0
- package/templates/.claude/rules/research-quality.md +20 -0
- package/templates/.claude/settings.json +37 -0
- package/templates/.claude/skills/explore/SKILL.md +215 -0
- package/templates/.claude/skills/explore/references/questioning-techniques.md +151 -0
- package/templates/.claude/skills/explore/references/task-brief-templates.md +355 -0
- package/templates/.claude/skills/frontend-design/LICENSE.txt +177 -0
- package/templates/.claude/skills/frontend-design/SKILL.md +42 -0
- package/templates/.claude/skills/goap-research-ed25519/SKILL.md +415 -0
- package/templates/.claude/skills/goap-research-ed25519/references/ed25519-verification.md +658 -0
- package/templates/.claude/skills/goap-research-ed25519/references/research-actions.md +544 -0
- package/templates/.claude/skills/goap-research-ed25519/references/source-evaluation.md +560 -0
- package/templates/.claude/skills/goap-research-ed25519/scripts/ed25519_verifier.py +662 -0
- package/templates/.claude/skills/goap-research-ed25519/scripts/goap_planner.py +720 -0
- package/templates/.claude/skills/presentation-storyteller/SKILL.md +371 -0
- package/templates/.claude/skills/presentation-storyteller/references/example-presentation.md +273 -0
- package/templates/.claude/skills/presentation-storyteller/references/slide-types.md +426 -0
- package/templates/.claude/skills/presentation-storyteller/references/sources-index-template.md +213 -0
- package/templates/.claude/skills/presentation-storyteller/references/speaker-script-patterns.md +324 -0
- package/templates/.claude/skills/presentation-storyteller/references/storytelling-frameworks.md +270 -0
- package/templates/.claude/skills/problem-solver-enhanced/SKILL.md +562 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/SKILL.md +194 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-cjm-example.md +100 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/examples/noom-module1-example.md +88 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/01-intelligence.md +328 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/02-product-customers.md +221 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/025-cjm-prototype.md +206 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/03-market-competition.md +402 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/04-business-finance.md +287 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/05-growth-engine.md +290 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/modules/06-playbook-synthesis.md +286 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/blue-ocean-canvas.md +39 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/industry-benchmarks.md +67 -0
- package/templates/.claude/skills/reverse-engineering-unicorn/references/jtbd-canvas.md +48 -0
- package/templates/CLAUDE.md +185 -0
- package/templates/TOOLKIT_HARVEST.md +29 -0
- package/templates/docs/keysarium/01-deployment-guide.md +768 -0
- package/templates/docs/keysarium/02-admin-guide.md +1170 -0
- package/templates/docs/keysarium/03-user-guide.md +884 -0
- package/templates/docs/keysarium/04-infrastructure-requirements.md +967 -0
- package/templates/docs/keysarium/05-architecture.md +706 -0
- package/templates/docs/keysarium/06-user-flows.md +925 -0
- package/templates/docs/skills-bto/01-deployment-guide.md +828 -0
- package/templates/docs/skills-bto/02-admin-guide.md +1052 -0
- package/templates/docs/skills-bto/03-user-guide.md +960 -0
- package/templates/docs/skills-bto/04-infrastructure-requirements.md +610 -0
- package/templates/docs/skills-bto/05-architecture.md +1112 -0
- package/templates/docs/skills-bto/06-user-flows.md +977 -0
- package/templates/lib/agent-patterns.md +115 -0
- package/templates/lib/domain-templates.md +172 -0
- package/templates/lib/phase-utils.md +107 -0
- package/templates/lib/skill-loader.md +78 -0
- package/templates/researches/.gitkeep +0 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Agent Spawning Patterns — Reusable Templates
|
|
2
|
+
|
|
3
|
+
## Pattern 1: Fan-Out + Merge
|
|
4
|
+
|
|
5
|
+
Use when: Multiple independent research directions need to run in parallel.
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
┌─────────┐
|
|
9
|
+
│ Orchestr│──┬── Agent 1 (Direction A) ──┐
|
|
10
|
+
│ ator │ ├── Agent 2 (Direction B) ──┤── Merge → Artifact
|
|
11
|
+
│ │ └── Agent 3 (Direction C) ──┘
|
|
12
|
+
└─────────┘
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Implementation:
|
|
16
|
+
```python
|
|
17
|
+
# Pseudocode for Agent tool calls
|
|
18
|
+
# Launch ALL agents in a SINGLE message (parallel execution)
|
|
19
|
+
|
|
20
|
+
Agent(description="Direction A research", ...) # concurrent
|
|
21
|
+
Agent(description="Direction B research", ...) # concurrent
|
|
22
|
+
Agent(description="Direction C research", ...) # concurrent
|
|
23
|
+
|
|
24
|
+
# After all complete → synthesize into single document
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Used in: Phase 0, Phase 2, Phase 2.5, Phase 5
|
|
28
|
+
|
|
29
|
+
## Pattern 2: Pipeline (Sequential with Gates)
|
|
30
|
+
|
|
31
|
+
Use when: Each step depends on the previous step's output.
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
Phase 0 → Checkpoint → Phase 1 → Checkpoint → Phase 2 → ...
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Implementation:
|
|
38
|
+
- Execute phase
|
|
39
|
+
- Create artifact
|
|
40
|
+
- Display checkpoint
|
|
41
|
+
- WAIT for user confirmation
|
|
42
|
+
- Read previous artifacts
|
|
43
|
+
- Execute next phase
|
|
44
|
+
|
|
45
|
+
Used in: Full /casarium pipeline
|
|
46
|
+
|
|
47
|
+
## Pattern 3: Isolated Parallel (Multi-Research)
|
|
48
|
+
|
|
49
|
+
Use when: Multiple completely independent research projects.
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
┌──────────┐
|
|
53
|
+
│ Launcher │──┬── Agent: Case 1 (isolated dir) ──→ researches/case1/
|
|
54
|
+
│ │ ├── Agent: Case 2 (isolated dir) ──→ researches/case2/
|
|
55
|
+
│ │ └── Agent: Case 3 (isolated dir) ──→ researches/case3/
|
|
56
|
+
└──────────┘
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Implementation:
|
|
60
|
+
- Each agent gets its own directory
|
|
61
|
+
- No shared state between agents
|
|
62
|
+
- Summary table after all complete
|
|
63
|
+
|
|
64
|
+
Used in: /parallel-research
|
|
65
|
+
|
|
66
|
+
## Pattern 4: Skill-Loaded Worker
|
|
67
|
+
|
|
68
|
+
Use when: An agent needs to operate with a specific skill's methodology.
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
Agent(
|
|
72
|
+
prompt="""
|
|
73
|
+
Step 1: Read .claude/skills/{skill}/SKILL.md
|
|
74
|
+
Step 2: Read context files (previous phases)
|
|
75
|
+
Step 3: Apply skill methodology
|
|
76
|
+
Step 4: Generate artifact
|
|
77
|
+
"""
|
|
78
|
+
)
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Key rules:
|
|
82
|
+
- ALWAYS load skill BEFORE processing
|
|
83
|
+
- ALWAYS read prior artifacts for context
|
|
84
|
+
- Skill provides methodology, context provides data
|
|
85
|
+
|
|
86
|
+
## Pattern 5: Background Agent
|
|
87
|
+
|
|
88
|
+
Use when: Long-running task that doesn't block user interaction.
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
Agent(
|
|
92
|
+
run_in_background=True,
|
|
93
|
+
description="Background harvest analysis",
|
|
94
|
+
...
|
|
95
|
+
)
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Used in: /harvest (reviewing large project directories)
|
|
99
|
+
|
|
100
|
+
## Cost Optimization Guide
|
|
101
|
+
|
|
102
|
+
| Task Complexity | Recommended Model | Token Budget |
|
|
103
|
+
|----------------|-------------------|--------------|
|
|
104
|
+
| File operations, formatting | haiku | ~10K |
|
|
105
|
+
| Research synthesis, analysis | sonnet | ~50K |
|
|
106
|
+
| Creative (CJM, presentation) | opus | ~100K |
|
|
107
|
+
| Full pipeline orchestration | opus | ~500K |
|
|
108
|
+
|
|
109
|
+
## Error Handling
|
|
110
|
+
|
|
111
|
+
If an agent fails:
|
|
112
|
+
1. Log the error
|
|
113
|
+
2. Do NOT retry automatically (may waste tokens)
|
|
114
|
+
3. Report to orchestrator with error context
|
|
115
|
+
4. Orchestrator decides: retry, skip, or ask user
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Domain Templates — Reusable Domain Configurations
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
Pre-configured settings for common case study domains.
|
|
5
|
+
Auto-detected from case description keywords.
|
|
6
|
+
|
|
7
|
+
## Template: Banking / FinTech
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
domain: banking
|
|
11
|
+
palette: [Blue, Navy, Silver]
|
|
12
|
+
tone: strict, reliable, conservative
|
|
13
|
+
emojis: [🏦, 💳, 🔒]
|
|
14
|
+
|
|
15
|
+
regulatory:
|
|
16
|
+
- ФЗ-152 (Персональные данные)
|
|
17
|
+
- Требования ЦБ РФ
|
|
18
|
+
- ФСТЭК (Защита информации)
|
|
19
|
+
- PCI DSS (платёжные данные)
|
|
20
|
+
|
|
21
|
+
architecture_constraints:
|
|
22
|
+
- deployment: on-premise ONLY
|
|
23
|
+
- llm_options: [GigaChat, YandexGPT, LLaMA, Mistral, Qwen]
|
|
24
|
+
- data_perimeter: closed contour
|
|
25
|
+
- hitl: MANDATORY for all decisions
|
|
26
|
+
- audit: full logging of AI actions required
|
|
27
|
+
|
|
28
|
+
presentation_focus:
|
|
29
|
+
- Security and compliance
|
|
30
|
+
- Data never leaves perimeter
|
|
31
|
+
- Regulatory adherence
|
|
32
|
+
- Conservative ROI estimates
|
|
33
|
+
|
|
34
|
+
typical_metrics:
|
|
35
|
+
- Время обработки заявки: часы → минуты
|
|
36
|
+
- Стоимость обработки: руб./заявка
|
|
37
|
+
- Точность классификации: %
|
|
38
|
+
- FTE экономия: сотрудников
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Template: Retail / E-commerce
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
domain: retail
|
|
45
|
+
palette: [Amber, Orange, Warm Gray]
|
|
46
|
+
tone: energetic, data-driven, customer-centric
|
|
47
|
+
emojis: [🛍️, 📦, ⚡]
|
|
48
|
+
|
|
49
|
+
regulatory:
|
|
50
|
+
- ФЗ-152 (Персональные данные)
|
|
51
|
+
- ФЗ о рекламе
|
|
52
|
+
- GDPR (если международный)
|
|
53
|
+
|
|
54
|
+
architecture_constraints:
|
|
55
|
+
- latency: < 200ms for real-time
|
|
56
|
+
- deployment: cloud OK (AWS, GCP, Yandex Cloud)
|
|
57
|
+
- ab_testing: mandatory validation method
|
|
58
|
+
- personalization_vs_privacy: explicit balance required
|
|
59
|
+
|
|
60
|
+
presentation_focus:
|
|
61
|
+
- Customer experience improvement
|
|
62
|
+
- Conversion rate impact
|
|
63
|
+
- A/B test results
|
|
64
|
+
- Scalability for peak loads (Black Friday)
|
|
65
|
+
|
|
66
|
+
typical_metrics:
|
|
67
|
+
- Конверсия: % увеличение
|
|
68
|
+
- Средний чек: руб. увеличение
|
|
69
|
+
- Возврат клиентов: retention %
|
|
70
|
+
- Время поиска товара: секунды → секунды
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Template: Enterprise / B2B
|
|
74
|
+
|
|
75
|
+
```yaml
|
|
76
|
+
domain: enterprise
|
|
77
|
+
palette: [Teal, Indigo, White]
|
|
78
|
+
tone: professional, ROI-focused, structured
|
|
79
|
+
emojis: [👥, 📊, 🎯]
|
|
80
|
+
|
|
81
|
+
regulatory:
|
|
82
|
+
- Корпоративные политики ИБ
|
|
83
|
+
- SLA requirements
|
|
84
|
+
- Compliance отдела
|
|
85
|
+
|
|
86
|
+
architecture_constraints:
|
|
87
|
+
- deployment: hybrid (on-prem + cloud)
|
|
88
|
+
- integration: legacy systems (SAP, 1C, Bitrix)
|
|
89
|
+
- auth: LDAP/AD integration
|
|
90
|
+
- change_management: phased rollout required
|
|
91
|
+
|
|
92
|
+
presentation_focus:
|
|
93
|
+
- ROI in FTE / hours saved
|
|
94
|
+
- Change management plan
|
|
95
|
+
- Legacy integration approach
|
|
96
|
+
- Phased rollout with clear criteria
|
|
97
|
+
|
|
98
|
+
typical_metrics:
|
|
99
|
+
- FTE экономия: человеко-часов/мес
|
|
100
|
+
- Время процесса: дней → часов
|
|
101
|
+
- Ошибки: % снижение
|
|
102
|
+
- Employee satisfaction: NPS change
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Template: Healthcare
|
|
106
|
+
|
|
107
|
+
```yaml
|
|
108
|
+
domain: healthcare
|
|
109
|
+
palette: [Green, White, Light Blue]
|
|
110
|
+
tone: careful, evidence-based, patient-centric
|
|
111
|
+
emojis: [🏥, 💊, 🩺]
|
|
112
|
+
|
|
113
|
+
regulatory:
|
|
114
|
+
- ФЗ-323 (Охрана здоровья)
|
|
115
|
+
- ФЗ-152 (Персональные данные)
|
|
116
|
+
- Медицинские изделия (если applicable)
|
|
117
|
+
- Клинические рекомендации
|
|
118
|
+
|
|
119
|
+
architecture_constraints:
|
|
120
|
+
- hitl: MANDATORY for ALL clinical decisions
|
|
121
|
+
- explainability: required for AI recommendations
|
|
122
|
+
- data_isolation: patient data encryption at rest and in transit
|
|
123
|
+
- deployment: on-premise preferred
|
|
124
|
+
- audit: complete decision trail
|
|
125
|
+
|
|
126
|
+
presentation_focus:
|
|
127
|
+
- Patient safety first
|
|
128
|
+
- Clinical validation pathway
|
|
129
|
+
- Explainability of AI decisions
|
|
130
|
+
- Doctor as final decision maker
|
|
131
|
+
|
|
132
|
+
typical_metrics:
|
|
133
|
+
- Точность диагностики: %
|
|
134
|
+
- Время до диагноза: часы → минуты
|
|
135
|
+
- Пропущенные случаи: % снижение
|
|
136
|
+
- Нагрузка на врача: пациентов/смену
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Template: Legal
|
|
140
|
+
|
|
141
|
+
```yaml
|
|
142
|
+
domain: legal
|
|
143
|
+
palette: [Slate, Navy, Gold]
|
|
144
|
+
tone: precise, authoritative, structured
|
|
145
|
+
emojis: [⚖️, 📋, ✍️]
|
|
146
|
+
|
|
147
|
+
regulatory:
|
|
148
|
+
- Адвокатская тайна
|
|
149
|
+
- ФЗ-152
|
|
150
|
+
- Процессуальные кодексы
|
|
151
|
+
|
|
152
|
+
architecture_constraints:
|
|
153
|
+
- confidentiality: absolute
|
|
154
|
+
- hitl: MANDATORY
|
|
155
|
+
- deployment: on-premise preferred
|
|
156
|
+
- versioning: full document versioning required
|
|
157
|
+
|
|
158
|
+
typical_metrics:
|
|
159
|
+
- Время подготовки документа: часы → минуты
|
|
160
|
+
- Стоимость юридического часа: руб.
|
|
161
|
+
- Покрытие нормативной базы: %
|
|
162
|
+
- Ошибки в документах: % снижение
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
## Usage
|
|
166
|
+
|
|
167
|
+
In any phase, detect domain from case description and apply the corresponding template:
|
|
168
|
+
- Use palette for CJM prototype design (Phase 2.5)
|
|
169
|
+
- Use regulatory list for Architecture (Phase 4)
|
|
170
|
+
- Use typical_metrics for Solution Strategy (Phase 3)
|
|
171
|
+
- Use presentation_focus for Presentation (Phase 5)
|
|
172
|
+
- Use architecture_constraints throughout
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Phase Utilities — Reusable Components
|
|
2
|
+
|
|
3
|
+
## Checkpoint Template
|
|
4
|
+
|
|
5
|
+
Use this template after every phase completion:
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
═══════════════════════════════════════════════════════
|
|
9
|
+
⏸️ CHECKPOINT {N}: {PHASE_NAME} Complete
|
|
10
|
+
{SUMMARY_LINE_1}
|
|
11
|
+
{SUMMARY_LINE_2}
|
|
12
|
+
Files: {FILE_LIST} ✅
|
|
13
|
+
• "ок" — {NEXT_PHASE}
|
|
14
|
+
• "углуби [раздел]" — доработать
|
|
15
|
+
• "[feedback]" — скорректировать
|
|
16
|
+
═══════════════════════════════════════════════════════
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Variables:
|
|
20
|
+
- `{N}` — Phase number (0, 1, 2, 2.5, 3, 4, 5)
|
|
21
|
+
- `{PHASE_NAME}` — Human-readable phase name
|
|
22
|
+
- `{SUMMARY_LINE_1}` — Key metrics/findings (1 line)
|
|
23
|
+
- `{SUMMARY_LINE_2}` — Key deliverable summary (1 line)
|
|
24
|
+
- `{FILE_LIST}` — Comma-separated artifact filenames
|
|
25
|
+
- `{NEXT_PHASE}` — Name of next phase
|
|
26
|
+
|
|
27
|
+
## Artifact Tracker Template
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
ARTIFACTS (researches/{SLUG}/):
|
|
31
|
+
[{STATUS}] 00_product_discovery.md ← Phase 0
|
|
32
|
+
[{STATUS}] 01_case_brief.md ← Phase 1
|
|
33
|
+
[{STATUS}] 02_research_findings.md ← Phase 2
|
|
34
|
+
[{STATUS}] 02.5_trend_brief.md ← Phase 2.5
|
|
35
|
+
[{STATUS}] 03_solution_strategy.md ← Phase 3
|
|
36
|
+
[{STATUS}] 04_architecture.md ← Phase 4
|
|
37
|
+
[{STATUS}] 05_presentation_content.md ← Phase 5
|
|
38
|
+
[{STATUS}] 06_speaker_script.md ← Phase 5
|
|
39
|
+
[{STATUS}] 07_qa_preparation.md ← Phase 5
|
|
40
|
+
[{STATUS}] 08_executive_summary.md ← Phase 5
|
|
41
|
+
[{STATUS}] prototype/cjm-prototype.jsx ← Phase 2.5
|
|
42
|
+
[{STATUS}] diagrams/*.mermaid ← Phase 3-4
|
|
43
|
+
[{STATUS}] README.md ← Phase 6
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Status: `x` = done, ` ` = pending
|
|
47
|
+
|
|
48
|
+
## Phase Timing Calculator
|
|
49
|
+
|
|
50
|
+
Given total hours `T`:
|
|
51
|
+
|
|
52
|
+
| Phase | % | Minutes (T=4h) | Minutes (T=2h) | Minutes (T=6h) |
|
|
53
|
+
|-------|---|-----------------|-----------------|-----------------|
|
|
54
|
+
| Phase 0 | 15% | 36 | 18 | 54 |
|
|
55
|
+
| Phase 1 | 5% | 12 | 6 | 18 |
|
|
56
|
+
| Phase 2 | 15% | 36 | 18 | 54 |
|
|
57
|
+
| Phase 2.5 | 10% | 24 | 12 | 36 |
|
|
58
|
+
| Phase 3 | 15% | 36 | 18 | 54 |
|
|
59
|
+
| Phase 4 | 15% | 36 | 18 | 54 |
|
|
60
|
+
| Phase 5 | 20% | 48 | 24 | 72 |
|
|
61
|
+
| Buffer | 5% | 12 | 6 | 18 |
|
|
62
|
+
|
|
63
|
+
## Research Directory Initializer
|
|
64
|
+
|
|
65
|
+
Standard structure for new research:
|
|
66
|
+
```
|
|
67
|
+
researches/{slug}/
|
|
68
|
+
├── prototype/
|
|
69
|
+
├── diagrams/
|
|
70
|
+
└── README.md
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
README.md template:
|
|
74
|
+
```markdown
|
|
75
|
+
# Исследование: {CASE_NAME}
|
|
76
|
+
|
|
77
|
+
**Создано:** {DATE}
|
|
78
|
+
**Статус:** 🟡 В работе
|
|
79
|
+
**Домен:** {DOMAIN}
|
|
80
|
+
**Тайминг:** {HOURS} часов
|
|
81
|
+
|
|
82
|
+
## Артефакты
|
|
83
|
+
- [ ] Phase 0: Product Discovery
|
|
84
|
+
- [ ] Phase 1: Case Brief
|
|
85
|
+
- [ ] Phase 2: Research Findings
|
|
86
|
+
- [ ] Phase 2.5: CJM Prototype ⭐
|
|
87
|
+
- [ ] Phase 3: Solution Strategy
|
|
88
|
+
- [ ] Phase 4: Architecture
|
|
89
|
+
- [ ] Phase 5: Presentation
|
|
90
|
+
- [ ] Phase 6: Packaging
|
|
91
|
+
|
|
92
|
+
## Описание кейса
|
|
93
|
+
{CASE_DESCRIPTION}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Domain Auto-Detection
|
|
97
|
+
|
|
98
|
+
Keywords → Domain mapping:
|
|
99
|
+
|
|
100
|
+
| Keywords | Domain | Palette |
|
|
101
|
+
|----------|--------|---------|
|
|
102
|
+
| банк, кредит, ЦБ, платёж, финтех | Banking | Blue/Navy/Silver |
|
|
103
|
+
| магазин, ритейл, товар, корзина, e-commerce | Retail | Amber/Orange |
|
|
104
|
+
| HR, найм, onboarding, сотрудник, кадры | Enterprise/HR | Teal/Indigo |
|
|
105
|
+
| врач, пациент, клиника, диагноз, медицина | Healthcare | Green/White |
|
|
106
|
+
| суд, договор, юрист, иск, право | Legal | Slate/Navy |
|
|
107
|
+
| процесс, BPM, автоматизация, workflow | Process/BPM | Violet/Gray |
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Skill Loader — Universal Skill Loading Protocol
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
Standardized protocol for loading skills before each phase.
|
|
5
|
+
Ensures consistent skill activation across Claude Code and claude.ai environments.
|
|
6
|
+
|
|
7
|
+
## Loading Protocol
|
|
8
|
+
|
|
9
|
+
### In Claude Code (this repository)
|
|
10
|
+
```
|
|
11
|
+
Read(".claude/skills/{skill-name}/SKILL.md")
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
### In claude.ai (web)
|
|
15
|
+
```
|
|
16
|
+
view("/mnt/skills/user/{skill-name}/SKILL.md")
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Skill Registry
|
|
20
|
+
|
|
21
|
+
| Skill ID | Path (Claude Code) | Path (claude.ai) | Used By Phases |
|
|
22
|
+
|----------|-------------------|-------------------|----------------|
|
|
23
|
+
| explore | .claude/skills/explore/ | /mnt/skills/user/explore/ | Phase 1 |
|
|
24
|
+
| frontend-design | .claude/skills/frontend-design/ | /mnt/skills/public/frontend-design/ | Phase 2.5 |
|
|
25
|
+
| goap-research-ed25519 | .claude/skills/goap-research-ed25519/ | /mnt/skills/user/goap-research-ed25519/ | Phase 2, 2.5 |
|
|
26
|
+
| presentation-storyteller | .claude/skills/presentation-storyteller/ | /mnt/skills/user/presentation-storyteller/ | Phase 5 |
|
|
27
|
+
| problem-solver-enhanced | .claude/skills/problem-solver-enhanced/ | /mnt/skills/user/problem-solver-enhanced/ | Phase 3 |
|
|
28
|
+
| reverse-engineering-unicorn | .claude/skills/reverse-engineering-unicorn/ | /mnt/skills/user/reverse-engineering-unicorn/ | Phase 0, 2.5 |
|
|
29
|
+
|
|
30
|
+
## Phase → Skill Mapping
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
Phase 0: DISCOVERY
|
|
34
|
+
→ Load: reverse-engineering-unicorn/SKILL.md
|
|
35
|
+
→ Also read: modules/02-product-customers.md
|
|
36
|
+
|
|
37
|
+
Phase 1: EXPLORE
|
|
38
|
+
→ Load: explore/SKILL.md
|
|
39
|
+
→ Also read: references/questioning-techniques.md
|
|
40
|
+
|
|
41
|
+
Phase 2: RESEARCH
|
|
42
|
+
→ Load: goap-research-ed25519/SKILL.md
|
|
43
|
+
→ Also read: references/research-actions.md, references/source-evaluation.md
|
|
44
|
+
|
|
45
|
+
Phase 2.5: CJM PROTOTYPE
|
|
46
|
+
→ Load: reverse-engineering-unicorn/SKILL.md (module M2.5)
|
|
47
|
+
→ Also read: modules/025-cjm-prototype.md
|
|
48
|
+
→ Load: frontend-design/SKILL.md
|
|
49
|
+
→ For Variant D trends:
|
|
50
|
+
→ Load: goap-research-ed25519/SKILL.md
|
|
51
|
+
|
|
52
|
+
Phase 3: SOLVE
|
|
53
|
+
→ Load: problem-solver-enhanced/SKILL.md
|
|
54
|
+
|
|
55
|
+
Phase 4: ARCHITECTURE
|
|
56
|
+
→ No external skill (built-in templates)
|
|
57
|
+
→ Reference: lib/phase-utils.md for domain detection
|
|
58
|
+
|
|
59
|
+
Phase 5: PRESENTATION
|
|
60
|
+
→ Load: presentation-storyteller/SKILL.md
|
|
61
|
+
→ Also read: references/storytelling-frameworks.md, references/speaker-script-patterns.md
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Adding a New Skill
|
|
65
|
+
|
|
66
|
+
1. Create directory: `.claude/skills/{skill-name}/`
|
|
67
|
+
2. Create `SKILL.md` with YAML frontmatter:
|
|
68
|
+
```yaml
|
|
69
|
+
---
|
|
70
|
+
name: skill-name
|
|
71
|
+
description: What this skill does and when to trigger it.
|
|
72
|
+
---
|
|
73
|
+
```
|
|
74
|
+
3. Add reference materials in `references/` subdirectory
|
|
75
|
+
4. Add examples in `examples/` subdirectory
|
|
76
|
+
5. Update this registry
|
|
77
|
+
6. Update CLAUDE.md skill graph
|
|
78
|
+
7. Create or update the command that uses this skill
|
|
File without changes
|