一键导入
churn-concordance-adr-helper
Declarative workflow for running churn × complexity Concordance analysis and landing a numbered ADR with bundled scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Declarative workflow for running churn × complexity Concordance analysis and landing a numbered ADR with bundled scripts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when user wants help choosing an approach or isn't sure where to start — presents bar-based options.
Use when user wants bar to automatically shape every response — detects and applies bar structuring without being asked.
Use when user asks which token fits an intent — looks up bar tokens by intent phrase and returns ranked matches. token matches a user's intent, when you need the full metadata for a specific token, or when you need all tokens on an axis.
Use when user wants to learn bar commands or build prompts manually — guides bar CLI usage step by step.
bar CLI — structured prompting tool. Use when the user wants to run bar build, apply bar tokens, build a workflow, or get help with bar commands. Covers autopilot, workflow, suggest, manual, dictionary, and all bar token usage.
Use when user wants to chain multiple steps or build a sequence — constructs and runs multi-step bar command workflows.
| name | churn-concordance-adr-helper |
| description | Declarative workflow for running churn × complexity Concordance analysis and landing a numbered ADR with bundled scripts. |
CHURN_LOG_COMMAND=python3 .claude/skills/churn-concordance-adr-helper/scripts/churn-git-log-stat.pyHEATMAP_COMMAND=python3 .claude/skills/churn-concordance-adr-helper/scripts/line-churn-heatmap.pymake churn-scan runs both helpers sequentially with default environment values (LINE_CHURN_OUTPUT paths under tmp/churn-scan/)..py) and Go (.go) files when deriving node boundaries and complexity heuristics.LINE_CHURN_SINCE="90 days ago"LINE_CHURN_SCOPE="lib/,GPT/,copilot/,tests/"LINE_CHURN_LIMIT=200 (heatmap only)CHURN_LOG_PATH=${LINE_CHURN_OUTPUT:-tmp/churn-scan/git-log-stat.txt}HOTSPOTS_JSON=${LINE_CHURN_OUTPUT:-tmp/churn-scan/line-hotspots.json}ADR_HOME (default docs/adr/), list ^\d{4}-.*\.md$ (excluding *.work-log.md), derive next ADR_ID (four digits) and ADR_TITLE_SLUG.CHURN_LOG_COMMAND (or make churn-scan) to refresh CHURN_LOG_PATH.HEATMAP_COMMAND to build HOTSPOTS_JSON with the same scope/window.HOTSPOTS_JSON for top nodes with: file, symbolName, nodeKind, nodeStartLine, totalChurn, avgComplexity, totalCoordination, score, optional role, representative episodes/sample lines.ADR_HOME/ADR_ID-ADR_TITLE_SLUG.md with header # ADR-ADR_ID – HUMAN-READABLE TITLE, Status: Proposed, date, owners.ADR_HOME/ADR_ID-ADR_TITLE_SLUG.md.CHURN_LOG_PATH and HOTSPOTS_JSON artefact locations.