Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

autistic-code-review自闭症代码审查

Agent Skill

autistic-code-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

272

周安装

11

GitHub Stars

公开资料未说明

下载量

85
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:autistic-code-review(自闭症代码审查)
来源仓库:https://github.com/dolesshq/self-obsolescence
仓库路径:skills/autistic-code-review
安装命令:
npx skills add https://github.com/dolesshq/self-obsolescence --skill autistic-code-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dolesshq/self-obsolescence --skill autistic-code-review

简介

端到端审计代码实现质量,结合计划对比、回归测试与前端行为验证。

  • 支持 Playwright 浏览器自动化与证据收集,提升审查可信度。
  • 适用于上线后复盘、未提交变更检查与战略实施评估。
  • 安装需通过 npx skills add 添加 self-obsolescence 仓库中的 autistic-code-review 技能。
  • 需提供错误现象与复现步骤,否则返回 E001 错误码请求补充信息。

SKILL.md

Autistic Code Review

Goal

Audit an implementation end-to-end, with or without a formal plan, and produce a defensible review with evidence from code, diffs, tests, and manual UI verification.

When to use

Use this skill when the user asks for a broad post-implementation review such as:

  • comparing implementation to an attached plan or handoff
  • reviewing uncommitted or committed changes for regressions and bugs
  • manually verifying front-end behavior with an in-app browser, Playwright, and/or agent-browser
  • assessing strategic implementation quality, not only local correctness
  • identifying test coverage gaps, adding tests, and running suites across application and database layers

Entry criteria

Check these preconditions before deep review:

  • repo scope is clear (cwd, target project, and base branch/range known)
  • change scope is available (git status/git diff or explicit commit range)
  • runnable environment exists for intended checks (tests/build/dev server as needed)
  • UI verification prerequisites are known (auth path, test user/role, seed state)
  • DB review prerequisites are known when relevant (local DB state, migration order, reset/test commands)
  • test command set is known (npm test/vitest, supabase test db, and any targeted commands)

If any criterion fails, continue with available lanes and clearly report blocked coverage.

Inputs

Gather the following before review:

  1. Intention source (preferred in this order):
  • .plan.md file path, or
  • pasted implementation/handoff text in the prompt, or
  • no-plan mode (derive expected behavior from changed files, tests, docs, and commit/diff context)
  1. Change scope:
  • uncommitted (git status, git diff), or
  • committed range (git diff <base>...HEAD)
  1. UI scope:
  • routes/pages to verify, pulled from plan, tests, docs, and changed files
  1. Test scope:
  • app-layer test framework/commands
  • DB-layer test framework/commands (for example pgTAP via supabase test db)

If any item is missing and blocks execution, ask one short question. Otherwise, state assumptions and proceed.

Review modes

Select one mode explicitly at the start of the review:

  1. plan mode
  • Use when a .plan.md is available.
  • Evaluate strict plan-to-implementation alignment.
  1. handoff mode
  • Use when only prompt/handoff intent is available.
  • Evaluate claim-to-implementation alignment.
  1. no-plan mode
  • Use when no plan/handoff is provided.
  • Skip strict alignment claims and focus on correctness, regressions, UX behavior, coverage, and strategy quality.
  1. self-review mode
  • Use when the same agent that implemented changes performs the review.
  • Treat prior assumptions as untrusted and require diff/test/UI evidence for every claim.

Parallel subagents

Run parallel subagents with explicit, non-overlapping responsibilities:

  1. plan-alignment-reviewer
  • Build an intention-to-evidence matrix from plan/handoff claims.
  • Verify each claim against actual file diffs.
  • Flag missing, partial, or extra implementation.
  1. ui-verification-reviewer
  • Perform manual UI checks, preferring a controllable in-app browser when the agent/runtime provides one.
  • Fall back to Playwright or agent-browser when an in-app browser is unavailable or lacks the needed capability.
  • Validate key user paths and permissions/role gating.
  • Record pass/fail with exact route and observed behavior.
  1. technical-risk-reviewer
  • Perform code review on changed files.
  • Prioritize bugs, regressions, data/permission risks, and design-level defects.
  • Include file references and concrete failure modes.
  1. strategic-reviewer
  • Evaluate architecture and implementation strategy.
  • Identify coupling, migration safety gaps, maintainability risks, and scalability concerns.
  • Suggest alternatives only when they materially reduce risk.
  1. test-coverage-reviewer
  • Determine test coverage for changed behavior across app and DB layers.
  • Identify missing tests and high-risk untested paths.
  • Suggest and/or create targeted tests to close gaps.
  • Run relevant suites and report results with command evidence.

Subagent output contract

Require each subagent to return this exact structure:

  • findings: severity-ranked items with file references when applicable
  • evidence: concrete observations (diff snippet summary, command result, UI observation)
  • confidence: high | medium | low per finding
  • unverified_assumptions: assumptions that could change conclusions
  • blocked_items: what could not be validated and why

Reject subagent output that is opinion-only or lacks evidence.

UI coverage matrix

Build and execute a minimal matrix:

  • persona/role x route/page x key action x expected result
  • include at least one happy path and one negative/permission-boundary path per protected area
  • include a navigation/gating check (route guard, menu visibility, or access denial behavior)
  • record each matrix row as pass, fail, or blocked

When blocked, capture exact blocker and the attempted step.

UI verification tool preference

Prefer the agent's controllable in-app browser whenever it is available. For example, Codex and Cursor can operate an in-app browser in some environments, and that should be the first choice for manual UI checks because it best matches the user's active agent context.

Fall back to Playwright, agent-browser, or another browser automation tool when:

  • the agent/runtime has no controllable in-app browser
  • the in-app browser cannot reach the target environment
  • the check needs capabilities the in-app browser does not expose, such as precise screenshots, network inspection, scripted multi-viewport checks, storage manipulation, or repeatable automation
  • the in-app browser is unstable or blocked by auth, permissions, or environment constraints

When falling back, state the reason and continue with the strongest available browser-based verification path.

Test coverage matrix

Build and execute a minimal matrix:

  • changed component/module/function/table/function/RPC x existing tests x gap x action
  • app layer: unit/integration tests for changed behavior and boundary cases
  • DB layer: pgTAP (or equivalent) coverage for changed tables, policies, functions, and permissions
  • include at least one negative path for each changed permission-sensitive behavior

Action values:

  • covered (existing tests already sufficient)
  • add-tests (write targeted tests)
  • deferred (cannot safely add in scope; justify)

When add-tests is chosen, create focused tests and run affected suites.

Workflow

  1. Establish scope and evidence
  • Determine review mode (plan, handoff, or no-plan) and whether review is self-review.
  • Read plan/handoff text when provided.
  • Enumerate changed files and classify by area (DB/schema, server, client, tests/docs).
  • Derive expected outcomes from the best available intention source for the selected mode.
  1. Validate entry criteria and set timebox
  • Confirm entry criteria; note any missing prerequisites.
  • Set a review timebox and prioritize critical paths first (permissions, data integrity, primary UI flows, high-risk untested changes).
  1. Dispatch the five subagents in parallel
  • Provide each subagent only the context needed for its lane.
  • Require each subagent to return contract-compliant output.
  1. Run UI verification explicitly
  • Start from user-visible flows (routes, nav, forms, role-conditional UI).
  • Prefer the agent's controllable in-app browser when available.
  • Fall back to Playwright or agent-browser only when the in-app browser is unavailable or insufficient, and record why.
  • Verify both happy path and at least one negative/permission boundary path.
  • When blocked (auth, env, seed data), report blocker and partial coverage.
  1. Run DB/migration checklist when schema or SQL changed
  • check RLS/policy behavior against intended access model
  • check migration safety (ordering, idempotency where relevant, rollback feasibility)
  • check grants/privileges drift and RPC exposure changes
  • check seed/test/type-generation consistency with schema changes
  1. Close test coverage gaps
  • map changed behaviors to existing tests (app + DB)
  • create targeted tests for high-risk uncovered behavior where feasible
  • run relevant app-layer and DB-layer suites
  • capture exact commands and pass/fail output summary
  1. Consolidate findings
  • de-duplicate overlaps across subagents
  • convert raw notes into severity-ranked findings
  • separate confirmed defects from open questions
  1. Deliver review result
  • findings first (highest severity first)
  • then alignment/reconstruction matrix, UI status, coverage status, technical analysis, strategic analysis, artifacts, and verdict
  • if timebox expires or blockers remain, provide partial verdict with explicit coverage gaps

Severity model

Use this priority scale:

  • P0: release-blocking correctness or security issue
  • P1: high-risk bug/regression likely to affect production behavior
  • P2: meaningful correctness/maintainability/test gap
  • P3: minor issue or improvement opportunity

Sign-off gates

Apply these gates before issuing the final verdict:

  • do not return aligned if any open P0 or P1 exists
  • do not return aligned when critical UI flows are blocked without mitigation evidence
  • do not return aligned when DB/migration changes were made but DB checklist was skipped
  • do not return aligned when high-risk changed behavior has unresolved coverage gaps or failing tests
  • in no-plan mode, return no-plan reviewed (never strict aligned)

Output template

Review target: `<plan path or prompt summary>`
Review mode: `<plan | handoff | no-plan>` (+ `self-review` when applicable)
Change scope: `<uncommitted | commit range>`

Findings:
1. [P1] <title> — `<file:line>`
   Evidence: <what was observed>
   Impact: <user/system impact>
   Recommendation: <concrete fix>
1. [P2] <title> — `<file:line>`
   Evidence: <what was observed>
   Impact: <user/system impact>
   Recommendation: <concrete fix>

Plan alignment matrix (for `plan`/`handoff` modes):
1. `<planned item>` -> `<implemented evidence>` -> `<aligned | partial | missing | extra>`
1. `<planned item>` -> `<implemented evidence>` -> `<aligned | partial | missing | extra>`

Intent reconstruction matrix (for `no-plan` mode):
1. `<inferred expected behavior>` -> `<implemented evidence>` -> `<confirmed | partial | contradicted>`
1. `<inferred expected behavior>` -> `<implemented evidence>` -> `<confirmed | partial | contradicted>`

UI verification:
1. `<route + area + action>` -> `<pass/fail/blocked>` -> `<observed result>`
1. `<route + area + action>` -> `<pass/fail/blocked>` -> `<observed result>`
Blockers: <none or list>

Test coverage:
1. `<changed behavior>` -> `<existing coverage>` -> `<gap>` -> `<covered | add-tests | deferred>`
1. `<changed behavior>` -> `<existing coverage>` -> `<gap>` -> `<covered | add-tests | deferred>`
Test execution:
- `<command>` -> `<pass/fail>` -> `<key result>`
- `<command>` -> `<pass/fail>` -> `<key result>`

Technical analysis:
- `<top technical risk or confirmation>`
- `<top technical risk or confirmation>`

Strategic analysis:
- `<strategy strength/weakness>`
- `<strategy strength/weakness>`

Review artifacts:
- `<commands run and key outcomes>`
- `<ui evidence: screenshots/log notes or blocker proof>`
- `<coverage summary: tested vs blocked vs deferred>`

Verdict: `<aligned | partially aligned | not aligned | no-plan reviewed>`
Recommended next steps:
1. <step>
1. <step>

Guardrails

  • do not mark aligned unless plan claims are evidenced in diffs/tests/UI checks
  • in no-plan mode, do not claim strict alignment; use verdict no-plan reviewed
  • do not bury critical defects under summary text; findings must appear first
  • if UI cannot be fully executed, provide exact blocker and what was still validated
  • if tests cannot be executed, list exact missing prerequisites and impacted confidence
  • prefer concrete, falsifiable statements over broad judgments
  • in self-review mode, call out reviewer/implementer overlap and keep evidence thresholds strict
  • enforce subagent output contract; request retries for incomplete outputs
  • if review is partial due to blockers/timebox, say so explicitly in verdict context

Subagent prompt pack

Use these prompts as-is, replacing placeholders.

Parent orchestration prompt

Run autistic-code-review.

Context:
- Review target: <plan path OR handoff summary OR "none">
- Review mode: <plan | handoff | no-plan>
- Self-review: <yes | no>
- Change scope: <uncommitted | commit range>
- Repo/project path: <path>
- UI routes in scope: <route list>
- Test commands in scope: <app commands + DB commands>
- Timebox: <minutes>

Execution requirements:
1) Spawn five parallel subagents:
   - plan-alignment-reviewer
   - ui-verification-reviewer
   - technical-risk-reviewer
   - strategic-reviewer
   - test-coverage-reviewer
2) Enforce this output contract for every subagent:
   - findings
   - evidence
   - confidence
   - unverified_assumptions
   - blocked_items
3) Reject and retry any subagent output that lacks evidence.
4) Require the test-coverage-reviewer to suggest/create tests for uncovered high-risk changes and run relevant suites.
5) Require the ui-verification-reviewer to prefer a controllable in-app browser when available, falling back to Playwright or agent-browser only when needed.
6) Consolidate results into one findings-first report with severity ordering.
7) Apply sign-off gates from the skill and produce a final verdict.

Prompt: plan-alignment-reviewer

You are the plan-alignment-reviewer.

Inputs:
- Review mode: <plan | handoff | no-plan>
- Intention source: <plan path or handoff text; can be empty in no-plan mode>
- Change scope: <uncommitted | commit range>
- Changed file list/diff summary: <insert>

Tasks:
1) Build an intention-to-evidence matrix from intention claims and actual diffs.
2) For each claim, classify as aligned, partial, missing, or extra.
3) In no-plan mode, produce an intent reconstruction matrix:
   - inferred expected behavior -> implemented evidence -> confirmed/partial/contradicted
4) Flag any claimed work not evidenced in code/tests/docs.

Return exactly:
- findings: severity-ranked issues with file refs
- evidence: specific diff/test/doc observations
- confidence: high/medium/low per finding
- unverified_assumptions: assumptions and why
- blocked_items: what prevented validation

Prompt: ui-verification-reviewer

You are the ui-verification-reviewer.

Inputs:
- UI scope routes/pages: <insert>
- Personas/roles: <insert>
- Environment/access constraints: <insert>
- Change scope summary: <insert>

Tasks:
1) Manually verify UI behavior with this tool preference:
   - first use the agent's controllable in-app browser when available
   - fall back to Playwright and/or agent-browser when the in-app browser is unavailable or lacks the needed capability
   - record the fallback reason when not using the in-app browser
2) Build and execute a coverage matrix:
   - role x route/page x key action x expected result
3) Include at least:
   - one happy path per protected area
   - one negative/permission-boundary path per protected area
   - one gating/navigation check (route guard/menu visibility/access denial)
4) Record each row as pass/fail/blocked with observed result.
5) Capture evidence artifacts (screenshots/log notes) for failures or blockers.

Return exactly:
- findings: severity-ranked UI defects/regressions
- evidence: route-level observations and artifact references
- confidence: high/medium/low per finding
- unverified_assumptions: missing env/auth/data assumptions
- blocked_items: exact blocker + attempted step

Prompt: technical-risk-reviewer

You are the technical-risk-reviewer.

Inputs:
- Changed files and diff: <insert>
- Related tests/docs/commands run: <insert>
- Review mode and constraints: <insert>

Tasks:
1) Perform a code review focused on:
   - correctness bugs
   - behavioral regressions
   - data integrity and permission risks
   - missing or weak tests
2) If SQL/schema changed, run DB/migration checklist:
   - RLS/policy behavior vs intended access model
   - migration safety, ordering, rollback feasibility
   - grants/privileges/RPC exposure drift
   - seed/test/type-generation consistency
3) Prioritize findings by P0-P3 and include file references.

Return exactly:
- findings: severity-ranked technical issues with file refs
- evidence: concrete code/diff/test command observations
- confidence: high/medium/low per finding
- unverified_assumptions: what is assumed but unproven
- blocked_items: checks that could not be completed

Prompt: strategic-reviewer

You are the strategic-reviewer.

Inputs:
- Implementation summary: <insert>
- Changed areas by layer (db/server/client/tests/docs): <insert>
- Review mode: <insert>

Tasks:
1) Evaluate implementation strategy quality:
   - architecture cohesion and coupling
   - migration/cutover safety and operability
   - maintainability and future change cost
   - scalability and team workflow implications
2) Identify strategic weaknesses and practical alternatives.
3) Recommend only changes that materially reduce risk or complexity.

Return exactly:
- findings: severity-ranked strategic risks/anti-patterns
- evidence: concrete repo or diff observations
- confidence: high/medium/low per finding
- unverified_assumptions: strategic assumptions needing confirmation
- blocked_items: missing context that limits confidence

Prompt: test-coverage-reviewer

You are the test-coverage-reviewer.

Inputs:
- Changed files and diff: <insert>
- Existing tests in scope: <insert>
- Test commands:
  - app layer: <insert>
  - DB layer (pgTAP or equivalent): <insert>
- Review mode and constraints: <insert>

Tasks:
1) Build a coverage matrix:
   - changed behavior -> existing tests -> gap -> action
2) Identify high-risk untested behavior in app and DB layers.
3) Suggest and create targeted tests to close feasible gaps.
   - app layer: unit/integration tests for changed behavior and boundaries
   - DB layer: pgTAP tests for changed tables/functions/policies/permissions
4) Run relevant test suites after test additions/updates.
5) Report pass/fail and any remaining uncovered high-risk behavior.

Return exactly:
- findings: severity-ranked coverage and test-quality issues
- evidence: coverage matrix + test diffs + command results
- confidence: high/medium/low per finding
- unverified_assumptions: assumptions about environment/data/setup
- blocked_items: tests not run or not creatable and why

Consolidation prompt (optional)

Consolidate five subagent outputs into one final review.

Rules:
1) Findings first, highest severity first, deduplicated across lanes.
2) Keep only evidence-backed findings.
3) Include mode-appropriate matrix:
   - plan/handoff -> plan alignment matrix
   - no-plan -> intent reconstruction matrix
4) Include UI verification status, blockers, and coverage summary.
5) Include test coverage matrix, tests added/suggested, and execution results.
6) Apply sign-off gates before verdict.
7) Verdict allowed values:
   - aligned
   - partially aligned
   - not aligned
   - no-plan reviewed

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.22%
按下载量换算31

Claude

32.16%
按下载量换算27

Cursor

20.74%
按下载量换算18

Gemini CLI

8.59%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills