scrub-reflection-self-improvement
Use this skill on scheduled scrub turns to identify and land high-leverage improvements in marin-community/marin.
Focus
- Look for improvements from recent issues, PR feedback, and recurring operational friction.
- Prefer one concrete implementation per run when feasible.
- If implementation is blocked, produce a concrete plan and capture follow-up work in GitHub.
Candidate Signals
- Repeated confusion in docs, recipes, or contributor workflows.
- Recurring failures or avoidable manual steps in experiments, scripts, and infra operations.
- Capability gaps that reduce the value of agent-assisted contributions.
Triage Checklist
Run a lightweight, repeatable scan before choosing work:
- Review recent open issues and open PRs for repeated friction clusters.
- Explicitly check for already-open scrub-generated issues/PRs touching the same area; prefer advancing or deferring to that existing artifact instead of creating a parallel one.
- Review the latest commits on
main for changes that imply follow-on docs/workflow updates.
- Search
AGENTS.md, .agents/skills/, and docs for stale workflow guidance related to those clusters.
- De-duplicate against existing issues/PRs before creating new artifacts.
When possible, prefer improvements that remove recurring operator time (for example,
turning ad-hoc scrub judgment into explicit repeatable guidance).
Decision Heuristics
- Pick the highest-leverage change with the lowest coordination overhead.
- Treat open scrub-generated issues/PRs as first-class prior art during triage; if one already covers the candidate improvement, avoid opening a second artifact unless the new scope is clearly distinct.
- De-duplicate against existing issues/PRs before opening new work.
- When an improvement changes recurring workflow guidance, codify it in durable repo instructions:
AGENTS.md for cross-cutting agent behavior, or .agents/skills/ for repeatable task workflows.
- If no justified improvement exists now, choose a no-op outcome.
- Prefer direct implementation over opening new issues when the change is fully in-repo and low-risk.
Output
- Keep rationale explicit: observed gap, change made (or plan), and expected impact.
- Prefer durable artifacts over transient notes: land guidance updates in
AGENTS.md and/or recipe docs when that is the primary improvement.
- Treat local-only edits as incomplete work. If you modify files, publish the result (commit/push and open or update a PR per
.agents/skills/commit/SKILL.md) before finishing this scrub run.
- If publish is blocked (auth, permissions, CI infra, etc.), report the blocker and set a future
needs_followup_at instead of ending the run.
- If you choose no-op, include explicit inspected signals and why no justified improvement exists now.
- End the run with exactly one footer line of valid one-line JSON:
HARNESS_SCRUB_LOOP {"needs_followup_at":null}. Set needs_followup_at to null when the run is complete, or a future RFC 3339 timestamp when another follow-up turn is needed.
For no-op outcomes, include at minimum:
- which issue/PR/commit windows were inspected,
- why each candidate was not suitable for this run,
- and why deferring to the next scheduled run is preferable to opening a low-signal artifact now.
1---2name: scrub-reflection-self-improvement3description: Run the repository self-improvement scrub only from its scheduler or an explicit request for that scrub.4---56# scrub-reflection-self-improvement78Use this skill on scheduled scrub turns to identify and land high-leverage improvements in `marin-community/marin`.910## Focus1112- Look for improvements from recent issues, PR feedback, and recurring operational friction.13- Prefer one concrete implementation per run when feasible.14- If implementation is blocked, produce a concrete plan and capture follow-up work in GitHub.1516## Candidate Signals1718- Repeated confusion in docs, recipes, or contributor workflows.19- Recurring failures or avoidable manual steps in experiments, scripts, and infra operations.20- Capability gaps that reduce the value of agent-assisted contributions.2122## Triage Checklist2324Run a lightweight, repeatable scan before choosing work:25261. Review recent open issues and open PRs for repeated friction clusters.272. Explicitly check for already-open scrub-generated issues/PRs touching the same area; prefer advancing or deferring to that existing artifact instead of creating a parallel one.283. Review the latest commits on `main` for changes that imply follow-on docs/workflow updates.294. Search `AGENTS.md`, `.agents/skills/`, and docs for stale workflow guidance related to those clusters.305. De-duplicate against existing issues/PRs before creating new artifacts.3132When possible, prefer improvements that remove recurring operator time (for example,33turning ad-hoc scrub judgment into explicit repeatable guidance).3435## Decision Heuristics3637- Pick the highest-leverage change with the lowest coordination overhead.38- Treat open scrub-generated issues/PRs as first-class prior art during triage; if one already covers the candidate improvement, avoid opening a second artifact unless the new scope is clearly distinct.39- De-duplicate against existing issues/PRs before opening new work.40- When an improvement changes recurring workflow guidance, codify it in durable repo instructions:41 `AGENTS.md` for cross-cutting agent behavior, or `.agents/skills/` for repeatable task workflows.42- If no justified improvement exists now, choose a no-op outcome.43- Prefer direct implementation over opening new issues when the change is fully in-repo and low-risk.4445## Output4647- Keep rationale explicit: observed gap, change made (or plan), and expected impact.48- Prefer durable artifacts over transient notes: land guidance updates in `AGENTS.md` and/or recipe docs when that is the primary improvement.49- Treat local-only edits as incomplete work. If you modify files, publish the result (commit/push and open or update a PR per `.agents/skills/commit/SKILL.md`) before finishing this scrub run.50- If publish is blocked (auth, permissions, CI infra, etc.), report the blocker and set a future `needs_followup_at` instead of ending the run.51- If you choose no-op, include explicit inspected signals and why no justified improvement exists now.52- End the run with exactly one footer line of valid one-line JSON: `HARNESS_SCRUB_LOOP {"needs_followup_at":null}`. Set `needs_followup_at` to null when the run is complete, or a future RFC 3339 timestamp when another follow-up turn is needed.5354For no-op outcomes, include at minimum:5556- which issue/PR/commit windows were inspected,57- why each candidate was not suitable for this run,58- and why deferring to the next scheduled run is preferable to opening a low-signal artifact now.