MJ-skill/terminology-audit/SKILL.md
Use for cross-file or cross-chapter terminology audits and corpus-wide term unification in thesis/paper sources — extract candidate term drift, build a decision queue, classify each occurrence, apply accepted replacements safely, and verify counts/build. Trigger on "术语审计", "术语统一", "术语一致性", "逐词审", "这个词全文怎么用", "把 X 全文改成 Y", "terminology audit", or "unify term X". Do NOT use for ordinary prose drafting or a single known-location edit; use academic-writing for prose quality and claim-boundary judgment.
npx skillsauth add develata/deve-skills terminology-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill is the audit-and-replacement process, not the term standard itself. When present, use your project's domain-terminology reference to decide the preferred term. Follow artifact-grounded-review's execution-time premise check: a prior assertion, an old draft's wording, model memory, or "it sounds like a signature term" is not evidence — check the actual corpus at execution time.
Before searching or replacing, define the editable corpus — usually the thesis/paper .tex sources. Exclude build products, .aux, old reports, scripts, generated outputs, and non-source files unless the user explicitly includes them.
python scripts/terminology_audit/extract_candidates.py <tex files> --out "$RUN/candidates_stat.jsonl".$RUN/candidates_llm.jsonl rows with at least term, suspicion, reason, context, line_hint, suggested_alternative.python scripts/terminology_audit/merge_candidates.py --stat "$RUN/candidates_stat.jsonl" --llm "$RUN/candidates_llm.jsonl" --out-jsonl "$RUN/candidates_final.jsonl" --out-md "$RUN/dashboard.md".llm_only reviewed before stat_only.One row per candidate: term | flagged_by | freq | suspicion | reason | suggested | decision.
suspicion ∈ {non_standard (non-standard / broken Chinese term form, e.g. 空格断裂), english_bleed (bare English where a Chinese standard term exists), inconsistent (multiple variants for the same concept)}.
Triage high-confidence, low-blast-radius candidates first. Defer to Phase 3 with user approval: signature/innovation terms, headings/titles, abstract/contribution terms, ambiguous one-to-many mappings, and cross-chapter high-impact terms.
For each accepted decision, never blind global find-replace. Run:
label/ref/eqref/autoref keys, math, file paths, dataset names, and quoted artifact names unless explicitly approved. Visible prose inside headings/captions may change if it passes the same classification. (Same surface term may need different handling per occurrence.)file:line | current | action | after. User approval is REQUIRED for signature/innovation terms, headings/titles, abstract/contribution wording, ambiguous one-to-many mappings, or claim-changing replacements. Auto-apply only low-risk mechanical variants after the decision rule is accepted. Edit only allowlisted occurrences; then re-grep old/new terms (confirm the count moved as intended, no over-replacement), inspect the diff, and run the available LaTeX/project build (0 undefined, no ref breakage). If no build exists, say so.These are process failures, not permanent term-policy rules — do not hard-code that a specific word must always stay or always be replaced.
Default to a repo-conventional run dir (outputs/terminology_audit/run_<UTC>_<scope>/, or the project's existing convention). Keep dashboard.md, candidates_*.jsonl, and audits/<term>.md for non-trivial per-term decisions. Apply in confidence-batched patches / change sets; commit only if the user asks.
tools
Collect and audit Codex token usage with a bundled Python CLI and optional Windows batch launchers. Use this skill when the user asks to check Codex token usage, generate daily token audit logs, calculate monthly CostUSD totals, review Codex spending, or run Codex token usage scripts on Windows, Bash, WSL, or Linux.
tools
Use when giving the user an INLINE reply that carries a trade-off, a decision, a verdict, or a non-trivial finding (decision brief / round verdict / failure root-cause). NOT for "done"/status confirmations, one-line answers, or pure data dumps. Forces a compact decision-brief shape and blocks internal tool-name / file-path bleed into user-facing text.
tools
Use for ANY codex CLI dispatch via dispatch wrapper (no time threshold; presence-of-risk triggers, not estimated wall — stdin-EOF stalls occur at <60s). Combines internal log-inactivity watchdog wrapper + external Claude-session cron probe + sentinel hook enforcement. Detects stalls in ≤60-270s vs hours-without-detection failure mode.
testing
Use BEFORE proposing any multi-hour task, recommending compromise-vs-clean choice, citing a "named" rule/mechanism, or skipping plan iteration. Five guards against Claude's training-time biases that systematically override user-aligned principles. Triggered by proposal, recommendation, citation, or plan authoring.