원클릭으로
verification-workflow
Run maina's full verification pipeline on staged changes before committing code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run maina's full verification pipeline on staged changes before committing code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use maina cloud for team prompt sync, hosted verification, and feedback-driven learning.
Run maina's two-stage AI code review checking spec compliance then code quality.
Generate rich codebase context using maina's 4-layer retrieval with dynamic token budgets.
First-time maina setup and configuration in any AI coding tool.
Scaffold and validate feature plans using maina's spec-first planning workflow.
Follow maina's test-driven development cycle from generated stubs through red-green-refactor.
| name | verification-workflow |
| description | Run maina's full verification pipeline on staged changes before committing code. |
| triggers | ["verify code","check code quality","run verification","before committing"] |
Before committing any code change. The verification pipeline catches syntax errors, security issues, secrets, and code smells on only the lines you changed, so you fix problems before they reach the repository.
git add as usual.maina verify (or call the verify MCP tool). This runs the full verification sequence on staged files only.tsc --noEmit for TypeScript projectsmaina verify again until clean.maina commit instead of git commit. This ensures the verification pipeline ran and attaches verification metadata to the commit.verify, checkSlop, reviewCode) when running inside an AI coding tool. Use npx @mainahq/cli if maina is not installed globally.# Stage changes
git add src/auth/login.ts src/auth/__tests__/login.test.ts
# Run verification
maina verify
# Output:
# [syntax] PASS Biome check (320ms)
# [semgrep] WARN src/auth/login.ts:42 — Potential SQL injection in query builder
# [trivy] PASS No vulnerabilities found
# [secret] PASS No secrets detected
# [slop] PASS No filler text detected
#
# 1 finding on changed lines. Fix before committing.
# Fix the issue, re-stage, verify again
maina verify
# All checks passed.
# Commit with verification metadata
maina commit
maina verify --focused for a narrower context budget (40%) on small, targeted changes.maina verify --explore for a wider budget (80%) when making broad refactors.maina verify --deep to add AI semantic review (spec compliance + code quality).maina verify --cloud to run the pipeline on Maina Cloud (no local tools needed).maina verify --visual to add Playwright screenshot regression testing.