gravitas
БесплатноЗапускает вложенные скриптыНе проверенUse for software implementation, debugging, refactoring, review, migration, and other repository-changing engineering work where correctness must be verified…
от udaysharmadev★ 982 звезды на GitHubОб этом скилле
GRAVITAS -- Engineering Reliability Runtime
One rule above all: Report what actually happened, not what you intended. When you claim something is done, fixed, or verified -- that claim rests on output you observed in this session. If you did not check, say you did not check.
THE 6 INVARIANTS
These hold across models and hosts. The runtime enforces the machine-checkable ones at hook level; the rest are on you.
- Ground before mutating. Read the target, its tests, and its callers before editing. Never act on assumed file state.
- Stay in declared scope. Writes outside
allowed_write_scopeare denied. If the scope is wrong, amend the contract -- don't route around it. - Completion needs evidence. A criterion is done only when a Gravitas-owned validator passed after the last relevant mutation. Stale evidence and self-review don't count.
- Never exact-retry a failure. A failed approach may be retried only after something material changed (diagnosis, context, strategy). The runtime blocks byte-identical retries.
- Satisfy the contract. Acceptance criteria and required validators in
contract.jsongate completion. Generic "tests passed" doesn't cover unrelated criteria. - Say what you can't verify. Mark uncertain or unverifiable claims explicitly. Downgrade confidence instead of fabricating certainty.
POLICY RECORD
Before multi-file or risky work, emit the planning-policy record
(gravitas decide --signals '{...}' or the equivalent judgment):
{
"planning": "compact",
"context_depth": "dependency",
"verification_depth": "impact",
"delegation": "none",
"reason_codes": ["multiple-files", "shared-module"]
}
planning:direct(trivial, localized) /compact(dependent changes, moderate uncertainty) /deep(architecture, security, migration, broad blast radius) /replan(evidence invalidated assumptions, scope grew, or repeated failure).- No universal ceremony: a one-line fix in one file is
direct, even with many files read. A trivial-looking change with huge fanout isdeep. - Store the record; never store hidden chain-of-thought.
- Validate every policy decision record against schemas/policy-decision.schema.json before emitting or storing it.
- Tier 0/1/2 language surviving in agent files maps to direct/compact/deep until those files migrate to this record.
MODES
| Mode | Writes | Meaning |
|---|---|---|
| answer, research, plan, review, security-review | None | Read-only. Hooks deny writes and non-query shell. |
| implement, debug | Scoped | Normal work inside allowed_write_scope. |
| migration | Confirmed | Destructive-risk work. User checkpoint required. |
Legacy plan-only / review-only are accepted as aliases. See
references/task-contract.md.
DECISION RECORDS
For non-trivial actions, emit a decision record before executing:
decision: action: modify src/auth/session.ts reason: SESSION_TIMEOUT is 5000ms, task requires 30000ms evidence: - read src/auth/session.ts line 23: SESSION_TIMEOUT = 5000 - failing test: auth/session.test.ts:47 expects 5000 (will need update) risk: low allowed_by_contract: true
VERIFICATION HIERARCHY
Prefer executable evidence over prose, in this order:
- Hidden deterministic acceptance validator
- External integration / runtime execution
- Project tests
- Compiler / type checker
- Deterministic static analysis
- Executable reproducer
- Structural / diff invariant
- Independent model review
- Same-model self-review (supplementary only -- never completion evidence)
Every verification ends with exactly: VERDICT: PASS or VERDICT: FAIL -- [reason] with failing output
Evidence records
Validate every evidence entry against schemas/evidence.schema.json before appending it.
See references/verification.md for validator discovery and escalation
(targeted -> neighborhood -> regression -> full CI).
EFFORT PROFILES
| Profile | Planning | Delegation | Verification |
|---|---|---|---|
| eco | direct-first | none unless blocked | targeted only |
| balanced | adaptive (default) | conditional | targeted + affected |
| deep | deep-first | conditional verifier | full suite + independent check |
eco never bypasses scope or evidence gates. deep never runs every
command blindly -- depth follows blast radius and uncertainty.
DELEGATION
Default to one capable agent. Delegate only when the policy record says so:
| Signal | Role |
|---|---|
| Localization uncertain, read-only | investigator |
| Risky implementation | reviewer |
| Broad dependency fanout | impact-auditor |
| Strict security work | test-adversary |
Subagents get minimum necessary context plus explicit permissions. Never assume a child inherits restrictions unless the host guarantees it.
OUTPUT FORMAT
Every non-trivial response:
What Changed
[files mo
Установить gravitas в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл gravitas?
Use for software implementation, debugging, refactoring, review, migration, and other repository-changing engineering work where correctness must be verified. Enforces scoped reconnaissance, adaptive planning, evidence-backed verification, requirement tracking, failure recovery, and budget-aware delegation. Model-agnostic reliability runtime for coding agents -- measured, not claimed.
Как установить скилл gravitas?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gravitas запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic