skills/skill-comply/SKILL.md
Measure whether agents actually follow a skill, rule, command, or agent definition by deriving expected behaviors, running representative scenarios, and comparing observed action timelines against the spec. Use after adding or changing instructions, before publishing skills, or when rules appear to be ignored.
npx skillsauth add shipshitdev/library skill-complyInstall 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.
Test whether an instruction artifact changes agent behavior in realistic conditions. The goal is not to prove that the file is well-written; it is to measure whether an agent follows it when the user prompt is supportive, neutral, or competing.
Inputs:
SKILL.md, rule file, command, agent definition, or instruction docOutputs:
Creates/Modifies:
External Side Effects:
Confirmation Required:
Delegates To:
skill-validator for frontmatter/spec checksskill-auditor for portfolio-level duplicate and quality auditsevaluation for broader agent eval designCompliance has three layers:
Measure behavior, not prose quality.
Read the target artifact and extract:
Represent the spec as a short table:
| Step | Required Behavior | Evidence Type | Required Order | | --- | --- | --- | --- | | 1 | Inspect existing examples before editing | search/read action | before write | | 2 | Preserve unrelated user changes | diff/status check | before final |
Create three prompts:
For destructive or side-effecting skills, use dry-run scenarios against fixture files or synthetic repos. Do not create real external side effects for a compliance test.
Use the strongest safe evidence available:
Do not count a step as compliant because the final answer claims it happened. Require an action trace, command output, file diff, or visible artifact.
Classify each expected behavior:
| Result | Meaning | | --- | --- | | Matched | Required behavior happened with adequate evidence | | Missing | Required behavior did not happen | | Reordered | Behavior happened, but too late to matter | | Weak | Behavior happened superficially or without enough evidence | | Violated | A forbidden action happened |
Compute a simple score:
score = matched / required
critical violation = automatic fail
Use judgment for ordering and gates. A late safety check after writing code does not satisfy a pre-edit investigation requirement.
Compliance result: 2/3 scenarios passed. Neutral prompt failed because the agent edited before checking existing patterns.
| Scenario | Score | Verdict | Main Failure |
| --- | --- | --- | --- |
| Supportive | 5/5 | Pass | - |
| Neutral | 3/5 | Fail | Missing pre-edit example search |
| Competing | 4/5 | Pass | Weak final evidence |
## Timeline Findings
- Missing: [step] [evidence]
- Reordered: [step] [why order matters]
## Recommended Fix
1. Tighten the trigger phrase in `description`.
2. Move the precondition into the Contract.
3. Add a short output checklist.
When a step repeatedly fails:
development
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo monorepo build system guidance. Triggers on: `turbo.json`, task pipelines, `dependsOn`, caching, remote cache, the `turbo` CLI, `--filter`, `--affected`, CI optimization, environment variables, internal packages, monorepo structure, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.