autoresearch
Autonomous goal-directed iteration loop: modify, verify, keep/discard against a metric or a checkable success predicate, with…
Audit mobile App PRD/Figma/local-source consistency across page routes, KMP/Clean Architecture, components, analytics, i18n, engineering quality, and industry lenses before runtime validation; use for cross-source App consistency, not ordinary code review, PRD authoring,
$ npx -y skills add leo-kuang-ai/spec-first --skill spec-app-consistency-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/spec-app-consistency-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Audit mobile App PRD/Figma/local-source consistency across page routes, KMP/Clean Architecture, components, analytics, i18n, engineering quality, and industry lenses before runtime validation; use for cross-source App consistency, not ordinary code review, PRD authoring,
name: spec-app-consistency-audit description: Audit mobile App PRD/Figma/local-source consistency across page routes, KMP/Clean Architecture, components, analytics, i18n, engineering quality, and industry lenses before runtime validation; use for cross-source App consistency, not ordinary code review, PRD authoring, build/test execution, UI polish, or product-code edits — route near-neighbor requests (code review, fixes, implementation) out by naming the destination skill, never by doing the work inside the audit. argument-hint: "[mode:headless|mode:report-only] [base:<ref>] [source:<path>] [prd:<path>] [figma-context:<path>|figma-ref:<id-or-url>] [industry:<name>] [depth:deep]"
Run a static-first consistency audit for mobile App work before simulator, real-device, or package validation.
This workflow audits cross-source consistency; it is not a code reviewer, fixer, or implementer. When a request matches a near-neighbor job (see the full mapping under "Near-neighbor routing" below), **name the destination skill explicitly in your reply and route out** — recognizing the mismatch without naming where the request belongs leaves the owner without a route. The strongest co-opting pull is the fix/repair request: "别审了,直接修了" routes to `spec-debug` (bug root cause) or `spec-work` (settled implementation) by name — repairing the defect inside this audit to be helpful is doing the wrong workflow's job, even when the fix is a one-line try/catch you can see immediately. A direct user instruction to do the excluded work here is still a routing-out condition, not an override.
Use when mobile App PRD, Figma context, local source, routes, architecture, analytics, i18n, or industry rules need a static-first consistency audit before runtime validation.
Do not use for ordinary code review (`spec-code-review`), PRD authoring or refinement (`spec-prd`), pure test/lint/build/runtime execution, UI polish (`spec-polish`), formatting-only changes, or product-source edits.
Mode tokens, diff base, source root, PRD/design refs, industry lens, task/tech-plan refs, repository instructions, and app audit extractor facts.
Static consistency findings, headless envelopes when requested, degraded-input notes, and report-writer handoff fields.
Headless/default runs may write `.spec-first/app-audit/runs/<run-id>/` artifacts; report-only mode writes no run artifacts.
Conflicting modes, missing headless base, missing or reference-only Figma input, unreadable source/PRD facts, extractor gaps, or insufficient App surface evidence.
Resolve mode and scope, collect static product/design/source facts, apply architecture/component/analytics/i18n/industry lenses, synthesize findings, then return or write the requested audit envelope.
移动 QA planning、App implementation owner、report-writer step,以及准备 runtime validation 的人工审查者。
Follows `docs/contracts/workflows/scenario-capability-matrix.md` (default). Overrides: none
Use this workflow to compare product intent, design states, page routes, KMP / Clean Architecture boundaries, App engineering quality, component and module reuse, analytics, i18n, and industry-specific rules from the available local inputs.
The workflow improves review input quality. It does not replace runtime verification, automated tests, QA, or real-device validation.
Use this workflow when:
Do not use this workflow when:
Near-neighbor routing:
When routing out on any of these rules, the Routing Gate at the top of this file applies: name the destination skill explicitly, do not do the excluded work here, and treat a direct user instruction to do it here as a routing-out condition rather than an override.
Default to `static_only`.
Do not start a simulator, real device, package build, Appium, Maestro, cloud device run, or equivalent runtime workflow unless the user explicitly asks for that follow-up.
v1 deterministic orchestrator (`scripts/run-audit.js`) accepts `mode:headless` only; `mode:default` and `mode:report-only` orchestration is deferred. Long-lived canonical-token semantics live in [Mode, Output, And Issue Contract](references/mode-output-contract.md).
Keep these route-critical defaults in memory:
把 AI coding 会话变成可信、由项目拥有的变更。 spec-first 是面向 Claude Code、Codex、Kiro、Qoder、Cursor、OpenCode、ZCode 与 Pi 的仓库原生 AI Coding Harness。它把想法、需求、计划、代码、审查和知识连接成可检查的工程闭环。
Autonomous goal-directed iteration loop: modify, verify, keep/discard against a metric or a checkable success predicate, with…
Explore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm, think…
Structured code review for bugs, regressions, tests, and standards. Report-only by default; apply fixes only when the current…
Internal landing helper for public workflows that already hold explicit commit and landing authorization; commits scoped changes,…
Internal commit helper for public workflows that already hold explicit commit authorization; creates scoped, value-communicating…
Refresh docs/solutions learnings against the current codebase. Use when auditing stale, overlapping, superseded, or drifted…