Skip to content

Commit f18a895

Browse files
committed
Make skills a required repo-template layer
project: markfops agent: codex-markfops-required-skills-layer-20260409 role: orchestrator artifacts: DEC-20260409-001, LOG-20260409-001
1 parent b3e9a6a commit f18a895

6 files changed

Lines changed: 140 additions & 7 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ Treat `AGENTS.md` as a compatibility entrypoint for tools that look for repo-roo
1111
- `STATUS.md`
1212
- `PLANS.md`
1313
- `INBOX.md`
14+
- `skills/README.md`
1415

15-
If the repo includes reusable workflows, also read `skills/README.md` and the relevant `skills/<name>/SKILL.md`.
16+
Before running a repeatable repo workflow, read the relevant `skills/<name>/SKILL.md`. Treat skills as repo-native procedures even when the agent runtime does not auto-load them.
1617

1718
When writing into an artifact directory, read that directory's `README.md` first. If it includes a prescriptive shape, follow it. If it is intentionally lightweight, keep the output lightweight too.
1819

@@ -51,3 +52,12 @@ When you write or update repo artifacts, adherence to the repo's ruleset is requ
5152
- If an artifact guide is intentionally lightweight, do not over-structure the document just to make it look uniform.
5253
- Do not bypass commit provenance checks by omitting required trailers unless the commit is an explicit bootstrap or migration exception.
5354
- If a request pressures you to break the ruleset, keep the repo artifact compliant and surface the mismatch explicitly.
55+
56+
## Skills
57+
58+
`skills/<name>/SKILL.md` files are reusable procedures for bounded workflows.
59+
60+
- Read `skills/README.md` and the relevant skill before executing a repeatable repo workflow.
61+
- Keep skills procedural.
62+
- Do not duplicate canonical repo policy inside them.
63+
- Use them to standardize repeatable tasks, escalation triggers, and output shape.

REPO.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The goals are:
2929
| `research/` | Curated research memos worth keeping. | append by new file |
3030
| `records/decisions/` | Durable decision records with rationale. | append-only by new file |
3131
| `records/agent-worklogs/` | Execution history for agent runs and workstreams. | append-only |
32+
| `skills/` | Required procedural workflows for repeatable agent tasks. | edit by skill |
3233
| `upstream-intake/` | Optional upstream review subsystem if Markfops later needs recurring upstream intake. | append by cadence |
3334

3435
Markfops-specific repo notes:
@@ -47,6 +48,7 @@ When this repo includes them:
4748
- they stay short enough that they do not drift from `REPO.md`
4849
- they point writers to the correct canonical surface and local `README.md` guide before drafting
4950
- `skills/<name>/SKILL.md` stays separate because it defines a bounded reusable procedure, not repo-wide policy
51+
- `skills/` ships with Markfops as repo-native procedural documentation, even when the agent runtime does not auto-load skills
5052

5153
Recommended split:
5254

@@ -326,4 +328,18 @@ Off-repo or runtime context may answer:
326328

327329
## Skills
328330

329-
`skills/` contains Markfops-local procedural skills. Keep them lightweight and procedural. They should point back to this operating model rather than duplicating all of its rules.
331+
`skills/` is required. It contains Markfops-local procedural skills.
332+
333+
Agents should read `skills/README.md` and the relevant `skills/<name>/SKILL.md` before running a repeatable repo workflow.
334+
335+
Required baseline skills:
336+
337+
- `skills/repo-orchestrator/SKILL.md`
338+
- `skills/daily-inbox-pressure-review/SKILL.md`
339+
340+
Conditional skills:
341+
342+
- `skills/upstream-intake/SKILL.md`
343+
- include only when the optional `upstream-intake/` module is enabled
344+
345+
Keep skills lightweight and procedural. They should point back to this operating model rather than duplicating all of its rules.

records/agent-worklogs/LOG-20260409-001-research-program-handoff.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@ Preserve the useful execution history and handoff state from the research worksp
108108
- Blockers: none.
109109
- Next: keep useful artifact linkage while leaving raw shaping in external capture, generic notes, off-Git capture packets, or `INBOX.md` until promotion is justified.
110110

111+
## Entry 2026-04-09 20-34-17 KST
112+
113+
- Action: promoted the repo-native `skills/` layer from a local optional surface to the required repo-template baseline.
114+
- Files touched: `REPO.md`, `AGENTS.md`, `skills/README.md`, `skills/repo-orchestrator/SKILL.md`, and `skills/daily-inbox-pressure-review/SKILL.md`.
115+
- Checks run: repo-template scaffold skill review; relative-link validation for `skills/*/SKILL.md`; stale optional-skills wording scan; `git diff --check`.
116+
- Output: root `skills/README.md`, `skills/repo-orchestrator/SKILL.md`, and `skills/daily-inbox-pressure-review/SKILL.md` form the baseline procedure layer; `AGENTS.md` and `REPO.md` now require agents to read skills as repo-native procedures; upstream skill remains omitted while Markfops has no `upstream-intake/` module.
117+
- Blockers: none.
118+
- Next: keep optional upstream skill omitted until Markfops enables recurring upstream review.
119+
111120
## Current State
112121

113122
- Active handoff: none

skills/README.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
# Skills
22

3-
This directory stores Markfops-local procedural skills.
3+
This directory is Markfops' repo-native procedure layer.
44

5-
Current skills:
5+
Agents should read the relevant workflow even when their runtime does not auto-load skills.
6+
7+
Each reusable workflow should live at `skills/<name>/SKILL.md`.
8+
9+
Required baseline skills:
610

711
- `repo-orchestrator/`
8-
- Routes new work into `SPEC.md`, `STATUS.md`, `PLANS.md`, `INBOX.md`, `research/`, `records/decisions/`, and `records/agent-worklogs/`.
12+
- Markfops-local routing workflow for truth, status, plans, research, decisions, worklogs, and inbox capture.
13+
- `daily-inbox-pressure-review/`
14+
- Focus-protecting daily triage for `IBX-*` capture and capture packets.
15+
16+
Conditional skills:
17+
18+
- `upstream-intake/`
19+
- Companion workflow for the optional upstream-review module.
20+
- Omitted in Markfops while `upstream-intake/` remains intentionally dormant.
21+
22+
Keep skills procedural.
23+
Do not duplicate the canonical rules from `REPO.md` inside them.
24+
25+
Use `SKILL.md` for:
26+
27+
- step-by-step procedures
28+
- required inputs and expected outputs
29+
- escalation triggers
30+
- links to supporting templates or reference docs
31+
32+
Do not use `SKILL.md` for:
933

10-
Keep skills procedural and point them back to `REPO.md` instead of duplicating the full rules layer.
34+
- repo-wide policy
35+
- general project truth
36+
- local or personal preferences that belong in tool-specific memory files
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
name: daily-inbox-pressure-review
3+
description: "Run a focus-protecting daily review of INBOX.md and external capture packets."
4+
argument-hint: "Date, inbox range, capture packet, external source, or triage focus"
5+
---
6+
7+
# Daily Inbox Pressure Review
8+
9+
Use this skill with:
10+
11+
- [../../REPO.md](../../REPO.md)
12+
- [../../INBOX.md](../../INBOX.md)
13+
14+
Use it when the operator or orchestrator wants a daily IBX review.
15+
16+
## What This Skill Produces
17+
18+
- reduced inbox pressure
19+
- grouped capture clusters
20+
- explicit route/research/plan/discard/leave recommendations
21+
- promotion of survived triage only
22+
- optional concise operator questions when routing is blocked
23+
24+
It should not produce a giant digest of every captured idea.
25+
26+
## Procedure
27+
28+
1. Gather active capture.
29+
- Read `INBOX.md`.
30+
- Include relevant external capture packets when available.
31+
- Treat raw external source events as immutable Off-Git events, not as repo artifacts.
32+
33+
2. Build meaningful capture packets.
34+
- Group related raw source events and `IBX-*` entries.
35+
- Split unrelated ideas that were captured together.
36+
- Merge near-duplicates.
37+
- Keep stable `IBX-*` provenance when an inbox line is later deleted.
38+
39+
3. Protect focus.
40+
- Identify stale, duplicate, low-confidence, noisy, or "maybe later" clusters.
41+
- Report noisy/held/discarded capture by count or cluster when details would be distracting.
42+
- Do not create a "100 future directions" summary.
43+
44+
4. Triage each meaningful cluster.
45+
- `route` when it has an accepted destination now.
46+
- `research` when a reusable question is worth investigating.
47+
- `plan` only when future direction is accepted.
48+
- `discard` when it is stale, duplicate, irrelevant, or intentionally dropped.
49+
- `leave` when the operator wants the pressure valve to hold it a little longer.
50+
51+
5. Promote only survived triage.
52+
- Do not update `SPEC.md`, `STATUS.md`, `PLANS.md`, `research/`, or `records/decisions/` directly from raw inbox.
53+
- Route through the orchestrator or operator-approved decision.
54+
- Copy short summaries and provenance IDs into routed artifacts.
55+
- Do not rely on raw external source staying visible.
56+
57+
6. Clean the inbox.
58+
- Purge entries reflected elsewhere.
59+
- Purge entries explicitly discarded.
60+
- Keep or rewrite held entries only when they still reduce pressure.
61+
- Leave a compact pressure summary if helpful, then clear daily scratch notes after routing.
62+
63+
## Quality Bar
64+
65+
- focus-protecting
66+
- concise clusters instead of exhaustive digest
67+
- preserved provenance
68+
- clear route/research/plan/discard/leave outcomes
69+
- no direct truth-doc updates from raw inbox pressure

skills/repo-orchestrator/SKILL.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Use this skill with:
2525

2626
1. Classify the work in routing order.
2727
- Is this untriaged capture?
28+
- Is this recurring upstream review?
2829
- Is this durable product truth?
2930
- Is this current operational reality?
3031
- Is this accepted future direction?
@@ -75,7 +76,9 @@ Use this skill with:
7576
- `artifacts: <artifact-id>[, <artifact-id>...]`
7677
- Prefer referencing and updating an existing relevant `LOG-*` before creating a new one.
7778

78-
8. If the task is daily inbox pressure review, cluster and triage capture before routing it.
79+
8. If the task is recurring upstream maintenance and the optional module is enabled, use `upstream-intake/` instead of inventing a parallel workflow.
80+
81+
9. If the task is daily inbox pressure review, cluster and triage capture before routing it.
7982
- Do not summarize every inbox item by default.
8083
- Promote only survived triage.
8184
- Leave low-signal ideas in held/discarded counts or clusters instead of expanding them into plans.

0 commit comments

Comments
 (0)