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

forgeforge 测试

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

235

周安装

10

GitHub Stars

18

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jwiegley/claude-prompts --skill forge

简介

forge 用于辅助提示词、系统指令和工作流模板的整理。

  • 适合让 Agent 规范任务边界、统一输出格式或拆分操作步骤,需保留真实业务约束。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 涉及自动执行或高风险操作时,应在提示词中明确确认步骤和权限边界。
  • forge 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Forge: Multi-Model Collaborative Workflow

Overview

Forge applies maximum analytical rigor to complex problems by orchestrating multiple AI models across five sequential phases:

PhaseModel(s)Purpose
1. ResearchOpus + GPT-5.4-Pro + Gemini 3 ProDeep analysis and consensus
2. PlanningOpus + GPT-5.4-Pro + Gemini 3 ProStrategic plan with validation
3. ExecutionSonnetCode changes + test execution
4. ReviewOpus + GPT-5.4-Pro + Gemini 3 ProComprehensive change review
5. CritiqueOpus + GPT-5.4-Pro + Gemini 3 ProDevil's advocate analysis

Each analytical phase (1, 2, 4, 5) uses Opus as orchestrator and builds multi-model consensus via PAL MCP with GPT-5.4-Pro and Gemini 3 Pro. Phase 3 uses only Sonnet for cost-efficient execution.

Prerequisites

  • The current session must be running on Opus (claude-opus-4-6)
  • PAL MCP server must be running with access to gpt-5.4-pro and gemini-3.1-pro-preview
  • To verify model availability, call mcp__pal__listmodels before starting

If PAL MCP is unavailable or a partner model is missing, inform the user and halt. Do not fall back to single-model operation -- the value of Forge comes from multi-model collaboration.

Workflow

Phase 1: Deep Analysis & Research

Conduct thorough investigation of the problem before any planning or coding.

Step 1.1 -- Explore the problem space:

  • Read all relevant files using Glob, Grep, and Read tools
  • Understand the current state, architecture, and constraints
  • Identify the root cause (if debugging) or core requirements (if building)
  • Collect relevant file paths and code snippets for partner model consumption

Step 1.2 -- Systematic deep analysis: Use mcp__pal__thinkdeep (for debugging/investigation) or mcp__pal__analyze (for architecture/feature analysis) to perform structured multi-step investigation. Pass relevant_files with absolute paths to all pertinent source files. Set model to gemini-3.1-pro-preview.

Step 1.3 -- Multi-model consensus on findings: Use mcp__pal__consensus to gather perspectives from both partner models:

models: [
  {"model": "gpt-5.4-pro", "stance": "neutral"},
  {"model": "gemini-3.1-pro-preview", "stance": "neutral"}
]

The consensus step 1 prompt must present:

  • The problem statement
  • Your investigation findings from steps 1.1 and 1.2
  • Specific questions: what aspects were missed, alternative root causes or approaches, additional constraints or risks

Step 1.4 -- Synthesize the research brief: Combine Opus analysis with consensus output into a research brief containing:

  • Problem statement and context
  • Root cause analysis or requirements analysis
  • Key constraints and risks
  • Areas of agreement and disagreement across models
  • Recommendations for the planning phase

Hold the research brief in context for Phase 2.


Phase 2: Strategic Planning

Create a detailed execution plan validated across all three models.

Step 2.1 -- Draft the plan: Based on the Phase 1 research brief, create a structured plan covering:

  • Specific files to create, modify, or delete (with descriptions of each change)
  • Order of operations and dependencies between changes
  • Test strategy: which tests to run, what to verify, expected outcomes
  • Rollback approach if changes break existing functionality

Step 2.2 -- Validate with multi-model consensus: Use mcp__pal__consensus:

models: [
  {"model": "gpt-5.4-pro", "stance": "neutral"},
  {"model": "gemini-3.1-pro-preview", "stance": "neutral"}
]

The consensus step 1 prompt must present the full plan and ask each model to:

  • Identify gaps, missing steps, or overlooked dependencies
  • Flag potential risks, edge cases, or failure modes
  • Suggest improvements or alternative approaches
  • Rate confidence in the plan's completeness (1-10)

Step 2.3 -- Refine the plan based on consensus feedback. Address every concern raised or explicitly document why a suggestion was not incorporated.

Step 2.4 -- Present the plan to the user for approval. Display the final plan clearly and wait for explicit user approval before proceeding. If the user requests changes, iterate (repeating consensus validation if changes are substantial). Do NOT proceed to Phase 3 without approval.


Phase 3: Execution

Spawn a Sonnet agent to execute the approved plan.

Step 3.1 -- Capture pre-execution state: Run git stash list && git status && git log --oneline -5 to record the baseline state before execution begins.

Step 3.2 -- Spawn the Sonnet executor: Use the Task tool:

subagent_type: "general-purpose"
model: "sonnet"
mode: "bypassPermissions"

The Task prompt must include:

  1. The complete approved plan from Phase 2 (verbatim)
  2. Clear instruction to execute each step in the specified order
  3. Instruction to run the specified tests after making changes
  4. Instruction to report back with:

- Summary of every file changed and what was done - Full test output (pass/fail for each test) - Any deviations from the plan and why they were necessary - Any issues, warnings, or concerns encountered during execution

Step 3.3 -- Collect results: When the Sonnet agent completes, capture its full report. Run git diff to independently verify what changed. Hold both the agent report and the diff in context for Phase 4.


Phase 4: Comprehensive Review

Perform thorough review of all changes made during execution.

Step 4.1 -- Gather the diff: Run git diff (or git diff HEAD~N..HEAD if changes were committed) to capture all modifications. Also run any tests specified in the plan to independently verify results.

Step 4.2 -- Structured code review: Use mcp__pal__codereview for systematic review:

  • Set model to gemini-3.1-pro-preview
  • Set review_type to full
  • Include the diff via relevant_files (pass the changed file paths)
  • In the step narrative, cover: correctness, security, performance, architecture, and test coverage

Step 4.3 -- Multi-model review consensus: Use mcp__pal__consensus:

models: [
  {"model": "gpt-5.4-pro", "stance": "neutral"},
  {"model": "gemini-3.1-pro-preview", "stance": "neutral"}
]

The consensus step 1 prompt must include:

  • The full diff of changes
  • The Sonnet executor's report (deviations, test results)
  • The Phase 2 plan for comparison
  • Ask each model to evaluate:

- Correctness of the implementation - Security vulnerabilities (OWASP top 10) - Performance implications - Whether changes match the plan and original intent - Regressions or unintended side effects - Test coverage adequacy

Step 4.4 -- Compile review report: Synthesize Opus analysis with codereview output and consensus into a review report organized by category (correctness, security, performance, architecture, test coverage). Note severity for each finding.

Hold the review report in context for Phase 5.


Phase 5: Devil's Advocate Critique

Apply aggressive critical analysis to find problems the review missed.

Step 5.1 -- Adversarial self-analysis (Opus): Deliberately adopt a hostile critic's perspective. Assume the code has hidden bugs, the review was too lenient, and important edge cases were missed.

Examine:

  • Every conditional branch: what if the other path is taken?
  • Every external call: what if it fails, times out, or returns unexpected data?
  • Every assumption: what if it's wrong?
  • Concurrency: are there race conditions or deadlocks?
  • Error propagation: are errors swallowed or mishandled?
  • The review itself: did reviewers agree too readily? What did they not check?

Step 5.4 -- Adversarial multi-model consensus: Use mcp__pal__consensus with adversarial stances:

models: [
  {
    "model": "gpt-5.4-pro",
    "stance": "against",
    "stance_prompt": "You are a hostile code reviewer. Find every possible
      flaw, vulnerability, edge case, race condition, and design mistake in
      these changes. Be ruthlessly critical. If you cannot find real problems,
      identify theoretical risks and worst-case scenarios. Also critique the
      review report -- what did the reviewers miss or dismiss too easily?"
  },
  {
    "model": "gemini-3.1-pro-preview",
    "stance": "against",
    "stance_prompt": "You are a security auditor and reliability engineer.
      Assume this code will be attacked by adversaries and subjected to
      extreme load. Find every weakness, every assumption that could fail,
      every error path that is not handled. Question the architectural
      decisions. Challenge the test coverage. Also examine the review report
      for blind spots and groupthink."
  }
]

Include both the diff and the Phase 4 review report in the consensus step 1 prompt.

Step 5.3 -- Synthesize critique: Compile all adversarial findings into a critique report categorized by severity:

  • Critical: Must fix before merging; functional bugs, security holes, data corruption risks
  • High: Should fix soon; significant quality or reliability concerns
  • Medium: Worth addressing; maintainability, robustness improvements
  • Low: Nitpicks and theoretical concerns for awareness

Phase 6: Final Report & Remediation

Present the complete results to the user.

Step 6.1 -- Summary report: Present a concise report covering:

  1. Problem (1-2 sentences from Phase 1)
  2. Approach (key decisions from Phase 2)
  3. Changes made (file list and summary from Phase 3)
  4. Review findings (highlights from Phase 4, by category)
  5. Devil's advocate findings (Phase 5 critique, by severity)
  6. Overall assessment: ready to merge, needs fixes, or needs rework

Step 6.2 -- Remediation (if critical issues found): If Phase 5 produced critical findings:

  • Present them clearly with specific remediation recommendations
  • Ask the user whether to fix now or defer
  • If the user requests fixes: create a targeted remediation plan, loop back to Phase 3 (Sonnet execution) with only the fixes, then repeat Phases 4-5 on the remediation changes only

Step 6.3 -- Completion: If no critical issues remain, confirm the implementation is ready and note any medium/low concerns for the user's awareness.

PAL Model Reference

RolePAL Model NameUsed In
Orchestrator(native Opus)All phases
Partner 1gpt-5.4-proConsensus in Phases 1, 2, 4, 5
Partner 2gemini-3.1-pro-previewConsensus + codereview in Phases 1, 2, 4, 5
Executorsonnet (Task tool model param)Phase 3 only

Constraints

  • Never skip phases. The pipeline's value comes from the full sequence.
  • Never proceed from Phase 2 to Phase 3 without explicit user plan approval.
  • Phase 3 must use only Sonnet (cost efficiency for mechanical execution).
  • Phases 1, 2, 4, and 5 must use Opus with PAL consensus (analytical rigor).
  • Keep intermediate artifacts in context; do not write temporary files unless context size demands it.
  • Present only the Phase 6 summary to the user; do not expose raw consensus outputs or intermediate phase artifacts unless the user asks for them.
  • If any phase encounters an unrecoverable error, halt and report to the user with context about what succeeded and what failed.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.27%
按下载量换算32

Claude

28.17%
按下载量换算23

Cursor

19.59%
按下载量换算16

Gemini CLI

9.64%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills