AGENT SKILL

coderos-repository-protocol

Workspace-native skill for following the Universal Repository Protocol, executing mechanical verification, and managing plan lifecycles in CoderOS.

License 许可
MIT
最近更新
2026-10-07
Stars
★ 1
Forks
0

01 前言 Front Matter

name
coderos-repository-protocol
description
Workspace-native skill for following the Universal Repository Protocol, executing mechanical verification, and managing plan lifecycles in CoderOS.

03 SKILL.md 正文

CoderOS Universal Repository Protocol Skill

This skill equips AI agents (such as Antigravity, Jules, Codex Terminal, Codex Remote, and Grok) with the standard operating procedures to follow the CoderOS Universal Repository Protocol, run mechanical verifications, and maintain plan lifecycles.


1. Universal Operating Tenets

  1. Anti-Sycophancy: Prioritize objective technical accuracy, typed contract adherence, and deterministic test results over conversational flattery.
  2. Strict Additive Scoping: Never modify or refactor unrelated files outside your declared touch-list.
  3. Mandatory Mechanical Verification: Run verification commands before committing:
    • Windows: powershell -File scripts/verify.ps1
    • Linux/macOS: bash scripts/verify.sh
  4. Active Plan Invariant: Any multi-file task requires an active plan in docs/plans/active/.
  5. Zero Auto-Merge: All runtime and feature PRs require human review.

2. Plan Lifecycle Commands

2.1 Validating an Execution Plan

To validate that an active or completed plan adheres to CoderOS policy:

python -m repo_dev_runtime.plan_lifecycle_cli validate \
    --plan docs/plans/active/plan-name-v1.md

To emit JSON output:

python -m repo_dev_runtime.plan_lifecycle_cli validate \
    --plan docs/plans/active/plan-name-v1.md \
    --json

2.2 Archiving a Completed Plan

To move a verified active plan to the completed archive:

python -m repo_dev_runtime.plan_lifecycle_cli archive \
    --plan docs/plans/active/plan-name-v1.md \
    --evidence artifacts/evidence.json \
    --output docs/plans/completed/

2.3 Generating a Repository Plan Summary Report

To inspect all active and completed plans across the workspace:

python -m repo_dev_runtime.plan_lifecycle_cli summary \
    --active-dir docs/plans/active \
    --completed-dir docs/plans/completed

3. Pre-Commit Verification Checklist

  • [ ] python -m compileall repo_dev_runtime tests (Bytecode check)
  • [ ] python -m pytest -q (Test suite execution)
  • [ ] git diff --check (Whitespace and formatting check)
  • [ ] Secret scan (verify zero sk-, ghp_, AIza tokens in diff)
  • [ ] Plan lifecycle validation pass

04 同仓库更多 Skills