About sweepi
sweepi is an Agent Skill for coordinating code lint checks, intended for agents reviewing changes or preparing commits. It delegates linting to a sub-agent and reports either CLEAN or BLOCKED.
Key features
- 01Set scope to changed files or all files
- 02Delegate linting to a sub-agent
- 03Retry or report blockers
- 04Return CLEAN or structured blockers only
Use cases
- 01Run lint checks before a commit
- 02Check changed files for lint violations
- 03Handle a user request for sweepi or linting
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jjenzz/ sweepi --skill sweepiAfter installing, type/sweepiin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.mdrules/complexity.mdjsx-bem-compound-naming.mdjsx-compound-part-export-naming.mdjsx-flat-owner-tree.mdjsx-on-handler-verb-suffix.mdjsx-server-action-prop-suffix.mdmax-custom-props.mdno-array-props.mdno-boolean-capability-props.mdno-componenttype-props.mdno-custom-kebab-case-props.mdno-element-props.mdno-exported-context-hooks.mdno-external-binding-mutation.mdno-handle-prefix-utils.mdno-handler-return-type.mdno-hook-jsx.mdno-inline-call-expressions.mdno-object-props.mdno-optional-props-without-defaults.mdno-prefixed-prop-bundles.mdno-prop-drilling.mdno-render-helper-functions.mdno-return-object-repetition.mdno-set-prefix-utils.mdno-title-case-props.mdno-useless-hook.mdDetails
From the project READMESweepi Orchestrator
Parent orchestrates only. Parent does not run Sweepi directly.
Trigger
- User asks for
sweepior linting - Parent is preparing to propose a commit
- Changed files may violate lint rules
Flow
COLLECT_FILES -> LINT -> RESULT
COLLECT_FILES: determine lint scope (changed filesor--all)LINT: invoke lint sub-agentRESULT:BLOCKED: retry with clarified scope or escalate to user with blocker detailsCLEAN: report success
Sub-Agent Invocation Contract
Parent prompt to lint sub-agent MUST include:
Load and obey role instructions in <SKILL-ROOT-DIR>/AGENTS.md
And must specify lint scope:
sweepi . --file "<path>" ...for changed filessweepi . --allwhen linting everything
Parent MUST NOT load lint instruction files into parent context.
Guardrails
- Do not suppress rules or disable linting
- Do not make speculative fixes without rule guidance/docs
- Return only:
CLEANorBLOCKEDwith structured blockers
Comments
Markdown supported