codebase-audit
majiayu000/spellbook
全面代码库审计 — 自适应并行深度分析(前后端契约、数据完整性、异常处理/安全、架构/技术债、配置/缓存),结构化 findings + 对抗验证 + 基线对比,输出按严重程度排序的统一报告和修复路线图。支持 quick 快速体检模式。Use when user asks to audit, analyze, or review an entire codebase for design issues, find hidden bugs, check architecture health, or asks '全面审查', '代码库审计', '分析设计问题', 'audit codebase', 'health check', '有哪些问题', '快速体检'. Also trigger when user asks to find silent degradation, data flow breakpoints, type mismatches between frontend and backend, or wants to understand technical debt across a project.
Install codebase-audit in 1 command
skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.
Claude Code
Run in your terminal, inside the project.
npx skills add majiayu000/spellbook --skill codebase-audit -a claude-code
Codex
Installs into .agents/skills for Codex.
npx skills add majiayu000/spellbook --skill codebase-audit -a codex
claude.ai
No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.
- Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
- In Settings, Capabilities, turn on code execution and file creation.
- Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.
Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist
What it does
全面代码库审计 — 自适应并行深度分析(前后端契约、数据完整性、异常处理/安全、架构/技术债、配置/缓存),结构化 findings + 对抗验证 + 基线对比,输出按严重程度排序的统一报告和修复路线图。支持 quick 快速体检模式。Use when user asks to audit, analyze, or review an entire codebase for design issues, find hidden bugs, check architecture health, or asks '全面审查', '代码库审计', '分析设计问题', 'audit codebase', 'health check', '有哪些问题', '快速体检'. Also trigger when user asks to find silent degradation, data flow breakpoints, type mismatches between frontend and backend, or wants to understand technical debt across a project.
Source on GitHub: majiayu000/spellbookExample prompt
Paste this after installing. Replace the task with your own.
Use the codebase-audit skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.
Or let your agent review and install it
Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.
GitHub file
- Path
- skills/codebase-audit/SKILL.md
- Source updated
- 02/10/2026
SKILL.md
read onlyOpen the full file on GitHub
Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.
Read SKILL.md on GitHub