Loading...
Loading...
Configure kata workflow toggles and model profile. Triggers include "settings".
npx skill4agent add gannonh/kata-skills kata-configure-settings.planning/config.jsonpr_workflowcommit_docsls .planning/config.json 2>/dev/null/kata-new-projectcat .planning/config.jsonmodeyolodepthstandardparallelizationtruemodel_profilebalancedcommit_docstruepr_workflowfalsedisplay.statuslinetrueworkflow.researchtrueworkflow.plan_checktrueworkflow.verifiertruecommit_docspr_workflowdisplay.statusline⚠️ New config options available: {list missing keys}
Adding these to your settings...AskUserQuestion([
{
question: "Which model profile for agents?",
header: "Model",
multiSelect: false,
options: [
{ label: "Quality", description: "Opus everywhere except verification (highest cost)" },
{ label: "Balanced (Recommended)", description: "Opus for planning, Sonnet for execution/verification" },
{ label: "Budget", description: "Sonnet for writing, Haiku for research/verification (lowest cost)" }
]
},
{
question: "Commit planning docs to git?",
header: "Commit Docs",
multiSelect: false,
options: [
{ label: "Yes (Recommended)", description: "Track planning artifacts in git history" },
{ label: "No", description: "Keep planning private (add .planning/ to .gitignore)" }
]
},
{
question: "Use PR-based release workflow?",
header: "PR Workflow",
multiSelect: false,
options: [
{ label: "Yes (Recommended)", description: "Protect main, create PRs, tag via GitHub Release" },
{ label: "No", description: "Commit directly to main, create tags locally" }
]
},
{
question: "Spawn Plan Researcher? (researches domain before planning)",
header: "Research",
multiSelect: false,
options: [
{ label: "Yes", description: "Research phase goals before planning" },
{ label: "No", description: "Skip research, plan directly" }
]
},
{
question: "Spawn Plan Checker? (verifies plans before execution)",
header: "Plan Check",
multiSelect: false,
options: [
{ label: "Yes", description: "Verify plans meet phase goals" },
{ label: "No", description: "Skip plan verification" }
]
},
{
question: "Spawn Execution Verifier? (verifies phase completion)",
header: "Verifier",
multiSelect: false,
options: [
{ label: "Yes", description: "Verify must-haves after execution" },
{ label: "No", description: "Skip post-execution verification" }
]
},
{
question: "Enable Kata statusline?",
header: "Statusline",
multiSelect: false,
options: [
{ label: "Yes (Recommended)", description: "Show model, context usage, update status in statusline" },
{ label: "No", description: "Use default Claude Code statusline" }
]
}
])modedepthparallelization{
"mode": "yolo|interactive",
"depth": "quick|standard|comprehensive",
"parallelization": true|false,
"model_profile": "quality|balanced|budget",
"commit_docs": true|false,
"pr_workflow": true|false,
"display": {
"statusline": true|false
},
"workflow": {
"research": true|false,
"plan_check": true|false,
"verifier": true|false
}
}.planning/config.jsondisplay.statuslinetrue.claude/settings.json# Ensure .claude directory exists
mkdir -p .claude
# Check if settings.json exists and has statusLine
if [ -f .claude/settings.json ]; then
# Check if statusLine already configured
if grep -q '"statusLine"' .claude/settings.json; then
echo "Statusline already configured in .claude/settings.json"
else
# Add statusLine to existing settings using node
node -e "
const fs = require('fs');
const settings = JSON.parse(fs.readFileSync('.claude/settings.json', 'utf8'));
settings.statusLine = {
type: 'command',
command: 'node \"\$CLAUDE_PROJECT_DIR/.claude/hooks/kata-statusline.js\"'
};
fs.writeFileSync('.claude/settings.json', JSON.stringify(settings, null, 2));
"
echo "✓ Statusline enabled in .claude/settings.json"
fi
else
# Create new settings.json with statusLine
cat > .claude/settings.json << 'SETTINGS_EOF'
{
"statusLine": {
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/kata-statusline.js\""
}
}
SETTINGS_EOF
echo "✓ Created .claude/settings.json with statusline"
fidisplay.statuslinefalse.claude/settings.jsonif [ -f .claude/settings.json ]; then
node -e "
const fs = require('fs');
const settings = JSON.parse(fs.readFileSync('.claude/settings.json', 'utf8'));
delete settings.statusLine;
fs.writeFileSync('.claude/settings.json', JSON.stringify(settings, null, 2));
"
echo "✓ Statusline disabled in .claude/settings.json"
ficommit_docsfalse.planning/.gitignoregit rm -r --cached .planning/| Setting | Value |
|---|---|
| Model Profile | {quality/balanced/budget} |
| Commit Docs | {On/Off} |
| PR Workflow | {On/Off} |
| Statusline | {On/Off} |
| Plan Researcher | {On/Off} |
| Plan Checker | {On/Off} |
| Execution Verifier | {On/Off} |
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ RECOMMENDED: Enable Branch Protection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PR workflow is enabled. Protect your main branch:
https://github.com/{owner}/{repo}/settings/branches
Settings for `main`:
✓ Require a pull request before merging
✓ Do not allow bypassing the above settings
✗ Allow force pushes (uncheck)
This ensures ALL changes go through PRs.