Agent skill

Code Health Check

by huangjia2019 in huangjia2019/claude-code-engineering

Perform a comprehensive code health check on a directory. An agent skill from huangjia2019/claude-code-engineering.

No licenceAuto-check passedDevelopment

Install Code Health Check

skills CLI
$ npx skills add huangjia2019/claude-code-engineering --skill code-health-check -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huangjia2019/claude-code-engineering code-health-check --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huangjia2019/claude-code-engineering.git skills-src && mkdir -p .claude/skills && cp -r skills-src/04-Skills/projects/07-skill-fork-demo/.claude/skills/code-health-check .claude/skills/code-health-check && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-health-check
GitHub stars
1.1k
Token cost
~489 tokens
SKILL.md length
165 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
None found

At a glance

Perform a comprehensive code health check on a directory. An agent skill from huangjia2019/claude-code-engineering.

  • Works in 5 steps: File Organization → Error Handling → Security Basics → …
  • The user asks to analyze code quality
  • SKILL.md covers Checks to Perform, Severity Levels and Output Format
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Health Check is an agent skill from huangjia2019/claude-code-engineering. Perform a comprehensive code health check on a directory. Use when the user asks to analyze code quality, find issues, or get a health report.

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code quality. The repository describes itself as: This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code…

When your agent uses it

  • The user asks to analyze code quality
  • Get a health report

Example prompts

  • “/code-health-check”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. File Organization
  2. Error Handling
  3. Security Basics
  4. Code Quality
  5. Dependency Hygiene

What it can do on your machine

Read from SKILL.md and the folder at commit 89fea03. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Health Check loads about 489 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 165 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~489

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 165 words (~489 tokens).

“Analyze the codebase at $ARGUMENTS and produce a structured health report.”

— opening of SKILL.md by huangjia2019
name
code-health-check
allowed-tools
Read, Grep, Glob
context
fork
agent
general-purpose

Read the full SKILL.md on GitHub

Files

Just SKILL.md in 04-Skills/projects/07-skill-fork-demo/.claude/skills/code-health-check of huangjia2019/claude-code-engineering.

Open the folder on GitHubat commit 89fea03

Compare with similar skills

Code Health Check next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Health Check compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Health Check this skillhuangjia2019/claude-code-engineering1.1k—~489Automated safety check: PassNone
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Ponytail Lazy Developer ModeDietrichGebert/ponytail160k1 repos~873Automated safety check: PassMIT
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.4k—~2.2kAutomated safety check: PassMIT
Constraint-Driven Developmentaddyosmani/agent-skills105k2 repos~5.2kAutomated safety check: PassMIT

Similar skills

  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    160k GitHub starsUsed in 1 repo~873 tokens
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.4k GitHub stars~2.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Constraint-Driven Development

    addyosmani/agent-skills

    Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.

    105k GitHub starsUsed in 2 repos~5.2k tokens
    DevelopmentAuto-check passed
  • Skill Doli Code Review

    Dolibarr/dolibarr

    Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.

    7.7k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed

More from huangjia2019/claude-code-engineering

All 10 skills in this repo
  • Financial Analyzing

    huangjia2019/claude-code-engineering

    Analyze financial data, calculate financial ratios, and generate analysis reports.

    1.1k GitHub stars~474 tokensUpdated 2 mo ago
    Auto-check passed
  • API Documenting

    huangjia2019/claude-code-engineering

    Generate API documentation from code. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub stars~396 tokensUpdated 2 mo ago
    Auto-check passed
  • API Generating

    huangjia2019/claude-code-engineering

    Generate API endpoint code and documentation from specifications.

    1.1k GitHub stars~379 tokensUpdated 2 mo ago
    Auto-check passed
  • API Generating

    huangjia2019/claude-code-engineering

    Generate API endpoint documentation from Express route files.

    1.1k GitHub stars~426 tokensUpdated 2 mo ago
    Auto-check passed
  • Code Reviewing

    huangjia2019/claude-code-engineering

    Review code for quality, security, and best practices. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub stars~499 tokensUpdated 2 mo ago
    Auto-check passed
  • API Conventions

    huangjia2019/claude-code-engineering

    API design patterns and conventions for this project. An agent skill from huangjia2019/claude-code-engineering.

    1.1k GitHub stars~398 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Code Health Check

What does Code Health Check do?

Perform a comprehensive code health check on a directory. An agent skill from huangjia2019/claude-code-engineering. Code Health Check is an agent skill from huangjia2019/claude-code-engineering. Perform a comprehensive code health check on a directory.

When should I use Code Health Check?

Code Health Check fits situations like: the user asks to analyze code quality; get a health report.

How do I install Code Health Check in Claude Code?

Run `npx skills add huangjia2019/claude-code-engineering --skill code-health-check -a claude-code`. Or copy the skill folder (04-Skills/projects/07-skill-fork-demo/.claude/skills/code-health-check in huangjia2019/claude-code-engineering) into .claude/skills/code-health-check in your project. Claude Code loads it when a task matches its description.

How do I install Code Health Check in Codex?

Run `npx skills add huangjia2019/claude-code-engineering --skill code-health-check -a codex`. Or copy the skill folder (04-Skills/projects/07-skill-fork-demo/.claude/skills/code-health-check in huangjia2019/claude-code-engineering) into .agents/skills/code-health-check in your project. Codex loads it when a task matches its description.

Can I use Code Health Check in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huangjia2019/claude-code-engineering --skill code-health-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-health-check, .gemini/skills/code-health-check, .github/skills/code-health-check and .opencode/skills/code-health-check in your project.

What does Code Health Check need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Health Check is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob.

Does Code Health Check access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Health Check safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Health Check use?

No licence was found for Code Health Check or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Code Health Check use?

About 489 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Health Check?

Skills that share tags, products or a category with Code Health Check: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Health Check?

huangjia2019 (a GitHub user) maintains it in huangjia2019/claude-code-engineering, which has 1,133 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on July 23, 2026.

Source: huangjia2019/claude-code-engineering on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.