@nahisaho/shikigami 1.34.0 → 1.37.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.
Files changed (3) hide show
  1. package/AGENTS.md +108 -30
  2. package/CHANGELOG.md +33 -0
  3. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -1,4 +1,4 @@
1
- # SHIKIGAMI - Deep Research Agent Skills v1.34.0
1
+ # SHIKIGAMI - Deep Research Agent Skills v1.35.0
2
2
 
3
3
  > Knowledge for AI Coding Agents — Triggers and Actions defined with WHEN/DO syntax
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  | Item | Value |
10
10
  |------|-------|
11
- | Version | 1.34.0 |
11
+ | Version | 1.37.0 |
12
12
  | Agent Skills | 4 |
13
13
  | MCP Tools | 11 |
14
14
  | Frameworks | 53 |
@@ -24,9 +24,13 @@
24
24
 
25
25
  ```
26
26
  WHEN: Received a research, investigation, or analysis request
27
- DO: Always execute `npx shikigami new <ProjectName>` before starting research
27
+ DO:
28
+ - If user says "project created" or "created project directory":
29
+ → Call set_project(autoDetect: true) and proceed to Phase 1
30
+ - Otherwise:
31
+ → Execute `npx shikigami new <ProjectName>` before starting research
28
32
  THEN: Call set_project(autoDetect: true) to activate the project
29
- FORBIDDEN: Web search, using search tools, or gathering information before project creation
33
+ FORBIDDEN: Web search, using search tools, or gathering information before project activation
30
34
  ```
31
35
 
32
36
  ### Prohibition 2: save_research Required After search/visit
@@ -70,20 +74,40 @@ save_prompt(content: <user_input>, type: "original"|"answer"|"instruction"|"feed
70
74
 
71
75
  ## Workflow Execution Order
72
76
 
73
- When receiving a research request, strictly follow this order:
77
+ **CRITICAL: Follow this order EXACTLY. Do NOT skip steps.**
74
78
 
75
- 1. **Decide Project Name** Confirm with user (CamelCase, alphanumeric only)
76
- 2. **Create Project** → `npx shikigami new <ProjectName>`
79
+ ### Case A: User already created project directory
80
+
81
+ When user says "project created", "created project", or similar:
82
+
83
+ 1. **Set Context** → `set_project(autoDetect: true)`
84
+ 2. **Save Original Prompt** → `save_prompt(type: "original")`
85
+ 3. **Prompt Optimization** (Phase 1) → Structure into 6 elements → Display → **WAIT for user approval**
86
+ 4. **Purpose Discovery** (Phase 2) → Discover true purpose through 1Q1A dialogue
87
+ 5. **Deep Research** (Phase 3) → Think→Search→Report→Action cycle
88
+ 6. **Framework Analysis** (Phase 4) → Apply SWOT/3C/PEST etc.
89
+ 7. **Report Generation** (Phase 5) → Create structured report
90
+ 8. **Complete** (Phase 6) → Update manifest.yaml, verify deliverables
91
+
92
+ ### Case B: New research request (no project yet)
93
+
94
+ When receiving a new research request:
95
+
96
+ 1. **ASK Project Name** → "What project name would you like?" → **WAIT for user response**
97
+ 2. **Create Project** → `npx shikigami new <ProjectName>` (only after user confirms)
77
98
  3. **Set Context** → `set_project(autoDetect: true)`
78
99
  4. **Save Original Prompt** → `save_prompt(type: "original")`
79
100
  5. **Verify Folder** → Confirm `projects/pjXXXXX_<Name>_YYYYMMDD/` exists
80
- 6. **Inherit Knowledge** → Search past reports
81
- 7. **Prompt Optimization** (Phase 1) → Structure into 6 elements User approval
82
- 8. **Purpose Discovery** (Phase 2) → Discover true purpose through 1Q1A dialogue
83
- 9. **Deep Research** (Phase 3) → Think→Search→Report→Action cycle
84
- 10. **Framework Analysis** (Phase 4) → Apply SWOT/3C/PEST etc.
85
- 11. **Report Generation** (Phase 5) → Create structured report
86
- 12. **Complete** (Phase 6) → Update manifest.yaml, verify deliverables
101
+ 6. **Prompt Optimization** (Phase 1) Structure into 6 elements → Display → **WAIT for user approval**
102
+ 7. **Purpose Discovery** (Phase 2) → Discover true purpose through 1Q1A dialogue
103
+ 8. **Deep Research** (Phase 3) → Think→Search→Report→Action cycle
104
+ 9. **Framework Analysis** (Phase 4) → Apply SWOT/3C/PEST etc.
105
+ 10. **Report Generation** (Phase 5) → Create structured report
106
+ 11. **Complete** (Phase 6) → Update manifest.yaml, verify deliverables
107
+
108
+ **MANDATORY APPROVAL POINTS** (must wait for user before proceeding):
109
+ - Case B Step 1: Project name confirmation
110
+ - Phase 1 (both cases): Structured prompt approval
87
111
 
88
112
  ---
89
113
 
@@ -94,13 +118,25 @@ When receiving a research request, strictly follow this order:
94
118
  ```
95
119
  WHEN: Received research request
96
120
  DO:
97
- 1. Confirm project name with user
98
- 2. Execute npx shikigami new <ProjectName>
99
- 3. Execute set_project(autoDetect: true)
100
- 4. Save original prompt with save_prompt(type: "original")
121
+ Case A - User says "project created" / "created project directory":
122
+ 1. Execute set_project(autoDetect: true)
123
+ 2. Save original prompt with save_prompt(type: "original")
124
+ 3. Proceed to Phase 1 immediately
125
+
126
+ Case B - New request (no project mentioned):
127
+ 1. STOP and ask user: "What project name would you like? (CamelCase, alphanumeric only)"
128
+ 2. WAIT for user response (do NOT proceed without approval)
129
+ 3. After user confirms name: Execute npx shikigami new <ProjectName>
130
+ 4. Execute set_project(autoDetect: true)
131
+ 5. Save original prompt with save_prompt(type: "original")
101
132
  OUTPUT: projects/pjXXXXX_ProjectName_YYYYMMDD/
102
133
  ```
103
134
 
135
+ **CRITICAL**:
136
+ - If user indicates project is already created → skip to set_project and proceed
137
+ - If new request → MUST ask user for project name confirmation
138
+ - You MUST NOT skip to research phase without project activation
139
+
104
140
  **Naming Rules**:
105
141
  - Folder: `pjXXXXX_ProjectName_YYYYMMDD`
106
142
  - ProjectName: CamelCase, alphanumeric only (hyphens, spaces, Japanese characters prohibited)
@@ -108,17 +144,25 @@ OUTPUT: projects/pjXXXXX_ProjectName_YYYYMMDD/
108
144
 
109
145
  ### Phase 1: Prompt Optimization
110
146
 
147
+ **THIS PHASE IS MANDATORY - DO NOT SKIP**
148
+
111
149
  ```
112
150
  WHEN: Phase 0 completed
113
151
  DO:
114
- 1. Structure original prompt into 6 elements
115
- 2. Display structured prompt
152
+ 1. Analyze original prompt and structure into 6 elements (see table below)
153
+ 2. Display structured prompt to user in formatted table
116
154
  3. Save with save_prompt(type: "structured")
117
- 4. Wait for user approval
118
- 5. Save approval/modifications with save_prompt
155
+ 4. Ask user: "Please review and approve this structured prompt, or suggest modifications."
156
+ 5. WAIT for user approval (do NOT proceed without approval)
157
+ 6. Save approval/modifications with save_prompt(type: "approval" or "instruction")
119
158
  OUTPUT: 6-element structured prompt (user approved)
120
159
  ```
121
160
 
161
+ **CRITICAL**:
162
+ - You MUST display the 6-element structured prompt
163
+ - You MUST wait for user approval before proceeding to Phase 2
164
+ - You MUST NOT skip prompt optimization
165
+
122
166
  **6 Elements**:
123
167
  | Element | Description |
124
168
  |---------|-------------|
@@ -186,22 +230,56 @@ OUTPUT: Framework application results, analysis insights, recommended actions
186
230
  | Trigger Keywords | Recommended Frameworks |
187
231
  |------------------|------------------------|
188
232
  | strategy, strengths, weaknesses, opportunities, threats | SWOT, PEST, 5Forces, 3C |
189
- | matching, fit, partnership | Matching Matrix |
190
- | roadmap, plan, phases | Technology Roadmap |
191
- | customer, user, persona | Persona Analysis, STP |
233
+ | matching, fit, partnership, collaboration | Matching Matrix |
234
+ | roadmap, plan, phases, timeline | Technology Roadmap |
235
+ | customer, user, persona, segment | Persona Analysis, STP, Customer Journey |
236
+ | pricing, price, cost, value | 4P, Value-Based Pricing, Price Sensitivity |
237
+ | market entry, go-to-market, launch | AARRR, GTM Strategy, Ansoff Matrix |
238
+ | competitive, differentiation, positioning | Blue Ocean, Positioning Map, Competitive Analysis |
239
+ | process, efficiency, workflow, optimization | Value Chain, ECRS, Business Process |
240
+ | decision, prioritization, evaluation | Decision Matrix, Eisenhower, Weighted Scoring |
241
+ | business model, revenue, monetization | Business Model Canvas, Lean Canvas, Revenue Model |
242
+ | root cause, problem, issue, why | Fishbone (Ishikawa), 5 Whys, Issue Tree |
243
+ | organization, team, structure, roles | McKinsey 7S, RACI, Org Design |
244
+ | risk, uncertainty, mitigation | Risk Matrix, FMEA, Scenario Planning |
245
+ | innovation, idea, creativity | Design Thinking, SCAMPER, Brainstorming |
246
+ | growth, scale, expansion | BCG Matrix, GE Matrix, Product Lifecycle |
247
+
248
+ **CRITICAL**: Select framework based on research PURPOSE, not just keywords. When multiple frameworks apply, prioritize:
249
+ 1. Frameworks that directly answer the user's core question
250
+ 2. Frameworks with available data from Phase 3 research
251
+ 3. Simpler frameworks over complex ones when depth is similar
192
252
 
193
253
  ### Phase 5: Report Generation
194
254
 
195
255
  ```
196
256
  WHEN: Phase 4 completed, 1+ framework applied
197
257
  DO:
198
- 1. Determine report structure (research report/proposal/Qiita article etc.)
199
- 2. Write content (with hallucination prevention check)
200
- 3. Organize citations and references (URL required for all data)
201
- 4. Quality verification (numerical consistency, executive summary sync)
258
+ 1. Select appropriate report template (see Template Selection below)
259
+ 2. Write content following template structure
260
+ 3. Hallucination prevention check (verify all facts against sources)
261
+ 4. Organize citations and references (URL required for all data)
262
+ 5. Quality verification (numerical consistency, executive summary sync)
202
263
  OUTPUT: Completed report (under reports/), reference list
203
264
  ```
204
265
 
266
+ **Template Selection Criteria**:
267
+ | Report Type | Template | Use When |
268
+ |-------------|----------|----------|
269
+ | Research Report | research-report | General investigation, market research, technology assessment |
270
+ | Proposal | proposal | Recommendations, action plans, business cases |
271
+ | Qiita Article | qiita-article | Technical content for publication |
272
+ | Executive Summary | executive-summary | Brief overview for decision makers |
273
+ | Comparison Report | comparison-report | Product/service/technology comparisons |
274
+ | Feasibility Study | feasibility-study | Viability assessment, go/no-go decisions |
275
+ | Competitive Analysis | competitive-analysis | Competitor landscape, positioning |
276
+ | Technical Report | technical-report | Deep technical investigation |
277
+
278
+ **CRITICAL**: Always use `shikigami-report-template` skill to load the appropriate template BEFORE writing. Template provides:
279
+ - Required sections and structure
280
+ - Formatting guidelines
281
+ - Quality checklist
282
+
205
283
  ---
206
284
 
207
285
  ## MCP Tools List
@@ -414,4 +492,4 @@ DO: Auto-detect Shift_JIS/EUC-JP/ISO-2022-JP and convert to UTF-8
414
492
  ---
415
493
 
416
494
  **Last Updated**: 2026-01-28
417
- **Version**: 1.33.0
495
+ **Version**: 1.37.0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,39 @@ All notable changes to SHIKIGAMI will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.37.0] - 2026-01-28
9
+
10
+ ### Added
11
+
12
+ - **AGENTS.md: Enhanced framework selection criteria**
13
+ - Expanded from 4 to 15 framework categories
14
+ - Added: pricing, market entry, competitive, process, decision, business model, root cause, organization, risk, innovation, growth
15
+ - Added CRITICAL note for framework selection prioritization
16
+
17
+ - **AGENTS.md: Report template selection guidance**
18
+ - Added Template Selection Criteria table (8 report types)
19
+ - Added instruction to use `shikigami-report-template` skill before writing
20
+ - Updated Phase 5 DO steps to include template selection
21
+
22
+ ### Changed
23
+
24
+ - **AGENTS.md: Case A workflow for pre-created projects** (from v1.36.0)
25
+ - Added recognition of "project created" statements
26
+ - Split workflow into Case A (project exists) and Case B (new request)
27
+ - Phase 0 now handles both scenarios
28
+
29
+ ## [1.35.0] - 2026-01-28
30
+
31
+ ### Changed
32
+
33
+ - **AGENTS.md: Enforce mandatory approval points**
34
+ - Phase 0: Added explicit "ASK user" and "WAIT for response" instructions
35
+ - Phase 0: Added CRITICAL notes preventing skip without user approval
36
+ - Phase 1: Added "THIS PHASE IS MANDATORY - DO NOT SKIP" header
37
+ - Phase 1: Added explicit "WAIT for user approval" instruction
38
+ - Workflow: Added "MANDATORY APPROVAL POINTS" section listing required user confirmations
39
+ - Workflow: Changed "Decide Project Name" to "ASK Project Name" with explicit wait
40
+
8
41
  ## [1.34.0] - 2026-01-28
9
42
 
10
43
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/shikigami",
3
- "version": "1.34.0",
3
+ "version": "1.37.0",
4
4
  "description": "GitHub Copilot Agent Skills for Deep Research & Consulting - AI-Powered Research Assistant with 50+ Consulting Frameworks",
5
5
  "keywords": [
6
6
  "github-copilot",