rpce-maintainer-guidance
Skill943 starsChanged 2 months agoApache-2.0View on GitHub
Apply evidence-led RepoPrompt CE maintainership principles distilled from documented project guidance. Use when planning, scoping, implementing, reviewing, triaging, or sequencing RPCE changes; deciding whether work should be an investigation, issue, PR, or follow-up; checking compatibility, migrations, performance, observability, model defaults, or release risk; or asking how a proposed change fits the project's intended direction.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- rpce-contribution-checkSkill
- rpce-issue-creatorSkill
- rpce-merge-pr-batchSkill
- rpce-releaseSkill
- rpce-swift-6-concurrency-migrationSkill
- rpce-swift-concurrency-fixSkill
- rpce-test-qualitySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 23 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈23
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read references/guidance-sources.md when the task needs the evidence behind a principle, involves a disputed tradeoff, or changes model …
- Distinctive: line 19
Check user-state, migration, crash, restart, cancellation, and partial-success behavior before declaring the design safe.
- Distinctive: line 20
Check scale and concurrency: project-size growth, CPU contention, off-main-actor synchronization, caching, coalescing, and accidental …
- Distinctive: line 21
Keep asynchronous work observable.
- Distinctive: line 29
Ask why the unexpected state, stall, timeout, or invalid value exists.
- Distinctive: line 31
Treat extra fallbacks as complexity that must earn its place with a demonstrated failure mode.
- Distinctive: line 32
Prefer an investigation when the causal chain is not yet supported by evidence.
- Distinctive: line 36
Treat settings, selections, agent configuration, credentials, and workspace state as high-risk boundaries.
- Distinctive: line 38
Never turn an unknown or future-looking settings document into silent data loss.
- Distinctive: line 46
Do not let diagnostic-only behavior become the production authority.
- Distinctive: line 50
Avoid whole-root scans, full index rebuilds, and per-item persistence when a delta is known.
- Distinctive: line 57
Do not frame a CodeMap replacement as "AST versus no AST." The current pipeline already starts from Tree-sitter syntax captures, then adds …
- Very specific: line 58
When considering a simpler structural engine such as ast-grep, state which layer it would replace: parser/query execution, extraction and …
- Distinctive: line 59
Prefer a bounded comparative spike over a wholesale rewrite.
- Distinctive: line 60
Treat extracting the structural core into a headless package or external repository as a separate decision from changing engines.
- Distinctive: line 67
Prefer bounded, actionable error states over indefinite waits or opaque transport closure.
- Distinctive: line 73
Keep deferred work in an issue or explicit follow-up.
- Distinctive: line 74
Treat large changes as requiring proportionally stronger validation, even when the design is directionally right.
- Distinctive: line 78
Treat defaults as product policy, not a catalog dump.
- Distinctive: line 80
Do not change recommended reasoning levels merely because a new level becomes available.
- Distinctive: line 81
Verify all model names, effort levels, and role assignments against current runtime metadata and current repository recommendations.
- Distinctive: line 87
Use focused tests for the owning boundary, then real UI or live MCP validation for cross-layer behavior.
- Distinctive: line 88
If a report mixes deterministic triggers, races, and downstream symptoms, split it before implementing.
- Very specific: line 92
When this skill is used to review or plan a change, include a compact Maintainer-guidance check with:
- Distinctive: line 102
Do not use the checklist as ceremonial approval.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
RepoPrompt CE Maintainer Guidance
Use this skill as a project decision guide, not as an imitation of a person. Do not attribute inferred opinions to any individual. State uncertainty, cite the relevant principle, and let current repository instructions, source code, tests, product behavior, and explicit maintainer decisions override historical guidance.
Read references/guidance-sources.md when the task needs the evidence behind a principle, involves a disputed tradeoff, or changes model defaults, telemetry, Agent Mode, MCP, worktrees, persistence, or release behavior.
Decision workflow
- Define the observable user impact and the invariant that should hold.
- Trace the real execution path and source of truth before proposing a fix.
- Separate confirmed facts, plausible mechanisms, unproven hypotheses, and unknowns.
- Split mixed failure modes into independently testable issues or PR tracks.
- Choose the smallest coherent change that fixes the cause without creating a parallel authority or speculative compatibility layer.
- Check user-state, migration, crash, restart, cancellation, and partial-success behavior before declaring the design safe.
- Check scale and concurrency: project-size growth, CPU contention, off-main-actor synchronization, caching, coalescing, and accidental whole-root work.
- Keep asynchronous work observable. If users or agents cannot tell what is running, add an appropriate status or tool-card surface.
- Validate at the affected boundary with the smallest useful test, then exercise the real UI or live MCP path when behavior depends on integration.
- Recommend one of: implement now, investigate first, file or update an issue, stage as a follow-up, or decline as unnecessary.
Core principles
Fix causes, not symptoms
- Ask why the unexpected state, stall, timeout, or invalid value exists.
- Reject patches that merely mask a stall, retry around unexplained state, or replace data with blanks.
- Treat extra fallbacks as complexity that must earn its place with a demonstrated failure mode.
- Prefer an investigation when the causal chain is not yet supported by evidence.
Protect user state
- Treat settings, selections, agent configuration, credentials, and workspace state as high-risk boundaries.
- Audit migrations from RepoPrompt Classic and older CE formats before changing decode or fallback behavior.
- Never turn an unknown or future-looking settings document into silent data loss.
- Distinguish pre-mutation failure from post-mutation projection failure. A durable mutation followed by a freshness timeout is partial success, not a safe generic retry.
Preserve one authority
- Find the owning store, protocol, catalog, or upstream runtime before adding local inference.
- For Codex integration, inspect the current Codex CLI/app-server source and metadata alongside RPCE when possible.
- Derive supported options from the authoritative runtime surface, but keep RPCE product recommendations and migration policy explicit.
- Do not let diagnostic-only behavior become the production authority.
Prefer incremental, bounded work
- Avoid whole-root scans, full index rebuilds, and per-item persistence when a delta is known.
- Reuse caches and content stores instead of recomputing expensive projections.
- Coalesce UI publications and define synchronization points when work is off the main actor.
- Measure end-to-end latency added to the user-visible operation, including queueing and CPU contention, not only the isolated helper's runtime.
Evaluate structural-tool substitutions by responsibility
- Do not frame a CodeMap replacement as "AST versus no AST." The current pipeline already starts from Tree-sitter syntax captures, then adds language-specific normalization, signature and type extraction, compact API rendering, token accounting, content-addressed persistence, selection-graph contribution, and UI/MCP projection.
- When considering a simpler structural engine such as
ast-grep, state which layer it would replace: parser/query execution, extraction and normalization, the persisted artifact contract, rendered prompt context, or the entire subsystem. - Prefer a bounded comparative spike over a wholesale rewrite. Compare representative languages and difficult signatures against current golden output, prompt usefulness, token cost, latency, incremental/cache behavior, packaging cost, and parse/failure semantics.
- Treat extracting the structural core into a headless package or external repository as a separate decision from changing engines. A clean seam can make alternatives testable without committing the product to one prematurely.
- Preserve existing prompt, selection-graph, persistence, and observability contracts until evidence justifies a migration plan.
Make background work legible
- A feature is incomplete if its important asynchronous work is invisible or ambiguous.
- Show useful tool cards or status for sub-agents, Context Builder, Oracle, and long-running MCP work.
- Prefer bounded, actionable error states over indefinite waits or opaque transport closure.
Stage scope deliberately
- Ship a smaller complete capability when the larger surface adds avoidable risk.
- Defer optional polish or a second tier when users already have a workable path.
- Keep deferred work in an issue or explicit follow-up; do not bury it in a review conversation.
- Treat large changes as requiring proportionally stronger validation, even when the design is directionally right.
Balance cost and quality in defaults
- Treat defaults as product policy, not a catalog dump.
- Optimize for a useful cost-quality balance for ordinary users; reserve expensive modes for explicit high-value work.
- Do not change recommended reasoning levels merely because a new level becomes available.
- Verify all model names, effort levels, and role assignments against current runtime metadata and current repository recommendations. Historical model advice expires quickly.
Use evidence proportionally
- Reproduce on the CE app and
rpce-cli-debug, not an analogous production app, when CE behavior is at issue. - Capture the smallest evidence that distinguishes competing explanations.
- Use focused tests for the owning boundary, then real UI or live MCP validation for cross-layer behavior.
- If a report mixes deterministic triggers, races, and downstream symptoms, split it before implementing.
Review output
When this skill is used to review or plan a change, include a compact Maintainer-guidance check with:
- User impact and invariant
- Root-cause confidence: confirmed, plausible, or unknown
- Authority: the owning source of truth
- State-safety risks
- Scale and observability risks
- Recommended scope: now, investigate, issue, or follow-up
- Validation boundary
Do not use the checklist as ceremonial approval. Call out conflicts, missing evidence, and time-sensitive assumptions directly.
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
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.

