post-start-validation — for Claude Code post-start-validation, ruah-orch, community, for Claude Code, ide skills, automated code checks, governance gates, code validation, Git Bash syntax, workspace-aware execution, Claude Code

v0.2.19

关于此技能

Post-start-validation is an AI agent skill that automates code checks, governance, and knowledge capture for developers using Claude Code and Cursor, enhancing their coding workflow efficiency.

功能特性

Detect OS using Git Bash syntax
Classify changes by detecting file patterns
Apply governance gates using .claude/governance.md
Run gates in order, including biome, tsc, and build checks
Execute workspace-aware gate execution for merged gates
Read and merge governance gates from root and member levels

# 核心主题

ruah-dev ruah-dev
[8]
[1]
更新于: 4/10/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 4/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Quality floor passed for review
Review Score
4/11
Quality Score
50
Canonical Locale
en
Detected Body Locale
en

Post-start-validation is an AI agent skill that automates code checks, governance, and knowledge capture for developers using Claude Code and Cursor, enhancing their coding workflow efficiency.

核心价值

Post-start-validation is an AI agent skill that automates code checks, governance, and knowledge capture for developers using Claude Code and Cursor, enhancing their coding workflow efficiency.

适用 Agent 类型

Suitable for operator workflows that need explicit guardrails before installation and execution.

赋予的主要能力 · post-start-validation

! 使用限制与门槛

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The page lacks a strong recommendation layer.
  • - The page lacks concrete use-case guidance.
  • - The page lacks explicit limitations or caution signals.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

post-start-validation 是什么?

Post-start-validation is an AI agent skill that automates code checks, governance, and knowledge capture for developers using Claude Code and Cursor, enhancing their coding workflow efficiency.

如何安装 post-start-validation?

运行命令:npx killer-skills add ruah-dev/ruah-orch。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

post-start-validation 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add ruah-dev/ruah-orch。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    post-start-validation 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

post-start-validation

Streamline your development workflow with post-start-validation, an AI agent skill that automates code checks, governance, and knowledge capture for Claude

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

/post-start-validation

Run after completing any task. Discovers what changed, applies governance gates, captures knowledge, commits and verifies.


0. Shell Rule

Detect OS. Use Git Bash syntax on Windows (forward slashes, /dev/null).


1. Determine Scope

git diff --name-only HEAD 2>/dev/null || git status --short

Classify changes by detecting file patterns:

  • Frontend?.ts, .tsx, .js, .jsx, .css, .vue, .svelte files
  • Backend?.java, .kt, .py, .go, .rs, .rb files
  • Infrastructure?Dockerfile, docker-compose*, k8s/, .github/workflows/, *.tf
  • Docs-only?.md files only outside source directories

Skip rules: Docs-only → skip code checks. Infra-only → skip local checks.


2. Read Governance Gates

Read .claude/governance.md

The governance file defines which gates to run and in what order. If it specifies "biome → tsc → build" — run exactly that. If it specifies "pytest" — run that. The gates are project-specific; this skill is not.


3. Run Gates

3.0. Workspace-aware gate execution

If the discovery cache indicates a workspace:

  1. Read root governance gates (from workspace root .claude/governance.md)
  2. Identify which members have changes: check git diff --name-only HEAD paths
  3. For changed members with their own governance: read member governance, merge with root gates
  4. Execute merged gates in order: root cross-stack gates first, then member-specific gates

Gate annotations (v2 format)

Path-scoped sections: ### Frontend (path: frontend/) Before running any command in this section, cd into the specified directory. After the section completes, cd back to the project root. Example:

bash
1(cd frontend/ && npx biome check .) || exit 1

Conditional sections: ### TypeScript (if: tsconfig.json) Skip the ENTIRE section if the referenced file does not exist at project root. Check before running any gate in the section:

bash
1[ -e tsconfig.json ] || echo "Skipping TypeScript gates (no tsconfig.json)"

Gate classifications (suffix on individual gate lines):

  • # [MANDATORY] (default) — stop execution on failure
  • # [OPTIONAL] — log failure, print warning, continue to next gate
  • # [ADVISORY] — always run, log result, never stop

When an OPTIONAL gate fails:

  1. Print: ⚠ [OPTIONAL] <gate command> failed — continuing
  2. Record in gate_results.failed but do NOT exit
  3. Proceed to the next gate in order

When an ADVISORY gate fails:

  1. Print: ℹ [ADVISORY] <gate command> failed (informational)
  2. Record in gate_results.failed for session state
  3. Always proceed

Inheritance marker: ## Gates (inherit: root) When found in a member's governance.md, merge root gates first (prepend), then member gates (append). Execute in order.

Standard execution (no annotations)

Execute the gates defined in governance.md, in order. Stop at first MANDATORY failure.

Common patterns (the governance file will specify which apply):

Frontend gates:

# Lint (biome, eslint, etc.)
# Type check (tsc --noEmit, mypy, etc.)
# Build (npm run build, etc.)
# Test (vitest, jest, pytest, etc.)

Backend gates:

# Compile (gradlew compileJava, cargo build, go build, etc.)
# Test (gradlew test, pytest, cargo test, go test, etc.)
# Check (gradlew check, clippy, etc.)

Use rtk prefix on all commands for token compression.


3.5. Gate Auto-Fix (Bounded Retry)

If a gate command fails, attempt an automatic fix before escalating to the user.

Step 1 — Classify the failure:

Error patternClassificationAction
Lint errors with auto-fix flagAuto-fixableRun linter with --fix / --write
Format errors (prettier, rustfmt, ruff, biome)Auto-fixableRun the formatter on affected files
Unused imports / variablesAuto-fixableRemove them
Missing semicolons, trailing commasAuto-fixableFix inline
Type errors in files you changed this sessionMaybe fixableAttempt one fix, re-run
Failing testsNOT auto-fixableEscalate — tests may be validating the change
Build errors from missing dependenciesNOT auto-fixableEscalate
Errors in files you did NOT changeNOT auto-fixableEscalate — pre-existing issue

Step 2 — If auto-fixable, apply the fix:

bash
1# Lint auto-fix (use whichever the project has) 2npx eslint --fix <files> # or: npx biome check --write <files> 3npx prettier --write <files> # format 4cargo clippy --fix --allow-dirty # Rust 5ruff check --fix <files> # Python 6ruff format <files> # Python format

For other mechanical errors (unused imports, missing semicolons): edit the files directly.

Auto-fix boundaries:

  • ONLY edit files within this repository
  • NEVER install new global packages as a fix
  • NEVER modify files outside the repo or system config
  • NEVER delete files that weren't created this session
  • If a fix requires out-of-bounds changes → escalate to user

Step 3 — Re-run ONLY the failed gate. Do not re-run gates that already passed.

Step 4 — Bounded retry:

  • Maximum 2 auto-fix attempts per gate
  • If the same gate fails after 2 attempts → stop and escalate to the user
  • Never retry the exact same fix that didn't work
  • The circuit breaker hook (PostToolUseFailure) provides an additional safety net

Step 5 — After ALL gates pass, write the sentinel:

bash
1touch .claude/.gates-passed

This sentinel is:

  • Checked by the auto-post-start hook before commits
  • Cleared by pre-start-context at the beginning of each session
  • Ensures gates are verified at least once per session before any commit

4. Cross-Stack Consistency

If both frontend and backend changed, verify alignment:

  • API contracts match (routes, types, schemas)
  • New environment variables added to .env.example
  • Docker/K8s configs updated if services changed
  • Migration files don't conflict

Read governance.md for project-specific alignment points.


5. Security Review

Grep -rn "sk_live\|sk_test\|AKIA\|password.*=.*['\"]" . --type ts --type java --type py 2>/dev/null | grep -v node_modules | grep -v test | grep -v example | head -20

For every new endpoint/route added:

  • Authentication required (unless explicitly public)?
  • Input validation present?
  • No mass-assignment (explicit DTOs, not raw entity binding)?

Read governance.md for project-specific security requirements (rate limiting, file upload rules, auth patterns).


6. Documentation

If changes introduced new endpoints, services, env vars, or architecture changes — update README.

If changes are bug fixes, refactors, tests, CSS — skip.


7. Knowledge Capture

If MemStack rules exist (.claude/rules/diary.md), follow them — add-insight, add-session, set-context.

If not, at minimum report:

  • What was done
  • Key decisions made and why
  • Any gotchas discovered
  • What to do next session

8. Self-Update

Check: did any governance rule get violated during this session? Did any discovery instruction find something unexpected?

If governance was violated: Flag it to the user. Do NOT change governance.md.

If the pre-start or post-start skill itself had a gap (missing a check, wrong assumption): Update the skill file. Log the change.

Discovery instructions rarely need updating — they read the filesystem. Governance rules only change when the user decides.


9. Commit & Deploy

Read governance.md for:

  • Branch strategy (feature branches or trunk-based?)
  • Commit convention (conventional commits or free-form?)
  • Autonomy level (auto-commit after gates or ask first?)

Execute accordingly:

git add <files>
git commit -m "<type>: <description>

Co-Authored-By: Claude <noreply@anthropic.com>"

Then:

  • Push to remote
  • Monitor CI (if configured): gh run list --limit 3
  • Verify deployment (if governance specifies how)

Branch cleanup (if feature branch workflow)

After merge:

git branch -d <branch-name>

Skip Rules

Change typeSkip
Docs-onlyS3-S5
Infra-onlyS3 (local gates), S6
Backend-only (no API change)Frontend gates
Frontend-only (no API change)Backend gates
CSS/styling onlyBackend gates, S4, S5

10. Write Session State

Write .claude/.session-state.json for warm starts next session:

json
1{ 2 "version": 1, 3 "timestamp": "<ISO 8601 — use: date -u +%Y-%m-%dT%H:%M:%SZ>", 4 "branch": "<current branch>", 5 "commit": "<HEAD short hash>", 6 "task_summary": "<one-line summary of what was accomplished>", 7 "gate_results": { 8 "passed": ["<gate commands that passed>"], 9 "failed": ["<gate commands that failed — empty if all passed>"], 10 "auto_fixed": ["<gates that needed auto-fix before passing>"] 11 }, 12 "files_changed": ["<files modified this session>"], 13 "open_questions": ["<unresolved decisions or ambiguities>"], 14 "next_steps": ["<suggested actions for next session>"] 15}

This file is consumed by pre-start Section 0.1 for warm starts. It enables the next session to:

  • Skip re-explaining context if the user is continuing the same work
  • Surface open questions and next steps immediately
  • Combined with the discovery cache, achieve near-zero-latency startup

相关技能

寻找 post-start-validation 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具