本文へ移動
cccskills
無料GitHub で公開

pre-flight-review

One-command pre-execution review pipeline. Runs scope review → architecture review → security review → design review (auto-detects which apply) before executing any workflow. Surfaces only taste decisions for user approval. Auto-fixes obvious issues. Use before executing multi-step workflows, deploying, or when user says "review this plan", "check before running", "pre-flight", or "is this ready?". Runs CEO → eng → security automatically with encoded decision principles.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Pre-Flight Review

You run the full pre-execution review pipeline. One command, comprehensive review, surfacing only the decisions that need human judgment.

Think of it as the pre-flight checklist before takeoff. Everything the agent can verify automatically, it does. What requires taste or tradeoff judgment, it surfaces clearly.

HARD GATE: Do NOT execute the plan after review. The user decides when to proceed.


When to Use

Proactively invoke when:

  • A multi-step workflow is about to be executed
  • User says "review this", "check before running", "pre-flight", "is this ready?"
  • Before any deployment, data migration, or destructive operation
  • When the user defines a plan and seems ready to execute immediately
  • First time working in a project (run to establish baseline)

Step 0: Detect What to Review

echo "Pre-flight review starting..."
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
echo "Branch: $BRANCH"

# What are we reviewing?
# - A workflow definition (check for workflow JSON or active workflow)
# - A plan document (check docs/plans/, conversation context)
# - A diff/branch (check git diff)
# - A feature description (from user's message)

# Detect scope
find . -name "*.json" -path "*/workflow*" -mtime -1 2>/dev/null | head -3
find docs -name "*plan*" -o -name "*design*" -mtime -1 2>/dev/null | head -3

Step 1: Auto-Detect Which Reviews Apply

Based on what's being reviewed:

If the plan involves...Run these reviews
User-facing featuresCEO scope + Design + Security
API/backend onlyCEO scope + Architecture + Security
Infrastructure/DevOpsArchitecture + Security only
Bug fix (1-2 files)Security only (skip scope/architecture)
Data migrationArchitecture + Security (focus on data safety)
Documentation onlySkip all (just verify completeness)

Detect automatically and tell the user: "Running: [list of reviews]."


Step 2: CEO Scope Review

Run a lightweight scope check (not the full interactive /ceo-scope-review):

  1. Stated goal vs scope: Does the plan match the stated goal?
  2. Completeness: Are all requirements covered?
  3. Overreach: Is there scope creep? Files changed that shouldn't be?
  4. Missing: What's obviously missing?

Output: SCOPE: CLEAN / CONCERNS (list)

If MAJOR concerns, ask: "Scope has issues — want to run full ceo-scope-review?"


Step 3: Architecture Review

Check architecture quality:

Data flow:

  • Is data flow clear? (input → process → output for each component)
  • Are there circular dependencies?
  • Are state transitions explicit?

Error handling:

  • Every async operation has error handling?
  • Error states defined for each component?
  • Fallback behaviors specified?

Edge cases:

  • Empty states handled?
  • Loading states defined?
  • Boundary conditions considered (0, null, max, empty string)?

Performance:

  • N+1 queries possible?
  • Unnecessary re-renders/computation?
  • Large payloads without pagination?

Output: ARCHITECTURE: PASS / ISSUES (list) with severity per finding.


Step 4: Security Review

Run a security-focused check:

OWASP Top 10 (condensed):

  1. Injection: SQL, shell, script injection vectors?
  2. Auth: Authentication bypass possible? Token handling correct?
  3. Data exposure: Sensitive data in logs, URLs, client-side?
  4. Access control: Auth checks on all protected routes/actions?
  5. Config: Secrets hardcoded? Default credentials?

Infrastructure:

  • Environment variables vs hardcoded config?
  • CORS configured correctly?
  • Rate limiting present?

LLM-specific (if AI agents involved):

  • Prompt injection vectors?
  • User input reaching system prompts directly?
  • Agent tool access scoped appropriately?

Output: SECURITY: PASS / FINDINGS (list) with CVE severity mapping.


Step 5: Design Review (if UI involved)

Quick design check (not full /design-review):

  1. Consistency: Colors, spacing, typography match existing system?
  2. AI slop detection: Generic gradients, Inter font everywhere, bland layouts?
  3. Responsive: Breakpoints defined? Mobile considered?
  4. States: Hover, focus, active, disabled, loading, error, empty?

Output: DESIGN: PASS / CONCERNS (list)


Step 6: Aggregate Results

PRE-FLIGHT REVIEW
═════════════════
Target: <workflow name / plan name / branch>
Reviews run: SCOPE ✅ ARCHITECTURE ✅ SECURITY ✅ DESIGN (skipped — no UI)

## Findings

### P0 — Must fix before execution
- <finding> (review: security, file: auth.ts:47)

### P1 — Strongly recommended
- <finding> (review: architecture, component: error handling)

### P2 — Consider fixing
- <finding> (review: scope, concern: missing edge case)

## Auto-fixed
- <what was fixed automatically>

## Taste decisions needed
- <decisions that require user judgment>

## Verdict
✅ READY TO EXECUTE — N findings, 0 blocking
⚠ CONDITIONAL — N blocking findings, review before proceeding
❌ BLOCKED — Must fix P0 issues before execution

## Next steps
1. <action>
2. Run /qa-tester after execution
3. Run /session-retro after completion

Step 7: Auto-Fix (for obvious issues)

Auto-fix issues where:

  • The fix is mechanical (add null check, add error handler)
  • The fix has >95% confidence of being correct
  • The fix doesn't change behavior or architecture
  • The fix is in a single file with clear scope

Flag what was auto-fixed so the user can review.


Step 8: Learnings Integration

Log any:

  • New patterns recognized for this project
  • Security concerns specific to this codebase
  • Architecture decisions that should be documented

This makes future pre-flight reviews faster — known patterns skip review.


Integration Points

  • Before: Often invoked after ceo-scope-review or workflow definition
  • After: User decides to execute → trigger workflow
  • Companion: Run /qa-tester after execution, /session-retro after completion
  • Learnings: Feeds into learnings-keeper for compounding knowledge

Key Principles

  • One command, comprehensive. Don't make the user run four separate reviews.
  • Auto-detect, don't ask. Figure out which reviews apply from context.
  • Surface taste, automate mechanics. Only ask the user about things that need human judgment.
  • Be fast. A pre-flight review should take 2-5 minutes, not 20.
  • Compound knowledge. Each review learns from previous ones via the learnings system.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards. Use this skill to generate semantic ARIA for Web and accessibility traits for Web and Native platforms (iOS/Android).

日本語の概要は準備中です。原文の説明を表示しています。

tensology/decisionsai172026年10月13日 更新

Whole site or product — a full web accessibility (a11y) audit against WCAG 2.2, following the WCAG-EM methodology. Defines scope, samples representative pages and flows, runs the automated tier (`accessibility-scan`) and the hands-on manual tier (`accessibility-inspect`), and produces one conformance report. Grades each finding by severity and evidence basis, and states per-criterion conformance as pass, fail, or undetermined (needs a human). Use it for 'audit my site for accessibility', 'is this product accessible', 'a11y audit', 'WCAG or Section 508 conformance report', or any multi-page assessment. Assesses; does not fix (use `accessibility-fix`) or diff (use `accessibility-diff`). For a single page use `accessibility-scan`; for hands-on keyboard and screen-reader checks use `accessibility-inspect`.

日本語の概要は準備中です。原文の説明を表示しています。

tensology/decisionsai172026年10月13日 更新

Regression check — diff a live page's web accessibility (a11y) violations against a baseline. By default it compares your uncommitted changes (stash-based); pass `--branch [<name>]` to compare against a branch. Reports the new WCAG violations introduced, the ones fixed, and the count of pre-existing ones. Use it for 'did my change break accessibility', 'what a11y issues did this PR add', or as a CI gate. For a full scan of one page use `accessibility-scan`; for a whole site use `accessibility-audit`.

日本語の概要は準備中です。原文の説明を表示しています。

tensology/decisionsai172026年10月13日 更新

Remediation only — repair web accessibility (a11y) violations against WCAG 2.2 with a baseline, edit, and verify loop. Takes a target (URL, files, directory) or a findings worklist from `accessibility-scan`/`accessibility-inspect`/`accessibility-audit`, applies mechanical fixes as given, leaves TODOs for visual or contextual judgment, and verifies by re-running the baseline check. It only fixes. To find issues use `accessibility-scan` (one page, automated), `accessibility-inspect` (one page, manual), or `accessibility-audit` (whole site, WCAG-EM); to check for regressions use `accessibility-diff`. Use it for 'fix the a11y issues in X', 'make this accessible', 'add missing alt text and labels', 'apply these accessibility fixes', 'remediate these violations'.

日本語の概要は準備中です。原文の説明を表示しています。

tensology/decisionsai172026年10月13日 更新

One page, hands-on manual tier — drive a live page through the web accessibility (a11y) checks a rule engine can't decide: keyboard operation and focus order, screen-reader names, roles and states from the accessibility tree, reflow and zoom, reduced motion, form errors, and target size. Grades each finding by evidence basis (verified / confirm-with-a-human / human-required) and severity, and closes every criterion in a ledger: verified, flagged, not exercised, or N/A. Locates and assesses; does not fix (use `accessibility-fix`). Use it for keyboard testing, focus-order checks, screen-reader or a11y-tree review, reflow and zoom at 200%, or 'is this operable, not just lint-clean'. The automated tier is `accessibility-scan`; `accessibility-audit` runs both across a sampled site.

日本語の概要は準備中です。原文の説明を表示しています。

tensology/decisionsai172026年10月13日 更新

One page, automated tier — run the web accessibility (a11y) rule engine against a live page and locate every violation it can detect mechanically. Pass a URL, a config target name (e.g. `accesslint:accessibility-scan dev`), or nothing to use the default target from `accesslint.config.json`. Ensures a debuggable Chrome, runs the @accesslint/core engine over CDP, and returns a worklist of live-DOM WCAG 2.2 violations, each grounded to its DOM selector and source `file:line`. Locates; doesn't edit. Use it for 'is this page accessible', 'check a11y on this URL', 'find contrast and alt-text issues', or to verify a UI change. For hands-on keyboard and screen-reader checks use `accessibility-inspect`; for a whole site or product use `accessibility-audit`; to diff against uncommitted changes or a branch use `accessibility-diff`.

日本語の概要は準備中です。原文の説明を表示しています。

tensology/decisionsai172026年10月13日 更新

tensology のスキルをすべて見る

このスキルの問題を報告する