一键导入
interface-scout
Read-only codebase analysis that finds existing port/adapter patterns and proposes new interfaces fitting project conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read-only codebase analysis that finds existing port/adapter patterns and proposes new interfaces fitting project conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | interface-scout |
| description | Read-only codebase analysis that finds existing port/adapter patterns and proposes new interfaces fitting project conventions. |
Read-only analysis. Finds existing patterns and proposes new interfaces.
Read project.yaml (in the project's config directory) for architecture layout, error handling, and naming conventions.
ls {ports_dir}
ls {adapters_dir}
If shared domain exists:
ls {shared_domain_dir}
For each existing interface, extract:
For each new interface needed:
### Proposed: {InterfaceName}
**File**: `{ports_dir}/{name}`
**Error file**: `{ports_dir}/{name}_errors`
**Methods:**
- `{method}(args): {return_type}` - {purpose}
- `healthCheck(): {health_return_type}`
**Error hierarchy** (if hierarchy: true):
- `{Name}Error` (abstract, extends {base_class})
- `{Specific}OperationError`
- `{Name}HealthCheckError`
**Pattern reference:** follows `{existing_interface_path}`
# Interface Scout Report
## Existing Patterns Found
| Interface | Location | Methods | Adapters |
| ...
## Proposed Interfaces
### 1. {InterfaceName}
{full proposal}
## Domain Type Decisions
- {type} -> local / shared (with justification)
Generates a context-specific audit brief and executes review via code-reviewer agent. Usable standalone or as a building block within other skills.
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
Full SDLC workflow - from task to PR. Plans, audits adversarially, implements, runs quality gates, and opens a PR.
Generates a PR description from the current branch diff and project conventions. Output is a ready-to-use markdown body.
Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
Validates project.yaml is well-formed. Checks required fields, valid values, resolvable paths, and detects typos.