Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

foundry-review铸造厂评论

Agent Skill

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

总安装

261

周安装

11

GitHub Stars

2

下载量

92
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:foundry-review(铸造厂评论)
来源仓库:https://github.com/tylerburleigh/claude-foundry
仓库路径:skills/foundry-review
安装命令:
npx skills add https://github.com/tylerburleigh/claude-foundry --skill foundry-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tylerburleigh/claude-foundry --skill foundry-review

简介

foundry-review 用于查找、检索和筛选相关信息,支持代码审查与质量评估。

  • 适用于对照规范、历史提交或同行反馈进行差异分析与风险识别。
  • 通过 npx skills add 从 claude-foundry 仓库安装使用。
  • 使用前应确认其是否有权读取私有代码库或生成正式评审意见。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Implementation Fidelity Review Skill

Table of Contents

Overview

The foundry-review skill compares actual implementation against SDD specification requirements. It uses LSP for structural verification and MCP for AI-powered deviation analysis.

Skill Family

Part of the Spec-Driven Development quality assurance family:

foundry-spec → foundry-implement → [CODE] → foundry-review (this skill)

When to Use This Skill

Use when:

  • Verifying implementation matches specification requirements
  • Identifying deviations between plan and actual code
  • Reviewing pull requests for spec compliance
  • Auditing completed phases or tasks

Do NOT use for:

  • Creating specifications (use foundry-spec)
  • Finding next tasks or tracking progress (use foundry-implement)
  • Running tests (run directly via Bash)

Flow

[x?]=decision · (GATE)=user approval · =sequence · =loop · §=section ref
- **Entry** → [Familiar with code?]
  - [no] → Explore subagent
  - [else] → skip
  - Spec changes → `spec action="diff"` → `spec action="history"`
  - LSP pre-check → `documentSymbol`
    - [structures exist?] → continue
    - [else] → Early exit with findings → **Exit**: Report
  - MCP review → `fidelity action="review"` → Scope: phase or task
    - [deviations found?] → LSP investigate → `goToDefinition` → `findReferences` → `incomingCalls`
  - Assess deviation: Exact, Minor, Major, Missing
  - **Exit** → Report with recommendations

MCP Tooling

This skill uses the Foundry MCP server with router+action pattern: mcp__plugin_foundry_foundry-mcp__<router> with action="<action>".

Critical Rules:

  • ALWAYS use MCP tools for spec operations
  • NEVER use Read() on spec JSON files
  • NEVER use shell commands (cat, grep, jq) on specs

Router Actions

RouterActionPurpose
reviewfidelityRun AI-powered fidelity analysis
taskqueryList tasks for review scope
taskinfoGet task details and acceptance criteria
specdiffCompare spec versions to understand changes
spechistoryView spec modification timeline

Spec Comparison for Fidelity Context

Use spec:diff and spec:history to understand what changed before reviewing implementation:

# See what changed since last review
mcp__plugin_foundry_foundry-mcp__spec action="diff" spec_id="{spec-id}" compare_to="specs/.backups/{spec-id}-previous.json"

# View modification history to understand evolution
mcp__plugin_foundry_foundry-mcp__spec action="history" spec_id="{spec-id}" limit=5

Why this helps fidelity review:

  • diff: Identifies which requirements changed, helping focus review on modified tasks
  • history: Shows when requirements were added/modified, explaining apparent deviations that were actually spec updates

Core Workflow

The fidelity review workflow integrates LSP verification with MCP AI analysis:

Step 1: Gather Context (Optional)

For unfamiliar code, use Explore subagent to find implementation files:

Explore agent (medium thoroughness): Find all files in phase-1, related tests, config files

Step 2: Check Spec Changes

Before reviewing, understand what changed in the spec since the last review:

# Check recent spec modifications
mcp__plugin_foundry_foundry-mcp__spec action="history" spec_id="{spec-id}" limit=5

# Compare current spec against last backup
mcp__plugin_foundry_foundry-mcp__spec action="diff" spec_id="{spec-id}" compare_to="specs/.backups/{spec-id}-last-review.json"

Deviation assessment using diff:

📊 Spec Diff: user-auth-001

Tasks:
  ~ task-1-2: Acceptance criteria updated (added "support OAuth2")
  + task-1-4: New task added after initial implementation

Use this to:
- Focus review on changed requirements (task-1-2)
- Flag new tasks as "not yet implemented" rather than "deviation" (task-1-4)
- Explain apparent deviations that reflect spec evolution

Step 3: LSP Structural Pre-Check

Before the AI review, verify structural requirements with LSP:

# Get symbols in implementation file
symbols = LSP(operation="documentSymbol", filePath="src/auth/service.py", line=1, character=1)

# Compare against spec: expects AuthService with login(), logout(), refresh_token()
# Identify missing symbols before expensive AI review

Why: Catches missing implementations in seconds before 5-minute AI review.

Step 4: MCP Fidelity Review

Run the AI-powered fidelity analysis:

# Phase review
mcp__plugin_foundry_foundry-mcp__review action="fidelity" spec_id="{spec-id}" phase_id="{phase-id}"

# Task review
mcp__plugin_foundry_foundry-mcp__review action="fidelity" spec_id="{spec-id}" task_id="{task-id}"

The MCP tool handles spec loading, implementation analysis, AI consultation, and report generation.

Step 5: LSP-Assisted Investigation

For deviations found, use LSP to investigate:

# Trace deviation origin
definition = LSP(operation="goToDefinition", filePath="src/auth/service.py", line=45, character=10)

# Find what depends on deviated code
calls = LSP(operation="incomingCalls", filePath="src/auth/service.py", line=45, character=10)

# Assess blast radius
refs = LSP(operation="findReferences", filePath="src/auth/service.py", line=45, character=10)

Why: Understand deviation impact before recommending fixes.

CRITICAL: Read references/lsp-integration.md before LSP investigation. Contains required operation patterns.

LSP Operations Quick Reference

OperationWhen to UsePurpose
documentSymbolPre-checkList all symbols in a file for structural verification
workspaceSymbolPre-checkFind symbols across codebase
hoverDuring reviewGet type info and documentation
goToDefinitionInvestigationTrace where symbols are defined
findReferencesInvestigationFind all usages of a symbol
incomingCallsInvestigationFind what calls a function
outgoingCallsInvestigationFind what a function calls

Essential Commands

Query tasks before review:

mcp__plugin_foundry_foundry-mcp__task action="query" spec_id="{spec-id}" parent="{phase-id}"

Phase review:

mcp__plugin_foundry_foundry-mcp__review action="fidelity" spec_id="{spec-id}" phase_id="{phase-id}"

Task review:

mcp__plugin_foundry_foundry-mcp__review action="fidelity" spec_id="{spec-id}" task_id="{task-id}"
For query patterns and anti-patterns, see references/querying.md

Review Types

TypeScopeWhen to Use
Phase Review3-10 tasksPhase completion checkpoints
Task Review1 fileCritical task validation, high-risk implementations
For detailed workflow per review type, see references/review-types.md

Plan-Enhanced Review

When a spec has a linked plan_path, fidelity review automatically includes spec-vs-plan comparison. This is not a separate review type — it augments the standard phase or task review with additional plan alignment checks.

Auto-triggered when: Spec metadata contains plan_path No user action needed: The MCP tool detects plan linkage and enhances the review automatically

The response includes a plan_enhanced boolean indicating whether plan comparison was performed.

Fidelity Assessment Categories

CategoryMeaning
Exact MatchImplementation precisely matches specification
Minor DeviationSmall differences with no functional impact
Major DeviationSignificant differences affecting functionality
MissingSpecified features not implemented

Long-Running Operations

This skill may take up to 5 minutes. The MCP tool handles timeout internally.

Never use run_in_background=True with frequent polling.

Example Invocation

Skill(foundry:foundry-review) "Review phase phase-1 in spec user-auth-001"

Detailed Reference

For comprehensive documentation including:

  • Long-running operations guidance → references/long-running.md
  • Review types → references/review-types.md
  • LSP integration patterns → references/lsp-integration.md
  • Querying spec data → references/querying.md
  • Workflow steps → references/workflow.md
  • Report structure → references/report.md
  • SDD workflow integration → references/integration.md
  • Assessment categories → references/assessment.md
  • Examples → references/examples.md
  • Error handling → references/errors.md
  • Best practices → references/best-practices.md
  • Subagent patterns → references/subagent.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.35%
按下载量换算35

Claude

29.07%
按下载量换算27

Cursor

17.08%
按下载量换算16

Gemini CLI

9.38%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/tylerburleigh/claude-foundry --skill foundry-review 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills