AGENT SKILL

repostew

Assemble scoped Workers for repository discovery, audits, contribution follow-up and authorized maintenance across capable multi-agent harnesses with direct Markdown state.

License 许可
MIT
最近更新
2026-11-06
Stars
★ 6
Forks
0

01 前言 Front Matter

name
repostew
description
Assemble scoped Workers for repository discovery, audits, contribution follow-up and authorized maintenance across capable multi-agent harnesses with direct Markdown state.

02 资源文件 154

03 SKILL.md 正文

RepoStew

RepoStew supplies policy, work methods and Worker construction; harness supplies execution, tools, permissions and lifecycle. Coordinator owns whole-scope coordination only, with no approval or engineering-acceptance authority; Worker owns a complete bounded unit. Supervisor adds cross-domain governance only when assigned; serial work may combine roles. Load rules by role, task form and actual action: reuse complete current text, batch missing startup reads, and load conditional methods before their action. Links are navigation, not recursive reading orders. Continue by delta; unchanged usable rules need no reread. Use one role contract and five-field task; forms add only input/coverage differences. See assembly. Policy/state belong to the selected workspace, not the package or checkout. Authorized multi-device shared state uses one native project directory under state/repositories/<host>/<namespace>/<repo>/: root state.md is shared coordination; work/ holds local work.md, notes, checkouts and temporary material, all ignored by Git. No root work/ or second current record. Roles: Supervisor for whole-system governance; Coordinator, Worker, Maintainer for assigned execution. Wording: prompts; native access: harness, forges.

All flows

  1. Prepare and assemble: establish outcome, scope, prior work, authority/resources; assemble role/form/methods; orchestrate dispatch, wait, integrate, continue and hand off; use bounded execution recovery for ordinary tool faults and missing setup, without erasing failures or bypassing true prohibitions.
  2. Select work: discover and process new repositories, audit new repositories, reassess authored contributions, handle incremental feedback, or run recurring passes. Capture followed issues, notifications/selected mail, and open/unfinished objects; configure patrols.
  3. Investigate: trace actual use/documents, establish contribution evidence, discuss evidenced unsettled contracts, or investigate/disclose security privately.
  4. Deliver and follow up: repair, validate, publish under target/safety gates; process feedback, consolidate or withdraw within authority. Maintain managed/self-owned repositories: triage issues, review/amend/merge PRs, audit and revise code/docs/CI/tests.
  5. Retain and finish: complete inherited work, update minimal records; migrate only when authorized, reconcile history/reclassify or recover, publish reviewed backup, and provision/dispose resources: Workers establish delivery/preservation or abandonment facts, authorized execution owners release within their existing scope, Coordinators only coordinate ownership and record outcomes, and Supervisor governs capacity. Explicit loss acceptance may enable a minimal-retention campaign; no inferred authority.

Common contract

  • All new security findings use private reporting only, never public issues; retain protected evidence/blockers without a private channel or disclosure authority unless explicit category/scope-specific abandonment applies; delivered local material follows storage.
  • Apply user-selected exclusions in the applicable forge reference before selecting or continuing work; preserve existing objects/history and action authority.
  • Establish scope/authority; no permission or task follows from roles, membership, history or installation. Serial by default; delegation, parallelism, schedules and external actions require authorization.
  • Act from actual use/contracts and quality standards, without invented defects or necessity. Prohibit defensive programming; trust internal contracts, retain necessary boundary checks.
  • One writer per project: its assigned writer writes shared state.md and local work/work.md; Coordinator owns global membership/navigation/positions and records resource outcomes from the authorized execution owner. Serialize Git only within one project/checkout/shared index; independent repository Workers publish directly. Workspace policy/shared-state Git alone uses its designated publisher. Never crawl local work as state. Preserve unrelated work and existing recovery material. Local retention follows storage's three paths: delivered/preserved, explicitly abandoned, or retained with concrete blockers. Confidentiality is not permanent local retention; abandonment never substitutes for ownership or reporting authority.
  • Use task isolation, whole-unit estimates and stage capacity checks, not mandatory hard quotas; preserve real user/platform limits and stop affected writes on ENOSPC. See setup.
  • Assign complete bounded units once, not one tool/test step at a time. Workers advance feasible authorized stages through direct submission; Coordinators record reported delivery and scope/coverage, with no approval or engineering acceptance. Missing or contradictory facts return to the original Worker for explanation. Local patches or read-only inventories do not finish engineering. Follow orchestration for act/wait/block/finish on active task/event turns, independent refill and stopped-writer handoff. Event-driven refill is primary; the single authorized S heartbeat may route a deduplicated concrete gap to C only, never direct W, engineering, cleanup, file writes or new scope. A turn, structured reply or finite batch does not prove whole-scope completion. Reuse evidence/context where suitable without binding future units or resetting budgets. No routine receipt demands, remote readback or polling; reconcile unknown writes and explicit content readbacks.
  • Ordinary contribution units include direct Worker publication; no central publication gateway. Apply explicit user terms/signing authorization through the official process using true identity and facts; do not add Coordinator approval or fabricate required declarations.
  • Code Workers prepare the test environment and run tests only when the target requires testing; otherwise proceed to submission. Autonomously agree to required terms/CLA/DCO using true facts. Submission records only “已投稿” and the link; finish feasible authorized cleanup before capacity return, with no CI query, record or wait. Select checks by actual action: capture/metadata alone does not trigger audits/tests/publication. Preserve target-required checks, privacy/permission gates, mutation reconciliation and resource protection.
  • Use direct Markdown for project facts; the selected host owns execution metadata, with no duplicate runtime/queue/database. Report coverage, outcomes, unfinished work and resource release accurately; execution status alone never proves completion.

04 同仓库更多 Skills