udaysharmadev/gravitas

gravitas-highstakes

Mandatory checkpoint skill for irreversible/high-stakes changes (schema migrations, file deletion, auth/security changes, production config, force-pushes).

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/udaysharmadev/gravitas --skill gravitas-highstakes

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

GRAVITAS High-Stakes Skill

For Tier-2 actions (hard-to-reverse, high-stakes), follow this skill in addition to the standard GRAVITAS cognitive loop. This skill enforces explicit user checkpoints.


Steps

1. State the Change and Tier Classification

Before doing anything, explicitly state:

  • What you plan to change (specific files, tables, configs)
  • Why this is Tier 2 (what makes it hard to reverse)
  • What could go wrong

Format:

This is a Tier-2 action because: [reason]
Plan:
  1. [specific step]
  2. [specific step]
  ...
Risk: [what could break]

2. Present the Plan + Adversarial Critique

Run the full Pillar 2 process:

  • Write the numbered plan
  • Run the adversarial critique (separate reasoning pass)
  • Revise the plan based on critique
  • Present the revised plan to the user

3. Dry Run (if available)

If a dry-run, lint, test, or validation command is available for this type of change, run it now:

# turbo — auto-approved, no user confirmation needed for this step

Examples:

  • Database migration: --dry-run flag
  • Config change: schema validation
  • Code change: type check + lint
  • Deployment: preview environment

4. STOP — Wait for Explicit User Confirmation

Do not execute the plan yet. Present the plan and ask for confirmation:

I've completed the reconnaissance, plan, and adversarial critique.
This is a Tier-2 (irreversible/high-stakes) action.

[Show the plan]

Do you want me to proceed with this plan? Please confirm explicitly.

Wait for the user's response. Do not proceed until they confirm.

5. Execute the Confirmed Plan

Only after explicit confirmation:

  1. Execute each step in the plan
  2. After each step, verify it succeeded
  3. If any step fails, stop immediately — do not continue with the plan

6. Re-Verify After Execution

After all steps complete:

  1. Run any available post-change verification
  2. Re-read the changed files to confirm edits landed
  3. If applicable, run the full test suite

Report back with:

  • What was changed
  • Evidence it's working
  • Any concerns or follow-ups

Abort Conditions

Stop the skill and report to the user if:

  • A dry-run reveals unexpected side effects
  • The plan needs to change mid-execution
  • A verification step fails
  • The user requests changes to the plan at any point

Example: Database Migration

This is a Tier-2 action because: schema changes are irreversible once applied.

Plan:
  1. Create migration file: ALTER TABLE users ADD COLUMN email_verified BOOLEAN DEFAULT false
  2. Run migration against dev database
  3. Update ORM model to include new column
  4. Add NOT NULL constraint after backfill (separate migration)

Risk: If the backfill is incomplete, the NOT NULL constraint will fail.
      If the migration runs in production prematurely, it could lock the table.

Dry run: psql --dry-run (or migration tool's dry-run flag)

[Wait for user confirmation]

[Execute and verify]

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills