codebase-audit
Skill1.1k starsChanged 3 months agoMITView on GitHub
Perform a full codebase review, categorize findings by severity, file GitHub issues, then fix each issue in an isolated git worktree and submit PRs. Use this skill when the user asks to audit the codebase, do a comprehensive code review, find and fix security/quality/reliability issues, or run a proactive health check across the entire repository.
- Commits and pushes
15 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- kekzl/imptheir own version, first seen Oct 4, 2026
- tomwangowa/agent-skillstheir own version, first seen Sep 30, 2026
- 0xkangl/skillstheir own version, first seen Sep 10, 2026
- tderoussel/agent-skillstheir own version, first seen Sep 8, 2026
- myatminlu/vector-skillstheir own version, first seen Aug 19, 2026
Who's talking about TencentCloudBase/CloudBase-AI-Toolkit
- sudosubin/agents.nix“codex-plugins.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.8”GitHub · Oct 4, 2026
- sudosubin/agents.nix“codex-marketplaces.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.8”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-plugins.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.8”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.tencentcloudbase.cloudbase-ai-toolkit: 2.34.6 → 2.34.8”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.6”GitHub · Oct 3, 2026
The biggest 5 of 18 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 18
Talked about on GitHub (18 times).
On GitHub · 18
- Oct 4, 2026codex-plugins.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.8 — sudosubin/agents.nix0 reactions
- Oct 4, 2026codex-marketplaces.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.8 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.8 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.tencentcloudbase.cloudbase-ai-toolkit: 2.34.6 → 2.34.8 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.tencentcloudbase.cloudbase-ai-toolkit: init at 2.34.6 — sudosubin/agents.nix0 reactions
13 more on GitHub
- Sep 15, 2026[Resource]: Tencent CloudBase — hesreallyhim/awesome-claude-code0 reactions · 1 comment
- Sep 15, 2026Add CloudBase AI Toolkit to Kimi Plugins — hashgraph-online/awesome-ai-plugins0 reactions · 3 comments
- Sep 15, 2026Add TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin — CloudBase backend, MCP tools and deploy preview — awesome-dsh-plugin/awesome-dsh-plugin0 reactions
- Sep 14, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Sep 5, 2026Audit: add CloudBase AI Toolkit and Narrator AI CLI Skill — sandbaseai/awesome-workbuddy0 reactions
- Aug 24, 2026Add CloudBase AI Toolkit (MCP server + Skills for Tencent CloudBase) — hashgraph-online/awesome-ai-plugins0 reactions · 5 comments
- Aug 19, 2026Add Tencent CloudBase — Tommertom/opencode-plugin-marketplace0 reactions
- Aug 18, 2026Claim Tencent CloudBase listing: replace unofficial mirror with official registry identity — pulsemcp/mcp-servers0 reactions
- Aug 17, 2026docs: add CloudBase (Tencent CloudBase AI Toolkit) to Integrations — composio-community/awesome-claude-plugins0 reactions
- Dec 22, 2025Add CloudBase AI ToolKit MCP server — punkpeye/awesome-mcp-servers0 reactions · 2 comments
- Dec 8, 2025chore(deps): bump @modelcontextprotocol/sdk and @cloudbase/cloudbase-mcp — mayphus/omni0 reactions
- Jul 8, 2025Add CloudBase AI ToolKit to Official Integrations — modelcontextprotocol/servers0 reactions · 1 comment
- Jun 26, 2025[Server Submission]: CloudBase AI ToolKit — cline/mcp-marketplace0 reactions
Used with
Projects with it also use improve-codebase-architecture, grill-with-docs and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 3 projects that use this
MicrosoftSkillgrill-with-docs
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- kekzl/imp★ 44same name
- GoldenWing-360/claude-security-skills★ 19same name
- mhylle/claude-skills-collection★ 19same name
- myatminlu/vector-skills★ 18same name
- sohei56/maul-team★ 17same name
- michielvandermeer/skills★ 9same name
- frostney/pascal-mcp-sdk★ 2same name
- NitorCreations/nitor-agent-skills★ 2same name
- ReinaMacCredy/Skills★ 2same name
- tomwangowa/agent-skills★ 2same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dsh-plugin/AGENTS.mdAGENTS.md
- evals/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- dsh-plugin/CLAUDE.mdCLAUDE.md
- evals/CLAUDE.mdCLAUDE.md
- .cursor/rules/project.mdcCursor rule
- api-contract-reviewSkill
- cloud-api-recipe-authoringSkill
- codebuddy-ide-mcp-upgradeSkill
- doc-freshness-reviewSkill
- docs-workflowsSkill
- git-workflowsSkill
- manage-local-skillsSkill
- mcp-attribution-worktreeSkill
- planning-workflowsSkill
- pr-review-fixSkill
- review-automation-orchestratorSkill
- skill-authoringSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 6 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill when you need to:
- Distinctive: line 19
Run a periodic codebase health check with automated follow-through
- Very specific: line 33
Read references/review-strategy.md for the review scope and checklist.
- Very specific: line 34
Use the code-explorer subagent to read ALL source files in the target directory (default: mcp/src/).
- Very specific: line 44
Dependency scan: Read references/dependency-audit.md and run the Dependabot alert fetch + npm audit to discover vulnerable dependencies.
- Very specific: line 48
Read references/classification.md for severity definitions and grouping rules.
- Very specific: line 60
Read references/issue-workflow.md for issue creation guidelines.
- Very specific: line 71
Read references/worktree-fix.md for the isolation and fix procedure.
- Very specific: line 101
Read references/verification.md for the verification checklist.
- Distinctive: line 102
Check CI status for each PR:
- Distinctive: line 106
If CI fails, re-enter the worktree, fix, and push again.
- Distinctive: line 132
Clean up worktrees: after PR creation.
- Distinctive: line 136
Follow the project's conventional-changelog format:
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codebase Audit → Issue → Worktree Fix → PR
End-to-end workflow: systematically review the entire codebase, report findings as GitHub issues, fix each issue in an isolated git worktree, and submit PRs — all in one session.
When to use this skill
Use this skill when you need to:
- Perform a full code review / audit of the codebase
- Proactively find security vulnerabilities, logic bugs, or code quality problems
- Turn code review findings into tracked GitHub issues
- Fix each issue in isolation (worktree per issue) and submit PRs
- Run a periodic codebase health check with automated follow-through
- Audit and fix dependency security vulnerabilities (Dependabot alerts / npm audit)
Do NOT use for:
- Reviewing or fixing a single known bug (use
systematic-debuggingor direct fix) - Triaging existing open PRs (use
pr-review-fix) - Processing attribution issues (use
mcp-attribution-worktree) - Feature development or refactoring unrelated to audit findings
Workflow
Phase 1 — Review
- Read
references/review-strategy.mdfor the review scope and checklist. - Use the
code-explorersubagent to read ALL source files in the target directory (default:mcp/src/). - For each file, systematically check against the review checklist:
- Security: path traversal, injection, unvalidated input, hardcoded secrets, improper error exposure
- Error handling: missing try-catch, swallowed errors, error messages leaking internals
- Type safety:
as any, unsafe casts, missing null checks - Logic bugs: race conditions, incorrect conditionals, unreachable code
- Code quality: dead code, duplication, overly complex functions
- Resource leaks: unclosed connections, missing cleanup
- API design: inconsistent validation, missing required field checks
- Record every finding with: file path, line number(s), category, severity (Critical/High/Medium/Low), description, and suggested fix.
- Dependency scan: Read
references/dependency-audit.mdand run the Dependabot alert fetch +npm auditto discover vulnerable dependencies. Record each finding using the dependency-audit format.
Phase 2 — Analyze & Classify
- Read
references/classification.mdfor severity definitions and grouping rules. - Deduplicate findings — merge instances of the same pattern across files.
- Group findings into fix batches — related issues that should be fixed together in one PR.
- Assign severity and priority:
- P0 (Critical): Security vulnerabilities, data loss risks
- P1 (High): Logic bugs, error handling gaps that cause runtime failures
- P2 (Medium): Type safety, code quality issues affecting maintainability
- P3 (Low): Style, naming, minor cleanup
- Present a structured audit report to the user and wait for confirmation before proceeding.
Phase 3 — Create GitHub Issues
- Read
references/issue-workflow.mdfor issue creation guidelines. - For each fix batch (or individual Critical finding), create a GitHub issue:
gh issue create --title "<type>(<scope>): <summary>" --body "<structured body>" --label "<severity>,<category>" - Issue body must include: affected files, line numbers, problem description, expected behavior, and suggested fix approach.
- Link related issues when findings are connected.
- Present the created issues to the user.
Phase 4 — Worktree Fix
- Read
references/worktree-fix.mdfor the isolation and fix procedure. - For each issue (in priority order):
a. Create an isolated worktree and branch:
b. Work inside the worktree — never in the main checkout. c. Implement the fix, keeping changes minimal and focused. d. Verify locally:git worktree add ../<repo>-audit-fix-<issue-number> -b fix/<slug>-<issue-number> origin/maincd mcp && npm run build && npm run teste. Commit with conventional-changelog format:
f. Push and create PR:git commit -m 'fix(<scope>): 🔒 <english description> Closes #<issue-number>'
g. Remove the worktree after PR is created:git push github fix/<slug>-<issue-number> gh pr create --title "fix(<scope>): 🔒 <summary>" --body "Closes #<issue-number>\n\n<description>" --base maincd <original-dir> git worktree remove ../<repo>-audit-fix-<issue-number> - One worktree per issue. Never mix fixes across worktrees.
- Dependency fixes: For dependency vulnerability batches, follow
references/dependency-audit.mdStep 4. These can be grouped into a single PR since they modifypackage.json/package-lock.json.
Phase 5 — Verify & Report
- Read
references/verification.mdfor the verification checklist. - Check CI status for each PR:
gh pr checks <number> - If CI fails, re-enter the worktree, fix, and push again.
- Generate a final audit report summarizing:
- Total findings by category and severity
- Issues created (with links)
- PRs submitted (with links)
- Remaining items that need human decision
Routing
| Task | Read |
| What to review and how to check each category | references/review-strategy.md |
| Security severity classification (TSRC-style) | references/security-severity-checklist.md |
| How to classify, deduplicate, and batch findings | references/classification.md |
| How to create well-structured GitHub issues | references/issue-workflow.md |
| How to create worktrees and fix issues in isolation | references/worktree-fix.md |
| How to verify fixes and generate the final report | references/verification.md |
| How to audit and fix dependency vulnerabilities | references/dependency-audit.md |
Git safety rules
- Never force-push unless explicitly asked.
- Never amend commits that are already pushed.
- Always work inside the worktree, not the main checkout.
- Always verify build + test locally before pushing.
- One worktree per issue — never mix fixes.
- Clean up worktrees after PR creation.
Commit conventions
Follow the project's conventional-changelog format:
fix(<scope>): 🔒 <english description>
Closes #<issue-number>Scope examples: security, deps, error-handling, type-safety, code-quality, cloudrun, database, functions
Minimum self-check
- Did I review ALL source files in the target scope, not just a sample?
- Did I categorize each finding with file, line, severity, and description?
- Did I present the audit report and get user confirmation before creating issues?
- Did I create a separate GitHub issue for each fix batch?
- Did I use an isolated worktree for each fix, not the main checkout?
- Did I verify build + test pass before pushing each fix?
- Did I clean up worktrees after creating PRs?
- Did I generate a final report with links to all issues and PRs?
- Did I check Dependabot alerts and npm audit for dependency vulnerabilities?
- Did I apply the correct fix strategy (upgrade / override / replace / dismiss) for each vulnerable dependency?
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

