Skip to content
Back to skills

Specs

ASecurity

Goal: [doc-audit](../brief.md#doc-audit), decision `docclean` = merge ("Make it Joycraft's cleanup method"). Source: https://github.com/aka-luan/doc-cleanup (MIT). Built in joycraft-prototype, branch `field/1.1.2` (from `field/1.2-custom-answer`).

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
developmentgogit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add maksutovic/joycraft --skill specs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Specs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Specs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/maksutovic-specs-ad2e5b4f/badge)](https://www.skillsdirectory.com/skills/maksutovic-specs-ad2e5b4f)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: 3
status: done
---
# joycraft-cleanup follows David's doc-cleanup method

Goal: [doc-audit](../brief.md#doc-audit), decision `docclean` = merge ("Make it
Joycraft's cleanup method"). Source: https://github.com/aka-luan/doc-cleanup
(MIT). Built in joycraft-prototype, branch `field/1.1.2` (from `field/1.2-custom-answer`).

## acceptance

- The skill runs doc-cleanup's five phases: inventory with roles (entry,
  required, reference, historical), diagnose without editing, report worst-first
  and stop, execute only approved changes, verify and hand off. `cleanup.mjs` is
  the first evidence pass. Check: the skill text names each phase and the stop;
  `tests/skills/cleanup-skill.test.mjs` asserts the headings and the stop rule.
- It hunts the six rot patterns and checks each claim against the code. It
  keeps hard rules, traps, do-not-do lines and vocabulary. Check: same test
  asserts each pattern and the keep list are present.
- It holds the map's current-state rule: rewrite a changed fact in place, reason
  to the decision log, history to the archive (spec 05 owns the rule text; this
  skill links it). Check: link resolves.
- It applies the trim: file tables, folder trees, workflows and code
  walkthroughs move out of AGENTS.md into a linked home; ALWAYS / ASK FIRST /
  NEVER and other rules are never moved or reworded. Check: live run (below).
- It runs during setup (spec 04), after a feature is archived, and when asked
  ("clean up the docs", "audit the docs", "what in our docs is stale"). Check:
  skill-evaluation case `doc-audit-request` routes to joycraft-cleanup.
- MIT notice: `.joycraft/references/doc-cleanup-LICENSE.md` with the original
  copyright, and a credit line to aka-luan and David Moshal in the skill. Check:
  file exists and names the copyright holder from the source repo's LICENSE.
- Live run: a Claude Code session following the skill on a fixture holding the
  pre-#87 AGENTS.md proposes moving Key Files, data flow, folder map and gotchas
  into a context page, and changes nothing before approval. Check:
  `scripts/host-smoke.mjs` case `doc-audit-trim`; the fixture's bytes are
  unchanged after the report phase and the proposal lists those four sections.

## Not covered

Shipping doc-cleanup's SKILL.md unchanged beside ours (rejected in `docclean`).

## Implementation and verification scope

`.agents/skills/joycraft-cleanup/SKILL.md`, `.joycraft/references/cleanup.md`,
new `.joycraft/references/doc-cleanup-LICENSE.md`,
`fixtures/skill-evaluation/` (new case), host-smoke case, tests above.
Depends on 02 (the checks it names) and 05 (the rule it links).

Files in this skill

  • .joycraft-spec-queue.json12.1 KB
  • 01-wiring-check.md1.7 KB
  • 02-cleanup-checks.md1.7 KB
  • 03-doc-audit-skill.md2.6 KB
  • 04-setup-interview.md2.5 KB
  • 05-map-growth.md1.7 KB
  • 06-context-skill.md1.4 KB
  • 07-update-notice.md1.5 KB
  • 08-artifact-answers.md1.3 KB
  • 09-artifact-conflict.md1.1 KB
  • 10-cli-wiring-report.md1.1 KB
  • 11-release-docs.md1.3 KB
  • legacy-acceptance.json340 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.