[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EZPS1MD75SDPKDNCB80392":3,"skill-same:01M7EZPS1MD75SDPKDNCB80392":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7EZPS1MD75SDPKDNCB80392","codehealth-mcp",null,"Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs. Use when reviewing code quality, refactoring, checking if AI changes degraded a file, or before commit\u002FPR.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecc\u002Fcodehealth-mcp\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: codehealth-mcp\ndescription: Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs. Use when reviewing code quality, refactoring, checking if AI changes degraded a file, or before commit\u002FPR.\nmetadata:\n  origin: community\n---\n\n# Code Health MCP (CodeScene)\n\nStructural maintainability feedback for AI-assisted coding. Complements style\u002Flint skills (`coding-standards`, `plankton-code-quality`) with **design-level** health scores and regression gates.\n\n**Upstream:** [codescene-oss\u002Fcodescene-mcp-server](https:\u002F\u002Fgithub.com\u002Fcodescene-oss\u002Fcodescene-mcp-server)\n**Package:** `@codescene\u002Fcodehealth-mcp` (stdio via npx)\n\n## Security and boundaries\n\n**Opt-in (ECC):** The `codescene` block in `mcp-configs\u002Fmcp-servers.json` is a template only. ECC plugin installs do not auto-enable bundled MCP servers. Copy the entry into your config only if you want it. You can exclude it during ECC install\u002Fsync with `ECC_DISABLED_MCPS=codescene,...`.\n\n**Credentials:** No bundled token. Set `CS_ACCESS_TOKEN` yourself (see [getting-a-personal-access-token.md](https:\u002F\u002Fgithub.com\u002Fcodescene-oss\u002Fcodescene-mcp-server\u002Fblob\u002Fmain\u002Fdocs\u002Fgetting-a-personal-access-token.md) in the upstream repo). Never commit tokens to the repo.\n\n**What the tools read:** When invoked, tools analyze files and git state **in the local repository** you point them at (paths you pass, plus branch context for `analyze_change_set`). They do not run by themselves. For standalone mode, follow upstream privacy docs: [codescene-mcp-server README](https:\u002F\u002Fgithub.com\u002Fcodescene-oss\u002Fcodescene-mcp-server#frequently-asked-questions) and [CodeScene policies](https:\u002F\u002Fcodescene.com\u002Fpolicies). Do not use this skill for secrets, credentials, or paths you do not want analyzed.\n\n**If the MCP is unavailable (offline, bad token, server crash):** Do not invent Code Health scores. Tell the user the check was skipped. Continue only with explicit user approval. Prefer lint\u002Ftests\u002Fverification-loop for gating when MCP is down. Re-enable checks once the server connects.\n\n## When to Use\n\n- User asks to **review code quality**, **refactor** a file, or check if **AI changes degraded** maintainability\n- Before editing a **hotspot**, legacy module, or unfamiliar file\n- Before **commit** or **pull request** when you need a maintainability safeguard\n- After a large agent-written diff — verify Code Health did not regress\n- Pair with `verification-loop`, `tdd-workflow`, or `\u002Fquality-gate` as a structural check (not a replacement for tests\u002Flint)\n\n## When to Activate\n\nSame triggers as **When to Use** above — this heading is what ECC uses for skill auto-activation.\n\n## How It Works\n\n### 1. Connect the MCP server\n\nCopy the `codescene` entry from `mcp-configs\u002Fmcp-servers.json` into your harness MCP config.\n\n**Claude Code** (`~\u002F.claude.json` → `mcpServers`):\n\n```json\n\"codescene\": {\n  \"command\": \"npx\",\n  \"args\": [\"-y\", \"@codescene\u002Fcodehealth-mcp\"],\n  \"env\": {\n    \"CS_ACCESS_TOKEN\": \"YOUR_CS_ACCESS_TOKEN_HERE\"\n  }\n}\n```\n\n**Project-scoped:** merge the same block into `.mcp.json` at the repo root.\n\nToken setup is documented in the upstream repo (link above). Standalone mode does not require a paid CodeScene platform account for the four tools listed below. Restart the session and confirm the `codescene` server is connected before relying on scores.\n\n### 2. Call standalone tools only\n\n| Tool | When to use |\n|------|-------------|\n| `code_health_review` | Full structural analysis **before** modifying a file |\n| `code_health_score` | Quick numeric score after each change (delta check) |\n| `pre_commit_code_health_safeguard` | Block commits that introduce Code Health regressions |\n| `analyze_change_set` | Branch-level check **before** opening a PR |\n\nDo **not** call platform-only tools (e.g. repository-wide technical debt hotspot lists). Do **not** reference `delta_analysis` — not available on standalone.\n\n### 3. Interpret scores (1–10)\n\n| Range | Meaning | Agent behavior |\n|-------|---------|----------------|\n| **9.0–10.0** | Green — healthy | Safer to extend; still prefer vertical slices |\n| **4.0–8.9** | Yellow — debt | Tread carefully; no drive-by refactors |\n| **1.0–3.9** | Red — severe debt | Narrow scope only |\n\n### 4. Run the feedback loop\n\n**Before touching a file**\n\n1. Run `code_health_review` on the target path.\n2. Record baseline score and listed code smells.\n3. Plan the smallest change that addresses the task.\n\nScope by score: **below 5** — minimal diff only; **5–7** — no broad refactors; **above 7** — safer to refactor, still verify after each edit.\n\n**After each change**\n\n1. Run `code_health_score` on the same file.\n2. Compare to the baseline from `code_health_review`.\n3. If the score **regressed**, fix before continuing. Never mark the task done while the score is lower than when you started.\n\n**Before every commit** — run `pre_commit_code_health_safeguard` on the repository path.\n\n**Before a PR** — run `analyze_change_set` against the base branch (e.g. `main`).\n\n## Examples\n\n### Example: Flask maintainability improvement\n\nOn `pallets\u002Fflask`, an agent loop using only standalone tools:\n\n1. `code_health_review` on a target module (baseline **4.82**)\n2. Targeted refactor addressing listed smells\n3. `code_health_score` after each edit\n4. `pre_commit_code_health_safeguard` before commit\n5. `analyze_change_set` before PR\n\nResult: Code Health **4.82 → 9.1** (free standalone token only).\n\n### Example: AGENTS.md enforcement block\n\nPaste into the project `AGENTS.md` or `CLAUDE.md`:\n\n```md\n## Code Health (CodeScene MCP)\n\nBefore modifying any file: run `code_health_review`, note score and issues.\n\n- Score below 5: problematic range — scope changes narrowly.\n- Score 5–7: warning range — no broad refactors.\n\nAfter each change: run `code_health_score` to verify delta.\n\n- If score regressed: fix before continuing; never declare done if score dropped.\n\nBefore every commit: run `pre_commit_code_health_safeguard`.\n\nBefore PR: run `analyze_change_set`.\n```\n\n### Example: anti-patterns vs correct loop\n\n```markdown\n# BAD: Edit first, check later\n[large refactor without code_health_review]\n\n# BAD: Ignore score drop\n\"Tests pass\" → mark task done while Code Health decreased\n\n# BAD: Broad refactor on red-score file (below 5)\nDrive-by cleanup across the module\n\n# GOOD: review → small change → score → commit safeguard → analyze_change_set\n```\n\n## Pairing with ECC\n\n| ECC skill \u002F flow | Code Health MCP role |\n|------------------|----------------------|\n| `coding-standards` | Style\u002Fnaming; Code Health = structure\u002Fcomplexity |\n| `plankton-code-quality` | Write-time lint\u002Fformat; Code Health = pre\u002Fpost edit structural gate |\n| `verification-loop` \u002F `\u002Fquality-gate` | Add structural regression check before \"done\" |\n| `security-review` | Security vs maintainability — use both when relevant |\n| `tdd-workflow` | Tests pass ≠ healthy design — check score after refactors |\n\n**Context tip:** ECC recommends keeping MCP count low. Enable `codescene` when doing substantive edits; disable when not needed.\n\n## Related Skills\n\n- `coding-standards` — baseline conventions\n- `plankton-code-quality` — write-time lint\u002Fformat hooks\n- `verification-loop` — build\u002Ftest\u002Flint gate\n- `tdd-workflow` — test-first development\n- `security-review` — security checklist\n- `documentation-lookup` — library docs via Context7 (orthogonal)\n","# Code Health MCP (CodeScene)\n\nStructural maintainability feedback for AI-assisted coding. Complements style\u002Flint skills (`coding-standards`, `plankton-code-quality`) with **design-level** health scores and regression gates.\n\n**Upstream:** [codescene-oss\u002Fcodescene-mcp-server](https:\u002F\u002Fgithub.com\u002Fcodescene-oss\u002Fcodescene-mcp-server)\n**Package:** `@codescene\u002Fcodehealth-mcp` (stdio via npx)\n\n## Security and boundaries\n\n**Opt-in (ECC):** The `codescene` block in `mcp-configs\u002Fmcp-servers.json` is a template only. ECC plugin installs do not auto-enable bundled MCP servers. Copy the entry into your config only if you want it. You can exclude it during ECC install\u002Fsync with `ECC_DISABLED_MCPS=codescene,...`.\n\n**Credentials:** No bundled token. Set `CS_ACCESS_TOKEN` yourself (see [getting-a-personal-access-token.md](https:\u002F\u002Fgithub.com\u002Fcodescene-oss\u002Fcodescene-mcp-server\u002Fblob\u002Fmain\u002Fdocs\u002Fgetting-a-personal-access-token.md) in the upstream repo). Never commit tokens to the repo.\n\n**What the tools read:** When invoked, tools analyze files and git state **in the local repository** you point them at (paths you pass, plus branch context for `analyze_change_set`). They do not run by themselves. For standalone mode, follow upstream privacy docs: [codescene-mcp-server README](https:\u002F\u002Fgithub.com\u002Fcodescene-oss\u002Fcodescene-mcp-server#frequently-asked-questions) and [CodeScene policies](https:\u002F\u002Fcodescene.com\u002Fpolicies). Do not use this skill for secrets, credentials, or paths you do not want analyzed.\n\n**If the MCP is unavailable (offline, bad token, server crash):** Do not invent Code Health scores. Tell the user the check was skipped. Continue only with explicit user approval. Prefer lint\u002Ftests\u002Fverification-loop for gating when MCP is down. Re-enable checks once the server connects.\n\n## When to Use\n\n- User asks to **review code quality**, **refactor** a file, or check if **AI changes degraded** maintainability\n- Before editing a **hotspot**, legacy module, or unfamiliar file\n- Before **commit** or **pull request** when you need a maintainability safeguard\n- After a large agent-written diff — verify Code Health did not regress\n- Pair with `verification-loop`, `tdd-workflow`, or `\u002Fquality-gate` as a structural check (not a replacement for tests\u002Flint)\n\n## When to Activate\n\nSame triggers as **When to Use** above — this heading is what ECC uses for skill auto-activation.\n\n## How It Works\n\n### 1. Connect the MCP server\n\nCopy the `codescene` entry from `mcp-configs\u002Fmcp-servers.json` into your harness MCP config.\n\n**Claude Code** (`~\u002F.claude.json` → `mcpServers`):\n\n```json\n\"codescene\": {\n  \"command\": \"npx\",\n  \"args\": [\"-y\", \"@codescene\u002Fcodehealth-mcp\"],\n  \"env\": {\n    \"CS_ACCESS_TOKEN\": \"YOUR_CS_ACCESS_TOKEN_HERE\"\n  }\n}\n```\n\n**Project-scoped:** merge the same block into `.mcp.json` at the repo root.\n\nToken setup is documented in the upstream repo (link above). Standalone mode does not require a paid CodeScene platform account for the four tools listed below. Restart the session and confirm the `codescene` server is connected before relying on scores.\n\n### 2. Call standalone tools only\n\n| Tool | When to use |\n|------|-------------|\n| `code_health_review` | Full structural analysis **before** modifying a file |\n| `code_health_score` | Quick numeric score after each change (delta check) |\n| `pre_commit_code_health_safeguard` | Block commits that introduce Code Health regressions |\n| `analyze_change_set` | Branch-level check **before** opening a PR |\n\nDo **not** call platform-only tools (e.g. repository-wide technical debt hotspot lists). Do **not** reference `delta_analysis` — not available on standalone.\n\n### 3. Interpret scores (1–10)\n\n| Range | Meaning | Agent behavior |\n|-------|---------|----------------|\n| **9.0–10.0** | Green — healthy | Safer to extend; still prefer vertical slices |\n| **4.0–8.9** | Yellow — debt | Tread carefully; no drive-by refactors |\n| **1.0–3.9** | Red — severe debt | Narrow scope only |\n\n### 4. Run the feedback loop\n\n**Before touching a file**\n\n1. Run `code_health_review` on the target path.\n2. Record baseline score and listed code smells.\n3. Plan the smallest change that addresses the task.\n\nScope by score: **below 5** — minimal diff only; **5–7** — no broad refactors; **above 7** — safer to refactor, still verify after each edit.\n\n**After each change**\n\n1. Run `code_health_score` on the same file.\n2. Compare to the baseline from `code_health_review`.\n3. If the score **regressed**, fix before continuing. Never mark the task done while the score is lower than when you started.\n\n**Before every commit** — run `pre_commit_code_health_safeguard` on the repository path.\n\n**Before a PR** — run `analyze_change_set` against the base branch (e.g. `main`).\n\n## Examples\n\n### Example: Flask maintainability improvement\n\nOn `pallets\u002Fflask`, an agent loop using only standalone tools:\n\n1. `code_health_review` on a target module (baseline **4.82**)\n2. Targeted refactor addressing listed smells\n3. `code_health_score` after each edit\n4. `pre_commit_code_health_safeguard` before commit\n5. `analyze_change_set` before PR\n\nResult: Code Health **4.82 → 9.1** (free standalone token only).\n\n### Example: AGENTS.md enforcement block\n\nPaste into the project `AGENTS.md` or `CLAUDE.md`:\n\n```md\n## Code Health (CodeScene MCP)\n\nBefore modifying any file: run `code_health_review`, note score and issues.\n\n- Score below 5: problematic range — scope changes narrowly.\n- Score 5–7: warning range — no broad refactors.\n\nAfter each change: run `code_health_score` to verify delta.\n\n- If score regressed: fix before continuing; never declare done if score dropped.\n\nBefore every commit: run `pre_commit_code_health_safeguard`.\n\nBefore PR: run `analyze_change_set`.\n```\n\n### Example: anti-patterns vs correct loop\n\n```markdown\n# BAD: Edit first, check later\n[large refactor without code_health_review]\n\n# BAD: Ignore score drop\n\"Tests pass\" → mark task done while Code Health decreased\n\n# BAD: Broad refactor on red-score file (below 5)\nDrive-by cleanup across the module\n\n# GOOD: review → small change → score → commit safeguard → analyze_change_set\n```\n\n## Pairing with ECC\n\n| ECC skill \u002F flow | Code Health MCP role |\n|------------------|----------------------|\n| `coding-standards` | Style\u002Fnaming; Code Health = structure\u002Fcomplexity |\n| `plankton-code-quality` | Write-time lint\u002Fformat; Code Health = pre\u002Fpost edit structural gate |\n| `verification-loop` \u002F `\u002Fquality-gate` | Add structural regression check before \"done\" |\n| `security-review` | Security vs maintainability — use both when relevant |\n| `tdd-workflow` | Tests pass ≠ healthy design — check score after refactors |\n\n**Context tip:** ECC recommends keeping MCP count low. Enable `codescene` when doing substantive edits; disable when not needed.\n\n## Related Skills\n\n- `coding-standards` — baseline conventions\n- `plankton-code-quality` — write-time lint\u002Fformat hooks\n- `verification-loop` — build\u002Ftest\u002Flint gate\n- `tdd-workflow` — test-first development\n- `security-review` — security checklist\n- `documentation-lookup` — library docs via Context7 (orthogonal)\n",{"name":5,"metadata":24,"description":7},{"origin":25},"community","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fecc\u002Fcodehealth-mcp","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill codehealth-mcp",{"tool":38,"command":39},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill codehealth-mcp",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill codehealth-mcp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecc\u002Fcodehealth-mcp\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]