Agent skill
treido-audit-typescript
Read-only TypeScript auditor for Treido (strictness, unsafe casts, any/unknown discipline). Returns structured payload for ORCH merge. Trigger: TS-AUDIT
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/treido-audit-typescript
SKILL.md
Treido TypeScript Auditor (Read-only)
Read-only specialist. Do not patch files. Do not edit TASKS.md.
Contract: .claude/skills/treido-orchestrator/references/audit-payload.md
Focus (Treido)
- Avoid
as any, unchecked assertions, and@ts-ignore. - Prefer narrow types,
unknown+ validation at boundaries.
Audit Steps (Read-only)
pnpm -s typecheck
rg -n "\\bas any\\b|@ts-ignore|@ts-nocheck|@ts-expect-error" app components lib --glob '*.ts' --glob '*.tsx'
rg -n "\\b:any\\b|\\bany\\[\\]" app components lib --glob '*.ts' --glob '*.tsx'
Output (Required)
- Header:
## TS - IDs:
TS-001,TS-002, ... - Include acceptance checks:
pnpm -s typecheck+ “no new as any / @ts-ignore in touched files”
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?