mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-25 19:48:33 +08:00
feat: standardize request_user_input schema across all codex skills and add config reminder
- Update all 68 .codex/skills files to use correct request_user_input schema (header, id, question, options with label/description) - Remove deprecated multiSelect, type, value, prompt fields - Add mandatory confirmation gates to planning-only skills - Add Codex config.toml reminder to ccw install CLI - Add Codex configuration section to README.md and README_CN.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
name: project-documentation-workflow
|
||||
description: Wave-based comprehensive project documentation generator with dynamic task decomposition. Analyzes project structure and generates appropriate documentation tasks, computes optimal execution waves via topological sort, produces complete documentation suite including architecture, methods, theory, features, usage, and design philosophy.
|
||||
argument-hint: "[-y|--yes] [-c|--concurrency N] [--continue] \"project path or description\""
|
||||
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
||||
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
||||
---
|
||||
|
||||
## Auto Mode
|
||||
@@ -295,8 +295,18 @@ ${waveDistribution.map(w => `║ Wave ${w.wave}: ${w.tasks} tasks${' '.repeat(
|
||||
}
|
||||
}
|
||||
|
||||
const confirm = AskUserQuestion("Proceed with this task breakdown?")
|
||||
if (!confirm) {
|
||||
const answer = request_user_input({
|
||||
questions: [{
|
||||
header: "确认任务",
|
||||
id: "confirm_tasks",
|
||||
question: "Proceed with this task breakdown?",
|
||||
options: [
|
||||
{ label: "Proceed(Recommended)", description: "Start wave execution with this task breakdown" },
|
||||
{ label: "Cancel", description: "Abort and modify tasks manually" }
|
||||
]
|
||||
}]
|
||||
})
|
||||
if (answer.answers.confirm_tasks.answers[0] !== "Proceed(Recommended)") {
|
||||
console.log("Aborted. Use --continue to resume with modified tasks.")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user