agentleFS
Art4Art4/continuous-refactoring/skills/continuous-housekeeping/SKILL.md

continuous-housekeeping

Skill1 starsChanged 2 months agoMITView on GitHub

Runs one Housekeeping Track cycle — reconcile, checklist, quality gate, deliver — then records its Last scan; aborts on a target that isn't onboarded. Internal — invoked by continuous-refactoring only, not a user entry point.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Learn, closing call — always: Run /refactor-learn with the Housekeeping Track's process having actually run this pass, whichever way it …

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Continuous Housekeeping

The Housekeeping Track (CONTEXT.md) as one loop pass. Unlike the other three Tracks, Housekeeping isn't a tooling-tree scan: its own reconcile → checklist-assembly → quality-gate → deliver process is a complete pipeline in itself, in references/housekeeping-track.md. This skill runs it directly and never calls refactor-loop — the generic pass (scan → prioritise → design → implement) doesn't apply to it. Its own merge request (or, on a cycle with zero code changes, a direct issue close) is the pass's entire delivery.

Invoked by continuous-refactoring once its Track scheduler selects Housekeeping. Not a user entry point — a human who wants this Track runs /continuous-refactoring housekeeping. Housekeeping's trigger stays centrally scheduled; only its process lives here.

Direct invocation is a full manual override. However this skill is reached — by continuous-refactoring, by naming the Track, or typed directly — it runs the Housekeeping Track without consulting the scheduler, bypassing the Safety Net blockade exactly as ../continuous-refactoring/references/track-scheduler.md's Manual override section describes for a named Track. This skill knows only its own Track and never reads another Track's state.

The Track's own reference files live beside this skill: references/housekeeping-track.md (the process), references/housekeeping-cadence-interview.md (the human-run cadence interview), references/housekeeping-template-file-format.md (the checklist file's format).

Process

Report every step, before and after — one sentence for what starts, one for its result, each write to the target (branch, commit, issue, merge request) on its own line, per ../continuous-refactoring/references/reporting-progress.md. This skill runs in the human's conversation itself, so it reports directly; refactor-learn names its writes in its ## Output.

  1. Onboarded target. The Bookkeeping pointer must resolve to an existing bookkeeping.md (an issue URL is loaded first — ../continuous-refactoring/references/issue-mode.md) (../continuous-refactoring/references/refactoring-bookkeeping.md says where the Refactoring Notes live). Missing → abort now: nothing runs, not even step 2. Report it as refactoring-bookkeeping.md's Not onboarded yet section says. This skill doesn't go through refactor-loop, so it makes this check itself.
  2. Housekeeping cycle. Follow references/housekeeping-track.md to completion — reconcile housekeeping-template.md, create this cycle's issue (per ../continuous-refactoring/references/filing-a-ticket.md), work the checklist, run the quality gate, deliver. It resumes an in-progress cycle rather than opening a second one. Nothing registered to check yet → it reports that and stops; that still counts as this Track's process having run. The human declined to have this cycle's issue created (Ticket-create-mode: ask-each-time), or nobody was there to ask → the cycle doesn't run, this pass ends here without step 2, and the report says so.
  3. Learn, closing call — always. Run /refactor-learn with the Housekeeping Track's process having actually run this pass, whichever way it ended. Records ## Housekeeping's Last scan (../refactor-learn/references/housekeeping-write.md) (written in place, never committed). refactor-learn writes it only when the process was actually reached.

Fallback

The suite must keep working in a target repo with none of the global skills installed. refactor-learn's own ## Fallback covers step 2, and housekeeping-track.md names its own tool and forge fallbacks; this skill engages no global skill itself.

Closing report

Wherever the pass ends, close with exactly two lines to the human:

  • Status: one line, what happened this pass, e.g. "Status: housekeeping sweep delivered (MR #7); ...". Every claim reflects state freshly confirmed this pass; when it can't be confirmed (no forge/remote, CI status unreadable), say so explicitly rather than reporting an assumed outcome.
  • Next: one line, what the human can or should do now.

Completion criterion

One Housekeeping cycle's process ran per housekeeping-track.md — or its issue was declined and the report says so — and refactor-learn's closing call recorded ## Housekeeping's Last scan, and the outcome is reported: a delivered merge request (or a direct issue close on a zero-change cycle), a cycle resumed, or "due, but nothing registered to check yet".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.