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: team-designer
|
||||
description: Meta-skill for generating team skills. Analyzes requirements, scaffolds directory structure, generates role definitions and specs, validates completeness. Produces complete Codex team skill packages with SKILL.md orchestrator, CSV schemas, agent instructions, and interactive agents.
|
||||
argument-hint: "[-y|--yes] [-c|--concurrency N] [--continue] \"skill description with roles and domain\""
|
||||
allowed-tools: spawn_agents_on_csv, spawn_agent, wait, send_input, close_agent, Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
||||
allowed-tools: spawn_agents_on_csv, spawn_agent, wait, send_input, close_agent, Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
||||
---
|
||||
|
||||
## Auto Mode
|
||||
|
||||
@@ -36,7 +36,7 @@ Interactive agent for gathering and refining team skill requirements from user i
|
||||
| Tool | Type | Purpose |
|
||||
|------|------|---------|
|
||||
| `Read` | built-in | Load reference skills, existing patterns |
|
||||
| `AskUserQuestion` | built-in | Gather missing details from user |
|
||||
| `request_user_input` | built-in | Gather missing details from user |
|
||||
| `Write` | built-in | Store teamConfig.json |
|
||||
| `Glob` | built-in | Find reference skill files |
|
||||
|
||||
@@ -94,23 +94,23 @@ Write("<session>/teamConfig.json", <config>)
|
||||
1. **Core Identity** -- gather if not clear from input:
|
||||
|
||||
```javascript
|
||||
AskUserQuestion({
|
||||
request_user_input({
|
||||
questions: [
|
||||
{
|
||||
question: "Team skill name? (kebab-case, e.g., team-code-review)",
|
||||
header: "Skill Name",
|
||||
multiSelect: false,
|
||||
id: "skill_name",
|
||||
options: [
|
||||
{ label: "<auto-suggested-name>", description: "Auto-suggested from description" },
|
||||
{ label: "<auto-suggested-name> (Recommended)", description: "Auto-suggested from description" },
|
||||
{ label: "Custom", description: "Enter custom name" }
|
||||
]
|
||||
},
|
||||
{
|
||||
question: "Session prefix? (3-4 chars for task IDs, e.g., TCR)",
|
||||
header: "Prefix",
|
||||
multiSelect: false,
|
||||
id: "session_prefix",
|
||||
options: [
|
||||
{ label: "<auto-suggested-prefix>", description: "Auto-suggested" },
|
||||
{ label: "<auto-suggested-prefix> (Recommended)", description: "Auto-suggested" },
|
||||
{ label: "Custom", description: "Enter custom prefix" }
|
||||
]
|
||||
}
|
||||
@@ -186,16 +186,15 @@ Templates: <list or none>
|
||||
2. Present confirmation:
|
||||
|
||||
```javascript
|
||||
AskUserQuestion({
|
||||
request_user_input({
|
||||
questions: [{
|
||||
question: "Confirm this team skill configuration?",
|
||||
header: "Configuration Review",
|
||||
multiSelect: false,
|
||||
header: "Config Review",
|
||||
id: "config_review",
|
||||
options: [
|
||||
{ label: "Confirm", description: "Proceed with generation" },
|
||||
{ label: "Confirm (Recommended)", description: "Proceed with generation" },
|
||||
{ label: "Modify Roles", description: "Add, remove, or change roles" },
|
||||
{ label: "Modify Pipelines", description: "Change pipeline structure" },
|
||||
{ label: "Cancel", description: "Abort skill generation" }
|
||||
{ label: "Modify Pipelines", description: "Change pipeline structure" }
|
||||
]
|
||||
}]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user