mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-06-30 03:41:40 +00:00
df28efaed9
## What Adds `docs/agents/` — an onboarding pack for external contributors using their own AI coding agent (Claude Code, Codex, Cursor, Aider, OpenClaw, etc.). ## Why Maintainers run an agent-driven workflow against this repo. External contributors using agents benefit from the same discipline (TDD red→green, PII preflight, parallel persona polish, three-axis merge readiness) but had nothing portable to point at. This documents the **process** and the **reusable building blocks** in an agent-agnostic way. ## Contents ``` docs/agents/ README.md WORKFLOW.md # pipeline + planning + PII preflight + force-push + worktrees RULES.md # 36 hard-won discipline rules TDD.md # red→green requirement, exemptions SUBAGENT-BRIEF-TEMPLATE.md skills/ # 14 task playbooks (intake, fix, polish, merge-gate, release, ops...) personas/ # 14 review voices (carmack, dijkstra, torvalds, meshcore, taleb, ...) ``` ## Scope Docs-only. No code changes. Existing `AGENTS.md` is unchanged. All committed text uses sanitized placeholders (`<workspace>`, `<repo>`, `YOUR_NAME`, `YOUR_HANDLE`, etc.) — no personal names, phones, IPs, keys, or absolute home/root paths. ## Verification - PII preflight grep on staged diff: only matches are the literal placeholders inside the documented sanitized example (`YOUR_NAME|YOUR_HANDLE|...|api[_-]?key|...`). - Off-topic skill grep on `docs/agents/`: clean (zero hits for the wrong-language/off-topic skill names that were scrubbed from the prior attempt). --------- Co-authored-by: meshcore-bot <bot@meshcore.local> Co-authored-by: Kpa-clawbot <bot@openclaw.local> Co-authored-by: efiten <erwin.fiten@gmail.com>
CoreScope — Agent Contributor Onboarding
If you're a contributor to CoreScope using an AI coding agent (Claude Code, Codex, Cursor, Aider, OpenClaw, Continue, etc.), this directory is your onboarding pack.
The maintainers run their own agent-driven workflow against this repo. The docs here describe the process, discipline, and reusable building blocks (skills + personas) that make that workflow merge-clean. Most of it is agent-agnostic — TDD, PR polish, persona review, PII preflight, subagent briefs — and translates cleanly to whatever harness you use.
Read in this order
- WORKFLOW.md — the end-to-end pipeline (fix-issue → CI watch → pr-polish → merge-gate → merge), planning rules, PII preflight, force-push rules, worktrees.
- RULES.md — 36 hard-won rules. Skim once, re-read when something feels off.
- TDD.md — red→green is mandatory. Exemptions listed.
- SUBAGENT-BRIEF-TEMPLATE.md — required template before spawning any subagent.
- skills/ — task-specific playbooks (e.g.,
fix-issue,pr-polish,pr-preflight,corescope-release). - personas/ — adversarial / expert review voices used in pr-polish fan-out.
How to use this with your own agent
- Point your agent at this directory. Tell it: "Treat
WORKFLOW.md+RULES.md+TDD.mdas standing instructions for this repo. Use the skills as task playbooks. Use the personas as parallel review voices on PRs." - The skills are written in a tool-call style we use internally, but the structure (Inputs / Steps / Output / Failure modes) is portable. Adapt the tool invocations to your harness.
- The personas are role prompts — drop them in as system messages when you want a specific kind of review (Carmack for perf, Dijkstra for correctness, Torvalds for taste, etc.).
Non-goals
- This is not a tutorial on CoreScope internals. For that see the repo
README.mdandAGENTS.md. - This is not a harness-specific guide. We document concepts, not key bindings.