🧪 Skills
Workspace Context Linter
Diagnose always-loaded workspace context files such as AGENTS.md, SOUL.md, USER.md, MEMORY.md, and TOOLS.md. Use when you want to reduce context bloat, detec...
v1.0.0
Description
name: workspace-context-linter description: Diagnose always-loaded workspace context files such as AGENTS.md, SOUL.md, USER.md, MEMORY.md, and TOOLS.md. Use when you want to reduce context bloat, detect duplicated rules, spot misplaced content, identify overweight sections, or audit whether core context files still match their intended roles before reorganizing them.
Workspace Context Linter
Audit core workspace context files without rewriting them.
Core workflow
- Load the core context files that exist.
- Summarize each file's likely role.
- Detect duplicate rule themes, overweight sections, and misplaced content.
- Produce a text report with priorities and suggested moves.
Read references as needed
- Read
references/rules.mdfor the lint categories and severity model. - Read
references/report-format.mdfor the output structure. - Read
references/file-roles.mdfor what each core context file should usually contain. - Read
references/move-guidelines.mdwhen deciding where content should move. - Read
references/release-minimal.mdbefore packaging or publishing so the first public surface stays minimal.
Use scripts as needed
- Use
scripts/context_linter.py [--scope core|core+memory|custom] [--paths ...] [--output report.txt]to run the linter.
Operating rules
- Prefer diagnosis over auto-editing.
- Treat duplicates as a maintenance problem unless they create real execution ambiguity.
- Treat overweight sections as candidates for extraction, not automatic deletion.
- Keep the first version focused on core context files and text reports.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!