Preface¶
Before submission or during code review, a common practice is to glance at the diff and mentally list a few “don’t forget to test” items. This approach easily misses dimensions: it only remembers “what changed,” but lacks review items, test coverage, and manual steps. Verbal agreements are also difficult to check off item by item in PRs or self-checks.
Below is an introduction to Audit Checklist Generation (@user_989eb8f0/tri-checklist, v1.1.2) on SkillHub. It uses a fixed methodology within an Agent, combining Git staged areas, working directories, or diffs from specific commits to produce a Markdown checklist with checkboxes for self-checks, reviews, and quality tracking; the generation of the checklist is separated from the execution of the review, which can be handled by other skills in the same series, such as tri-review.
What is it¶
Audit Checklist Generation is a downstream execution skill in the tri family, published by user_989eb8f0, sourced from the community, and categorized as dev-programming (subclasses include code review, test generation, and Git assistance). The tag requires_api_key=false means no extra API Key is needed.
One-sentence positioning: Read tri-intent snapshot or direct user request → Identify Git input mode → Parse diff → Generate Markdown checkbox checklist based on four-dimension audit and save to disk; only generates the checklist, does not execute code review on behalf of the user.
Official page: SkillHub · Audit Checklist Generation. SkillHub displays version v1.1.2, downloaded approximately 860 times (statistics updated with the platform).
Core Features¶
Four-Dimension Audit¶
The fixed methodology covers four dimensions; omitting any one is considered an incomplete delivery:
| Dimension | Core Question |
|---|---|
| Changes (Changes) | Which files, functions, and logic were changed? |
| Review (Review) | Review items for functionality, quality, security, performance, etc. |
| Test (Test) | Unit tests, integration, boundary, and regression coverage |
| Test Steps (Test Steps) | Manual test steps grouped by scenario |
See references/audit-checklist-template.md inside the skill package for template and checklist item structures.
Three Git Input Modes¶
| Mode | Typical Command | Scenario |
|---|---|---|
| Staged | git diff --cached |
Already git added, not committed |
| Working Directory | git diff, git status |
Modified, not staged |
| Commit ID | git diff <commit>..HEAD |
Review a specific commit range |
The parsing logic is handled by scripts/parse_git_diff.py, for example:
python scripts/parse_git_diff.py --mode staged --out diff.json
python scripts/parse_git_diff.py --mode working --out diff.json
python scripts/parse_git_diff.py --mode commit --commit <hash> --out diff.json
Output Format¶
The checklist is in Markdown format using - [ ] checkboxes, with severity tags aligned with tri-review (BLOCKER / MAJOR / MINOR). Assembly entry point:
python scripts/build_checklist.py --diff diff.json --template template.json --out checklist.md
Dual Approval Gates¶
The execution flow sets two confirmation gates to avoid generating a checklist before aligning the scope:
- Gate ① (Audit Scope Confirmation): After identifying the Git mode, repeat the input mode, diff statistics, affected files, and four-dimensional plan to the user, then analyze after confirmation.
- Gate ② (Checklist Delivery Confirmation): After saving to disk, present the path, four-dimensional summary, and total checklist items; delivery is considered complete after user confirmation.
Routing and Independent Usage¶
Automatically activates when the downstream routing suggestion in the tri-intent snapshot points to this skill (L2=I10, L3=audit-checklist). It can also be installed independently: without an upstream tri-intent, it follows a four-state logic: “Snapshot Mode / To Be Identified / Guided Installation / Fallback Mode”; in Fallback Mode, it will declare that the checklist still requires manual verification of completeness.
Common direct trigger phrases include: “Generate audit checklist”, “Project self-check checklist”, “Pre-commit checklist”, etc.
§3.13 Code Copyright Compliance¶
The skill includes hard red lines for code copyright and license compliance (including the six pre-submission self-checks), along with the MIT license disclosure requirements for the built-in scripts parse_git_diff.py and build_checklist.py, written in SKILL.md §3.13 and related notes.
Version Check (Zero Step)¶
After activation, you must first run the version verification script; if it is not the latest version, upgrade it via skillhub upgrade when available in the channel:
python scripts/check_update.py --slug tri-checklist --json
Installation and Enablement¶
Method 1: SkillHub CLI (Recommended)¶
First confirm that skillhub is installed (installation guide see skillhub.cn/install/skillhub.md). When installing this skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized.
command -v skillhub && skillhub --version
skillhub search tri-checklist
skillhub install tri-checklist --namespace user_989eb8f0 --dir <skills 目录>
Coordinate syntax: @user_989eb8f0/tri-checklist.
Common Agent skills directories (excerpted from official installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
For other Agent paths, refer to Section 4 of skillhub.cn/install/skillhub.md.
Method 2: Let the Agent Handle Installation Instructions¶
The installation instructions provided on the SkillHub page are: Install @user_989eb8f0/tri-checklist according to https://skillhub.cn/install/skillhub.md. Suitable for pasting directly into a conversation for the Agent to complete CLI installation and directory configuration according to the documentation.
Typical Usage¶
Below is a reproducible main path (working directory diff, full four-dimensional coverage). If you have already gone through tri-intent and the snapshot routes to this skill, you should first read Snapshot §3, then enter the same Git and checklist steps.
- Invoke the Agent at the root directory of the project Git repository and specify the audit scope, for example: “Generate a four-dimensional audit checklist based on working directory changes, output to the current project.”
- The Agent completes Gate ① according to the skill contract: confirms the use of the working directory mode, and lists
git status/git diffstatistics and affected files. - After user confirmation, the Agent runs
parse_git_diff.py(--mode working) and then callsbuild_checklist.pyto generate the Markdown. - The default output filename can be
audit-checklist_<date>_<time>.md(Fallback mode convention); the specific path is confirmed with the user in Gate ②. - Developers change
- [ ]to- [x]item by item in the IDE or GitHub; when a formal review report is needed, hand it over to skills like tri-review instead of requiring a PASS/FAIL verdict within this skill.
If you only want to audit staged changes, explicitly state “Staged mode” in the request; if specifying a commit, provide the commit hash and use the commit ID mode.
Suitable Scenarios and Notes¶
Who is it for
- Developers who need to perform structured self-checks before submission or PR.
- Teams that want to write “Changes — Review — Test — Manual Steps” into a shareable checklist.
- Quality assurance workflows that already use or plan to use tri-intent orchestration and route to
audit-checklist.
Limitations and Notes
- This skill does not replace tri-intent’s intent recognition; when there is no available snapshot and the user has not clarified, it should not execute silently with an empty context.
- Checklist quality depends on the diff scope and the template; in Fallback Mode, or during offline version validation (B/C/D states), the deliverables or logs will mark the corresponding stance, and manual verification of the completeness of checklist items is still required.
- Clear division of labor with tri-review: tri-checklist produces the checklist, tri-review executes the review and generates the report; like tri-html (architecture visualization), it belongs to the I10 subclass but differs in object and output.
- If the optional upstream skill
tri-intentis not installed, the page andSKILL.mdwill guide you toskillhub install tri-intent --dir <target directory>; if the user refuses installation, it enters Fallback Mode.
Conclusion¶
Audit Checklist Generation binds the Git diff with the four-dimension audit methodology, uses dual approval gates to align the scope, fixes the delivery format with Markdown checkboxes, and includes built-in version checking and §3.13 copyright compliance constraints. If you want to stably obtain a “checklist for auditable items” in an Agent, you can install v1.1.2 from the official page:
- Page: https://www.skillhub.cn/skills/user_989eb8f0/tri-checklist
- API Resource Identifier: https://api.skillhub.cn/user_989eb8f0/tri-checklist