@nahisaho/shikigami 1.40.0 → 1.41.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 +51 -11
  2. package/CHANGELOG.md +18 -0
  3. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -18,6 +18,11 @@
18
18
  - Do NOT read files, search, or analyze before project setup
19
19
  - Do NOT skip to "investigating" the topic
20
20
 
21
+ 3. After Phase 0, you MUST execute Phase 1 (Prompt Optimization):
22
+ - Display 6-element structured prompt
23
+ - WAIT for user approval
24
+ - Do NOT start search until user approves
25
+
21
26
  VIOLATION = WORKFLOW FAILURE
22
27
  ```
23
28
 
@@ -27,7 +32,7 @@ VIOLATION = WORKFLOW FAILURE
27
32
 
28
33
  | Item | Value |
29
34
  |------|-------|
30
- | Version | 1.40.0 |
35
+ | Version | 1.41.0 |
31
36
  | Agent Skills | 4 |
32
37
  | MCP Tools | 11 |
33
38
  | Frameworks | 53 |
@@ -312,13 +317,16 @@ DO:
312
317
  3. After user confirms name: Execute npx shikigami new <ProjectName>
313
318
  4. Execute set_project(autoDetect: true)
314
319
  5. Save original prompt with save_prompt(type: "original")
320
+ 6. IMMEDIATELY proceed to Phase 1 (Prompt Optimization) - DO NOT START SEARCH
315
321
  OUTPUT: projects/pjXXXXX_ProjectName_YYYYMMDD/
322
+ NEXT: Phase 1 (Prompt Optimization) - NOT Phase 3 (Search)
316
323
  ```
317
324
 
318
325
  **CRITICAL**:
319
- - If user indicates project is already created → skip to set_project and proceed
326
+ - If user indicates project is already created → skip to set_project and proceed to Phase 1
320
327
  - If new request → MUST ask user for project name confirmation
321
328
  - You MUST NOT skip to research phase without project activation
329
+ - After Phase 0, you MUST execute Phase 1 (NOT jump to search)
322
330
 
323
331
  **Naming Rules**:
324
332
  - Folder: `pjXXXXX_ProjectName_YYYYMMDD`
@@ -327,24 +335,56 @@ OUTPUT: projects/pjXXXXX_ProjectName_YYYYMMDD/
327
335
 
328
336
  ### Phase 1: Prompt Optimization
329
337
 
330
- **THIS PHASE IS MANDATORY - DO NOT SKIP**
338
+ **🚨🚨🚨 THIS PHASE IS MANDATORY - NEVER SKIP 🚨🚨🚨**
331
339
 
332
340
  ```
333
- WHEN: Phase 0 completed
341
+ WHEN: Phase 0 completed (project created and set_project called)
334
342
  DO:
335
- 1. Analyze original prompt and structure into 6 elements (see table below)
336
- 2. Display structured prompt to user in formatted table
337
- 3. Save with save_prompt(type: "structured")
338
- 4. Ask user: "Please review and approve this structured prompt, or suggest modifications."
339
- 5. WAIT for user approval (do NOT proceed without approval)
340
- 6. Save approval/modifications with save_prompt(type: "approval" or "instruction")
343
+ 1. STOP - Do NOT start searching yet
344
+ 2. Analyze original prompt and structure into 6 elements (see table below)
345
+ 3. Display structured prompt to user in formatted table
346
+ 4. Save with save_prompt(type: "structured")
347
+ 5. Ask user: "Please review and approve this structured prompt, or suggest modifications."
348
+ 6. WAIT for user approval (do NOT proceed without approval)
349
+ 7. Save approval/modifications with save_prompt(type: "approval" or "instruction")
341
350
  OUTPUT: 6-element structured prompt (user approved)
351
+
352
+ FORBIDDEN (IMMEDIATE VIOLATION):
353
+ - Starting search/visit before user approves structured prompt
354
+ - Skipping directly to Phase 2 or Phase 3
355
+ - Proceeding without displaying the 6-element table
356
+ - Assuming user approval without explicit confirmation
342
357
  ```
343
358
 
344
359
  **CRITICAL**:
345
360
  - You MUST display the 6-element structured prompt
346
361
  - You MUST wait for user approval before proceeding to Phase 2
347
362
  - You MUST NOT skip prompt optimization
363
+ - You MUST NOT start web search until Phase 3
364
+
365
+ **CORRECT FLOW AFTER PROJECT CREATION**:
366
+ ```
367
+ Agent: "プロジェクトを作成しました。次にプロンプトを構造化します。
368
+
369
+ | 要素 | 内容 |
370
+ |------|------|
371
+ | PURPOSE | ... |
372
+ | TARGET | ... |
373
+ | SCOPE | ... |
374
+ | TIMELINE | ... |
375
+ | CONSTRAINTS | ... |
376
+ | DELIVERABLES | ... |
377
+
378
+ この構造化プロンプトを確認して承認してください。修正があればお知らせください。"
379
+
380
+ → WAIT for user response ←
381
+ ```
382
+
383
+ **INCORRECT FLOW (VIOLATION)**:
384
+ ```
385
+ Agent: "プロジェクトを作成しました。では調査を開始します..." ← ❌ WRONG!
386
+ Agent: "検索します..." ← ❌ WRONG! Phase 1 skipped!
387
+ ```
348
388
 
349
389
  **6 Elements**:
350
390
  | Element | Description |
@@ -675,4 +715,4 @@ DO: Auto-detect Shift_JIS/EUC-JP/ISO-2022-JP and convert to UTF-8
675
715
  ---
676
716
 
677
717
  **Last Updated**: 2026-01-28
678
- **Version**: 1.40.0
718
+ **Version**: 1.41.0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ 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.41.0] - 2026-01-28
9
+
10
+ ### Added
11
+
12
+ - **AGENTS.md: Enforce Phase 1 (Prompt Optimization) execution**
13
+ - Added Phase 1 requirement to ABSOLUTE FIRST RULE section
14
+ - Added CORRECT/INCORRECT flow examples for Phase 1
15
+ - Added FORBIDDEN list for Phase 1 violations
16
+ - Phase 0 output now explicitly states "NEXT: Phase 1"
17
+
18
+ ### Changed
19
+
20
+ - **AGENTS.md: Stronger Phase 1 enforcement**
21
+ - Phase 1 header: "🚨🚨🚨 THIS PHASE IS MANDATORY - NEVER SKIP 🚨🚨🚨"
22
+ - Added step "STOP - Do NOT start searching yet" as first action
23
+ - Explicit prohibition against starting search before user approval
24
+ - Phase 0 CRITICAL section now includes "After Phase 0, you MUST execute Phase 1"
25
+
8
26
  ## [1.40.0] - 2026-01-28
9
27
 
10
28
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nahisaho/shikigami",
3
- "version": "1.40.0",
3
+ "version": "1.41.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",