- Prevention: avoid patterns that aislop flags before writing them.
- Detection and fix: run a scoped scan after editing, auto-fix mechanical findings, verify the remaining findings against source, and only hand back work once the bar is met.
Install
aislop skill from the public scanaislop/skills repository. The live skills.sh listing is:
npx skills add --help to see the installer options for global installs, per-agent installs, and dry runs.
Install options
Repository layout
The skills repo is intentionally small:skills/aislop/SKILL.md is the agent-facing procedure. skill.json is the registry manifest that skills.sh reads for metadata, examples, compatibility, keywords, and trigger prompts.
skills.sh metadata
The current manifest declares:What the skill tells the agent to do
1
Follow the project first
The agent matches the repository’s logger, error handling, naming, test style, and architecture instead of imposing a generic pattern.
2
Scan the changed files
After editing, the agent runs a scoped scan such as
aislop scan --changes --json.3
Auto-fix mechanical findings
The agent runs
aislop fix for safe cleanup such as unused imports, duplicate imports, formatting, and narrative comments.4
Fix the remaining findings with judgment
For non-mechanical findings, the agent opens the cited source line, confirms the issue is real, and applies a code change in the repository style.
5
Re-scan before finishing
The agent reports completion only after errors are resolved, fixable warnings are gone, and any intentional finding is clearly called out.
What it prevents
How it relates to hooks and MCP
You can use all of them together. The skill provides the operating procedure, hooks provide automatic per-edit feedback, and MCP gives the agent callable tools.
Example flows included in the skill
The skill repo ships example conversations so agents and maintainers can see the expected behavior end to end:Contributing to the skill
Skill changes belong inscanaislop/skills, not the CLI repo. Each skill must ship:
SKILL.mdwithnameanddescriptionfrontmatter.skill.jsonwith registry metadata and examples.- At least one realistic example under
examples/. - Updated evals when trigger behavior changes.
skill.json with semver: patch for typos, minor for new sections or examples, and major for breaking changes to the skill interface.