Antigravity 最新活跃 Skill · 教程与规范 · 1 天前 · ★ 21

多工具统一项目规则套装

sawrus/agent-guides
为 Claude Code、Codex、OpenCode 提供统一项目规则,内置质量门禁自动跑检查并记录验收结果。适合需要跨多个 AI 编码工具保持规范一致、并可选配工作流与模型路由的团队。
git clone https://github.com/sawrus/agent-guides.git

agentic — shared rules and a quality gate for every coding agent

One set of project rules for Claude Code, Codex and OpenCode. A quality gate runs your checks and records acceptance. The lean default adds no role team; helper agents, workflows and model routing are optional.

Codex · real runs Claude Code · real runs OpenCode · real runs Antigravity · configs Gemini · configs Cursor · configs Kilocode · configs

<img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9MZWFuJTIwcHJvZmlsZS1kZWZhdWx0LWJsdWU&sig=40ee7ec5222ba790f955" alt="Lean profile · default" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9RdWFsaXR5JTIwZ2F0ZS1jaGVja3MlMjAlMkIlMjBhY2NlcHRhbmNlLWJsdWU&sig=443a52224f1c4e1f87ac" alt="Quality gate · checks + acceptance" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9Db21wYW55JTIwcnVsZXMtcGF0aCUyMG9yJTIwZ2l0LWJsdWU&sig=7b0e26fe533af8032e6c" alt="Company rules" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9KRVYtd29ya2Zsb3clMjAlMkIlMjBtb2RlbCUyMHJvdXRpbmctYmx1ZQ&sig=0b1c5c2f47c85c4c9e62" alt="JEV · workflow + model routing" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9QbGFpbiUyMGFuc3dlcnMtQVNELS1TVEUxMDAlMjBiYXNlZC1ibHVl&sig=52b9075127b42ef4be2a" alt="Plain answers · ASD-STE100-based" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9NQ1AtQ29udGV4dDclMjAlN0MlMjBQbGF5d3JpZ2h0LWJsdWU&sig=2170884f296622219b4c" alt="MCP · Context7, Playwright" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9UZWxlZ3JhbS1ub3RpZmljYXRpb25zLWJsdWU&sig=4f3110743b8ec22b387a" alt="Telegram · notifications" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9iYWRnZS9TbWFydCUyMHVwZ3JhZGUta2VlcHMlMjB5b3VyJTIwZWRpdHMtYmx1ZQ&sig=7e922d7ca957371b8ff1" alt="Smart upgrade" loading="lazy" referrerpolicy="no-referrer">

Website · Releases · npm · Usage guide · Reference

agentic coverage and benchmark report


The problem it solves

Teams now use several coding agents at once. Each agent gets its own prompts, its own habits and its own idea of "done". One agent runs the tests, another skips them. One agent asks before it touches production, another does not.

agentic gives every agent the same base:

  • 📏 Rules are the base. 64 rules for 16 specializations (8 software, 8 DevOps). Each rule lists items that a

reviewer can check in a diff. A rule loads only for the files it applies to (paths:) or on request.

  • ✅ A gate decides "done". When the agent stops, the quality gate runs make test and make lint (or your

own commands) and asks for a CHANGELOG line. It records the result in .agentic/gate/last.json.

  • 🪶 Lean by default. The native main session does the work, with one read-only explorer helper. The

always-on context is at most 2,110 tokens on any host. --profile team installs the optional role team.

  • 🔁 Install once, keep in sync. agentic install writes the native files of each agent. agentic upgrade

keeps them current and keeps your own edits.

14 skills and 11 workflows help the agent meet the rules. Numbers come from the tree (areas/*/*/) and from python3 scripts/context_budget.py --all-selections.


Runs on the agents you already use

| | Agent | Status | Evidence | |:-:|:--|:--|:--| | ✅ | Codex | Real runs | codex-cli 0.164 · benchmark round 6, 2026-10-27 | | ✅ | Claude Code | Real runs | sonnet · benchmark round 6, 2026-10-27 | | ✅ | OpenCode | Real runs | 2.0.29 · benchmark round 4, 2026-10-24 | | ☑️ | Antigravity | Configs ship | Agents, rules and workflows are installed; no recorded run yet | | ☑️ | Gemini | Configs ship | Agents and workflows are installed; no recorded run yet | | ☑️ | Cursor · Kilocode | Configs ship | Rules and MCP settings are installed; no recorded run yet |

"Real runs" means that the agent's own CLI ran the installed instructions and a separate grader checked the result. Details per feature: platform matrix.


See agentic in action

agentic in action

A real agentic tui session, recorded key by key. It selects Codex, Claude Code and OpenCode with the lean profile, Context7, DevOps infrastructure plus backend, and a company rules directory. Then the same request runs in the main session of all three agents inside the new project.


Quick start

npx @jetrabbits/agentic@latest          # interactive installer

Or non-interactive, for all three verified agents:

npx @jetrabbits/agentic@latest install --project-dir . \
  --agent-os codex,claude,opencode --areas software \
  --specializations software.backend,software.general

Keep it current:

agentic upgrade            # new binary + refreshed project instructions, your edits preserved

Without npm, bootstrap the latest release binary (Linux x86_64/aarch64, macOS Intel/ARM):

curl -fsSL https://raw.githubusercontent.com/sawrus/agent-guides/main/install | bash -s -- --force

Or download a binary from GitHub Releases and run ./agentic self-install --force, or build from source with make release-build && make install (Rust toolchain). Details: usage guide.


Guardrails

The quality gate (.agent/gate/gate.py) runs from native hooks in Claude Code and Codex and from a plugin in OpenCode. Details: quality gate.

  • Acceptance record. .agentic/gate/last.json stores accepted, reason_code, head, pack_version and

profile for the last stop.

  • Production guard. kubectl, helm or oc on a context that matches prod asks you first. You can add

database hosts and your own patterns in .agent/gate.json.

  • Database guard. Write or maintenance SQL on a non-local database is blocked. A connection with credentials

from .env asks first. In host plan mode, every non-local database connection is blocked.

  • Secret guard. The gate blocks access to .env* files and private keys, git push --force, and recursive

deletes outside the project.

  • Stale checkout. Install, upgrade and the session start warn when the checkout is older than the default

branch on origin.

Company rules

Keep internal standards outside this public pack. --company-rules-path <dir> or --company-rules-git <url>[#ref][:subdir] (or the TUI step "Company rules") installs them for every host, and agentic upgrade replays them. A company rule wins over a pack rule on the same topic. replaces: or --company-rules-exclude drops the pack rule, and a duplicate report lists the overlaps. See company rules.

Skill packs

Use ready-made skills from other repositories, for example mattpocock/skills. agentic skills add <git-url|dir> (or agentic install --skill-pack <spec>) installs every skill of the pack, unchanged, into .claude/skills, .agents/skills, .opencode/skills, and the other host directories. The manifest locks the commit; agentic skills update moves it, agentic skills list shows the packs, and agentic skills remove removes the pack files and nothing else. Built-in presets install a pinned, curated set by name:

| Preset | Source | License | Skills | |---|---|---|---| | pocock | mattpocock/skills | MIT | 21, plus the project setup (--issue-tracker local\|github\|gitlab) | | superpowers | obra/superpowers | MIT | 13 | | anthropic | anthropics/skills | Apache-2.0 | 8 |

The TUI offers them in the "Skills" step, right after the integrations step. See skill packs.

Standards for the pack itself

  • Artifact standard: the acceptance contract for rules, skills, workflows and company

rules (ART-* ids). make check-artifacts checks every automatic requirement.

  • Review regulation: the Definition of Done for code review and design review, and the

docs coverage rule. make check-docs-coverage BASE=<ref> fails when changed code has no changed docs page.


Your AI team

The default lean profile installs one helper: explorer, a read-only agent for code search. The main session runs the workflow steps itself.

--profile team is optional. It installs the role team: product-owner, pm, team-lead, developer, qa, analyst, devops-engineer, instruction-reviewer and memory-curator. A workflow then sends each step to the role that fits it. See role profiles.


Honest numbers

We measure instead of promising. Round 6 (2026-10-27) ran Claude Code with sonnet and Codex with gpt-6.1-terra (codex-cli 0.164 or later). Codex cost is an API-equivalent estimate.

| Check | Result | |:--|:--| | Devops task T11 (Kubernetes rules), Claude Code | plain agent 0/3 · lean 3/3 | | Core tasks T1–T7 and T10, Claude Code lean, before and after the content cleanup | 8/8 and 8/8 | | T11 lean after the content cleanup | uncached tokens × 0.72 · cost × 0.85 | | Lean helpers with JEV routing, Codex T6–T8 | 9/9 both · every helper on the session model · cost × 1.09 of lean | | reviewer helper, T8v2 (hidden defect) | Codex 9/9 with and without it · it never ran · removed from lean |

  • The rules carry the devops result: every plain T11 run missed the Kubernetes security items.
  • The cleanup kept quality, but full tokens fell less than the 10% target, because cached session history

dominates them.

  • JEV stays opt-in. It gives no measured quality gain.

All numbers and earlier rounds: round 6 results · comparison.


Learn more

Company rules · Skill packs

Contributing

See CONTRIBUTING.md for authoring standards, templates and the pull request process.

License

See LICENSE if present, or contact the maintainers.