一键导入
audit-hygiene
Walk the full ADEPT Code Hygiene Quick Reference Card checklist and report PASS/FAIL/N-A for each item. Use as a final check before pushing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Walk the full ADEPT Code Hygiene Quick Reference Card checklist and report PASS/FAIL/N-A for each item. Use as a final check before pushing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run ASOPB evaluation with credential routing, build context sync, and baseline comparison
Full task closure workflow -- runs test validation, session report, tracking doc updates, commit preparation, and hygiene audit in sequence. Use at the end of a development session. Pass an optional title hint as argument.
Configure Claude Code to connect to an ADEPT instance (local Docker stack or remote server). Generates .mcp.json, runs doctor check, verifies connectivity. Use when setting up or switching between ADEPT instances.
Guided workflow to deploy ADEPT on cloud infrastructure (AWS, Azure, or GCP) as a single VM or A2A mesh pair. Covers provisioning, OS prep, stack deployment, and optional A2A federation between two independently-deployed stacks.
Add a new tool to an existing MCP server following the canonical register(mcp) + Pydantic pattern. Use during Phase 4 (Implement) of the feature development lifecycle.
Analyze a Python library and produce an MCP server implementation plan. Audits the API surface, maps functions to tools, classifies dependencies, and identifies session boundaries. Use during Phase 1-2 (Plan + Discover) of the feature development lifecycle.
| name | audit-hygiene |
| description | Walk the full ADEPT Code Hygiene Quick Reference Card checklist and report PASS/FAIL/N-A for each item. Use as a final check before pushing. |
| disable-model-invocation | true |
| allowed-tools | Bash(git *) Read Glob Grep |
You are assisting an ADEPT developer with a final code hygiene audit.
Do not use emojis in any output.
Enforce all rules in docs/development/AGENT_CODING_RULES.md throughout this skill execution.
Read docs/development/CODE_HYGIENE.md in full, paying special attention to the Quick Reference Card (the checklist near the end of the file).
Run:
git branch --show-current
git status
git log -1 --format="%H %s"
git log -1 --format="%B"
git remote -v
git log --oneline origin/$(git branch --show-current)..HEAD 2>/dev/null | wc -l
Evaluate every item in the Quick Reference Card. Report each as PASS, FAIL, or N-A with a brief justification.
<type>-<workstream>-<FY-quarter>-<scope> convention?git log --oneline --graph -10 for merge base.)origin? (Check git log --oneline origin/<branch>..HEAD. Developers with personal forks should also check their fork remote.)SESSION_<N>_*.md file exist in docs/implementation-reports/ or docs/bugfixes/ for the current session?file:line notation for code references?logs/ with timestamps from this session?/validate-tests.)logs/. If a doc says "N/N passed" or "failure resolved," the log must exist and show that result. Flag any unvalidated claims.src/ changed, verify that affected service containers have been rebuilt (image newer than source changes). Use the source-to-service mapping from /validate-tests to identify which containers need checking. Compare docker inspect --format='{{.Created}}' <container> against source file timestamps.<type>(<scope>): <description>?docs/CHANGELOG.md contain an entry for the current session with GitHub Issues: line?docs/ROADMAP.md have an entry for this session's work with GitHub Issues: line?docs/KNOWN_ISSUES.md updated?ls -t docs/implementation-sprints/SPRINT_*_STATUS.md | head -1) updated and in parity with GitHub? (Run gh issue view <N> --json state to verify.)grep -rn '#N' docs/ --include='*.md'. Does every local reference (sprint tracker, session tracker, ROADMAP, CHANGELOG, KNOWN_ISSUES, implementation plans/reports) show the correct status? Flag any stale references.CLAUDE.md updated?Output a formatted checklist:
ADEPT Code Hygiene Audit
========================
BRANCH
[PASS] Branch naming: feature-platform-optimizations-FY26Q2-...
[PASS] Correct parent: branched from feature-platform-optimizations-FY26Q2
[FAIL] Pushed to origin: 3 commits unpushed to origin
IMPLEMENTATION
[PASS] Session doc: docs/implementation-reports/SESSION_NNN_...
[N-A] Root cause analysis: not a bugfix
[PASS] Code references: file:line notation used
TESTING
...
COMMIT
...
DOCUMENTATION
...
Summary: 18/20 PASS, 1 FAIL, 1 N-A
For each FAIL item, provide the specific action needed to fix it. Example:
REMEDIATION:
1. [Pushed to origin] Run: git push origin <branch>
If all items PASS, confirm: "All hygiene checks pass. Ready to push."