create-ai-project 1.20.8 → 1.20.9

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 (78) hide show
  1. package/.claude/agents-en/acceptance-test-generator.md +5 -1
  2. package/.claude/agents-en/code-reviewer.md +83 -40
  3. package/.claude/agents-en/code-verifier.md +84 -40
  4. package/.claude/agents-en/codebase-analyzer.md +7 -8
  5. package/.claude/agents-en/design-sync.md +1 -1
  6. package/.claude/agents-en/document-reviewer.md +5 -6
  7. package/.claude/agents-en/integration-test-reviewer.md +5 -5
  8. package/.claude/agents-en/investigator.md +7 -8
  9. package/.claude/agents-en/prd-creator.md +1 -1
  10. package/.claude/agents-en/quality-fixer-frontend.md +35 -163
  11. package/.claude/agents-en/quality-fixer.md +35 -160
  12. package/.claude/agents-en/requirement-analyzer.md +5 -7
  13. package/.claude/agents-en/rule-advisor.md +4 -4
  14. package/.claude/agents-en/scope-discoverer.md +14 -6
  15. package/.claude/agents-en/security-reviewer.md +38 -15
  16. package/.claude/agents-en/skill-creator.md +1 -1
  17. package/.claude/agents-en/skill-reviewer.md +1 -1
  18. package/.claude/agents-en/solver.md +7 -6
  19. package/.claude/agents-en/task-decomposer.md +1 -1
  20. package/.claude/agents-en/task-executor-frontend.md +124 -142
  21. package/.claude/agents-en/task-executor.md +124 -162
  22. package/.claude/agents-en/technical-designer-frontend.md +141 -179
  23. package/.claude/agents-en/technical-designer.md +138 -153
  24. package/.claude/agents-en/ui-spec-designer.md +1 -1
  25. package/.claude/agents-en/verifier.md +7 -8
  26. package/.claude/agents-en/work-planner.md +18 -6
  27. package/.claude/agents-ja/acceptance-test-generator.md +6 -2
  28. package/.claude/agents-ja/code-reviewer.md +87 -44
  29. package/.claude/agents-ja/code-verifier.md +85 -41
  30. package/.claude/agents-ja/codebase-analyzer.md +7 -8
  31. package/.claude/agents-ja/design-sync.md +2 -2
  32. package/.claude/agents-ja/document-reviewer.md +7 -13
  33. package/.claude/agents-ja/integration-test-reviewer.md +6 -6
  34. package/.claude/agents-ja/investigator.md +8 -9
  35. package/.claude/agents-ja/prd-creator.md +2 -2
  36. package/.claude/agents-ja/quality-fixer-frontend.md +92 -221
  37. package/.claude/agents-ja/quality-fixer.md +84 -209
  38. package/.claude/agents-ja/requirement-analyzer.md +6 -8
  39. package/.claude/agents-ja/rule-advisor.md +5 -5
  40. package/.claude/agents-ja/scope-discoverer.md +15 -7
  41. package/.claude/agents-ja/security-reviewer.md +42 -19
  42. package/.claude/agents-ja/skill-creator.md +1 -1
  43. package/.claude/agents-ja/skill-reviewer.md +1 -1
  44. package/.claude/agents-ja/solver.md +8 -7
  45. package/.claude/agents-ja/task-decomposer.md +26 -26
  46. package/.claude/agents-ja/task-executor-frontend.md +171 -189
  47. package/.claude/agents-ja/task-executor.md +135 -170
  48. package/.claude/agents-ja/technical-designer-frontend.md +214 -252
  49. package/.claude/agents-ja/technical-designer.md +198 -212
  50. package/.claude/agents-ja/ui-spec-designer.md +2 -2
  51. package/.claude/agents-ja/verifier.md +8 -9
  52. package/.claude/agents-ja/work-planner.md +19 -7
  53. package/.claude/commands-en/add-integration-tests.md +29 -6
  54. package/.claude/commands-en/build.md +18 -13
  55. package/.claude/commands-en/front-build.md +18 -13
  56. package/.claude/commands-en/front-review.md +12 -1
  57. package/.claude/commands-en/implement.md +16 -7
  58. package/.claude/commands-en/review.md +12 -1
  59. package/.claude/commands-ja/add-integration-tests.md +37 -14
  60. package/.claude/commands-ja/build.md +29 -24
  61. package/.claude/commands-ja/front-build.md +29 -24
  62. package/.claude/commands-ja/front-review.md +12 -1
  63. package/.claude/commands-ja/implement.md +24 -15
  64. package/.claude/commands-ja/review.md +12 -1
  65. package/.claude/skills-en/documentation-criteria/SKILL.md +2 -2
  66. package/.claude/skills-en/documentation-criteria/references/task-template.md +4 -1
  67. package/.claude/skills-en/documentation-criteria/references/ui-spec-template.md +1 -1
  68. package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +15 -9
  69. package/.claude/skills-en/task-analyzer/references/skills-index.yaml +3 -2
  70. package/.claude/skills-en/typescript-testing/SKILL.md +1 -1
  71. package/.claude/skills-ja/documentation-criteria/SKILL.md +3 -3
  72. package/.claude/skills-ja/documentation-criteria/references/task-template.md +26 -23
  73. package/.claude/skills-ja/documentation-criteria/references/ui-spec-template.md +1 -1
  74. package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +15 -9
  75. package/.claude/skills-ja/task-analyzer/references/skills-index.yaml +3 -2
  76. package/.claude/skills-ja/typescript-testing/SKILL.md +1 -1
  77. package/CHANGELOG.md +44 -0
  78. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,50 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.20.9] - 2026-05-01
9
+
10
+ ### Added
11
+
12
+ - **task-executor / -frontend: Fix Mode** (agents) — New optional `requiredFixes` and `incompleteImplementations` input parameters trigger Fix Mode. In Fix Mode the executor drives work from fix items instead of task file checkboxes, skips the `task_already_completed` gate, extends the allowed file list with each item's `file_path` (path) or `location` (parsed as `file[:line]`, file part only), and leaves task checkboxes unchanged. Outcomes recorded in `changeSummary`. Exit Gate validates Fresh Mode checkbox completion AND Fix Mode item coverage
13
+ - **task-executor / -frontend: File Scope Constraint** (agents) — Allowed file list built explicitly from Target Files entries plus the task file, the referenced work plan, `Provides:` deliverable paths, and (in Fix Mode) fix item file paths. Modifications outside this set escalate as `out_of_scope_file` with `details.file_path` / `allowed_list` / `modification_reason`
14
+ - **task-executor / -frontend: Investigation Notes persistence** (agents) — Step 2 appends observations from each Investigation Target to the task file's `## Investigation Notes` section before implementation. Exit Gate references the recorded notes as the consistency check baseline
15
+ - **task-executor / -frontend: Phase Entry Gate / Step Completion Gates separation** (agents) — Phase Entry Gate now covers only true preconditions (skills loaded, task_file resolution input). Mid-flow conditions (task file content readable, uncompleted checkboxes, Target Files extracted, Investigation Targets read) move to Step 1 / Step 2 Completion Gates. New Exit Gate runs immediately before final JSON output
16
+ - **task-executor / -frontend: granular `escalation_type` enum** (agents) — `task_file_not_found`, `task_already_completed`, `target_files_missing`, and `out_of_scope_file` added alongside existing types. Each carries a typed details payload via the common envelope and per-type contract table in Structured Response Specification
17
+ - **security-reviewer: `suspected_risk` category and confidence-aware status routing** (agents) — Findings whose exploitability is uncertain or partially mitigated downgrade from `confirmed_risk` to `suspected_risk` (with `confidence` and rationale) instead of being discarded. High-confidence `suspected_risk` on primary input boundaries (auth, input boundaries, data persistence) routes the response to `blocked` for human investigation. `requiredFixes` remains code-level only
18
+ - **security-reviewer: structured `requiredFixes` items** (agents) — Each entry now carries `{location, issue, fix}` with `location` parseable as `file[:line]` so downstream Fix Mode can extend its allowed file list correctly
19
+ - **quality-fixer / -frontend: `filesModified` primary scope** (agents) — New optional input parameter passes the implementation step's write set as the primary scope for stub-detection. Falls back to `git diff HEAD` when absent. Prevents cross-task false positives when multiple commits accumulate in the working tree
20
+ - **technical-designer / -frontend: Gate 0 / 1 / 2 / 3 ordering** (agents) — Mandatory Process Before Design Doc Creation reorganized into four serial gates (Inputs and Standards / Existing State Analysis / Design Decisions / Impact Documentation). Each subsection annotated with its gate number; subsection order matches gate order
21
+ - **subagents-orchestration-guide: scale-aware Small Scale flow** (skills) — Small Scale (1-2 files) flow now declares that work-planner emits a single task-template-format file directly under `docs/plans/tasks/` and that path is what task-executor receives as `task_file`. Document Requirement table Small row carries the same contract
22
+ - **work-planner: `scale` input parameter and Output Mode by Scale table** (agents) — `scale: small | medium | large` controls output: `small` produces a single task-template-format file under `docs/plans/tasks/` (no separate plan + decomposition); `medium` / `large` produce a plan-template-format work plan under `docs/plans/`. Step 7 branches accordingly
23
+ - **All JSON-returning agents: Output Protocol section** (agents) — Single-sentence directive that the final message is exactly one JSON object matching the schema below (begins with `{`, ends with `}`, no code fence) and that progress text appears only in earlier messages
24
+ - **Self-Validation [BLOCKING — before output] sections** (agents) — Replaces former `## Output Self-Check` blocks across JSON-returning agents. Includes return-to-step recovery rule when any item is unsatisfied. Applied to both EN and JA mirrors
25
+ - **subagents-orchestration-guide: explicit subagent prompt construction rules** (skills) — Two new rules: subagents see only the Agent tool prompt and files they read (so paths, prior JSON, parameters, scope constraints must be injected explicitly); every `[placeholder]` in the call examples must be replaced with concrete values before invoking the Agent tool
26
+ - **task-template: `## Investigation Notes` section** (skills) — New section between Investigation Targets and Implementation Steps. Implementation observations are appended here before implementation begins
27
+
28
+ ### Changed
29
+
30
+ - **Recipes: Fix Mode wiring across the orchestration cycle** (commands) — `needs_revision` and `stub_detected` re-runs now route through executor Fix Mode with the same `task_file` and `requiredFixes[]` / `incompleteImplementations[]` array. quality-fixer invocations always pass the upstream step's `filesModified` array (with `git diff HEAD` fallback when omitted). Applied to build / front-build / implement / review / front-review / add-integration-tests
31
+ - **Recipes: consolidated fix task file pattern for cross-task verifier outputs** (commands) — Post-implementation Fix cycle and security-reviewer needs_revision route now create a consolidated fix task file (`docs/plans/tasks/post-impl-fixes-YYYYMMDD.md` / `security-fixes-YYYYMMDD.md`) whose Target Files cover every file referenced by all verifier outputs (parsed as `file[:line]`, file part only). Verifier outputs normalized into a unified `requiredFixes[]` before invoking task-executor: `security-reviewer.requiredFixes[]` passes through; `code-verifier.discrepancies[]` converts to `{location, issue, fix}` with planned-target fallback when `codeLocation` is `null`
32
+ - **task-executor / -frontend: progress checkbox update conditional on file existence** (agents) — Task file is always updated; work plan and overall design are updated only when the corresponding files exist. At small scale only the task file exists, so the other two are skipped without escalation
33
+ - **technical-designer / -frontend: Fact Disposition prose to 4-row table** (agents) — Disposition selection criteria (preserve / transform / remove / out-of-scope) reorganized into a table with columns for "when to use", "rationale must state", and "review-time mismatch flag". All four categories preserved
34
+ - **technical-designer / -frontend: Implementation Approach Decision and AC guidelines tables** (agents) — Strategy selection (Vertical / Horizontal / Hybrid) and Verification Strategy by `design_type` rendered as tables. Acceptance Criteria Include / Exclude lists rendered as a 7-row table
35
+ - **quality-fixer / -frontend: Output Format compression** (agents) — Four full per-status JSON examples replaced by a common envelope plus per-status field table plus one minimal example. Mermaid Fix Determination Flow removed (duplicated Fix Execution Policy). Debugging Hints and Correct Fix Patterns consolidated into a single Anti-patterns table
36
+ - **task-executor / -frontend: Escalation Response common trunk** (agents) — Six full JSON examples replaced by a common envelope plus per-type contract table plus one minimal example
37
+ - **All agents: Task Registration wording** (agents) — "first 'Confirm skill constraints', final 'Verify skill fidelity'" replaced with "first task 'Map preloaded skills to applicable concrete rules' and final task 'Verify the mapped rules before final JSON' (or 'before producing the final output' for document-producing agents)"
38
+ - **Recipes: Scope Boundary for Subagents replaces MANDATORY suffix** (commands) — Old "[SYSTEM CONSTRAINT] within X skill scope" suffix replaced with a positive scope-boundary block (operate within task scope and referenced files; use loaded skills; escalate when out of scope). Inline per command, no centralization
39
+ - **subagents-orchestration-guide: Subagent I/O table updates** (skills) — task-executor row carries the full `escalation_type` enum and Fix Mode signal description; quality-fixer row documents `filesModified`; integration-test-reviewer / security-reviewer rows describe Fix Mode routing (security-reviewer routes through a consolidated fix task file)
40
+ - **task-decomposer: English canonical headings in generated tasks** (agents) — Task Structuring step explicitly instructs use of task-template's English headings (`## Target Files`, `## Investigation Targets`, `## Implementation Steps (TDD: Red-Green-Refactor)`, `## Quality Assurance Mechanisms`, `## Operation Verification Methods`, `## Completion Criteria`) with a note that headings are not translated, so executor extraction stays consistent across language environments
41
+ - **task-template: machine-read identifiers preserved as English** (skills) — Section headings and `Metadata:` keys (`Dependencies:`, `Provides:`, `Size:`, `Deliverable:`) kept as English so executor parsing remains language-independent. Body prose remains natural Japanese
42
+ - **JA mirror: routing markers naturalized in frontmatter** (agents) — "Use when / Use PROACTIVELY / MUST BE USED PROACTIVELY" replaced with natural Japanese ("使用するシーン: / 積極的に使用するシーン: / 必ず積極的に使用するシーン:"); keyword pairs that aid routing preserved
43
+ - **JA mirror: terminology unified** (commands, skills) — `step N` → ステップN; `cross-layer` → レイヤー横断; `Layer-Aware Agent Routing` → レイヤー別エージェントルーティング; `INVOKE` → 呼び出す; `consolidated fix task file` → 統合修正タスクファイル; `stub-detection` → 未完成実装検出
44
+ - **Compression of six largest agent files** (agents) — task-executor.md 459 → 315; task-executor-frontend.md 428 → 303; quality-fixer.md 409 → 275; quality-fixer-frontend.md 453 → 316; technical-designer.md 471 → 429; technical-designer-frontend.md 471 → 409. All decision criteria, escalation_types, Fix Mode contract, Gate ordering, and JSON schemas preserved
45
+
46
+ ### Fixed
47
+
48
+ - **subagents-orchestration-guide: acceptance-test-generator I/O row information loss** (skills) — Restored fields lost in an earlier translation pass: `budgetUsage`, `integration: path|null` (was `string`), `e2eAbsenceReason` enum values (`no_multi_step_journey | below_threshold_user_confirmed`), and the "verify files exist" instruction
49
+ - **task-executor / -frontend: typo** (agents) — テスト嚗空化 → テスト空洞化 in Step 2 Quality Standard Violation Check
50
+ - **JA mirror: stale references and English residue** (agents, commands, skills) — Task Registration old wording, "JSON format is mandatory" boilerplate, "Output Self-Check" sections, and "Final response is the JSON output" checklist items removed in favor of the new Output Protocol / Self-Validation [BLOCKING] structure. Awkward spacing around contract terms (`ルーティング先のexecutor`, `executorをFix Mode`, `task-template を用いて 統合`) corrected
51
+
8
52
  ## [1.20.8] - 2026-04-17
9
53
 
10
54
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-project",
3
- "version": "1.20.8",
3
+ "version": "1.20.9",
4
4
  "packageManager": "npm@10.8.2",
5
5
  "description": "TypeScript boilerplate with skills and sub-agents for Claude Code. Prevents context exhaustion through role-based task splitting.",
6
6
  "keywords": [