Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

ralph-skill-review-loop拉尔夫技能复习循环

Agent Skill

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

总安装

465

周安装

19

GitHub Stars

9

下载量

150
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ralph-skill-review-loop(拉尔夫技能复习循环)
来源仓库:https://github.com/adaptationio/skrillz
仓库路径:skills/ralph-skill-review-loop
安装命令:
npx skills add https://github.com/adaptationio/skrillz --skill ralph-skill-review-loop
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/adaptationio/skrillz --skill ralph-skill-review-loop

简介

用于根据关键词或场景快速查找、检索和筛选相关信息。

  • 适合在知识库、文档或代码中定位候选结果并评估相关性。
  • 可通过循环迭代优化搜索策略,提升结果精准度。ralph-skill-review-loop 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 使用前需确认是否具备联网或访问外部资源的能力。
  • 建议结合具体任务目标设定筛选条件和优先级规则。

SKILL.md

Ralph Skill Review Loop

Overview

A meta-skill that uses the Ralph Wiggum technique to review and improve the Ralph Wiggum prompt generator skills themselves. Runs a continuous improvement loop until skills pass review twice consecutively with no recommendations.

Quick Start

Copy and run this prompt in a Ralph loop:

/ralph-wiggum:ralph-loop "[paste prompt below]" --completion-promise "RALPH_SKILLS_PERFECTED" --max-iterations 100

THE SELF-IMPROVING REVIEW LOOP PROMPT

# Task: Self-Improving Review of Ralph Wiggum Skills

## Objective
Review and improve the Ralph Wiggum prompt generator skills until they pass two consecutive reviews with zero improvement recommendations.

## Target Skills
1. ralph-prompt-builder (Master orchestrator)
2. ralph-prompt-single-task (Single task generator)
3. ralph-prompt-multi-task (Multi-task generator)
4. ralph-prompt-project (Project generator)
5. ralph-prompt-research (Research generator)

Location: .claude/skills/ralph-prompt-*/SKILL.md

## Reference Materials
- RALPH-WIGGUM-TECHNIQUE-COMPREHENSIVE-RESEARCH.md (12,000+ words of best practices)
- skill-builder-package/research/ (skill building best practices)
- skill-builder-package/examples/ (production skill patterns)

---

## STATE MANAGEMENT

### Required State Files
Create these files to track progress:

**RALPH_REVIEW_STATE.json**:

{ "current_iteration": 1, "consecutive_clean_reviews": 0, "skills_reviewed": [], "improvements_made": [], "last_review_timestamp": "", "status": "IN_PROGRESS" }


**RALPH_REVIEW_LOG.md**:

Ralph Skills Review Log

Iteration History

[Append each iteration's findings here]


---

## STEP 1: ORIENTATION (Every Iteration)

Read current state:

cat RALPH_REVIEW_STATE.json cat RALPH_REVIEW_LOG.md | tail -50 git log --oneline -5 ls -la .claude/skills/ralph-prompt-*/


Check: How many consecutive clean reviews do we have?

- If 2 or more: Output RALPH_SKILLS_PERFECTED
- If less than 2: Continue to Step 2

---

## STEP 2: COMPREHENSIVE SKILL REVIEW

### Review Framework

For EACH skill in ralph-prompt-*, evaluate against:

#### 2.1 Ralph Technique Alignment (from research)

- Clear completion criteria defined
- Includes self-verification commands
- Has TDD/iteration approach
- Includes "If Stuck" guidance
- Uses completion tags correctly
- Recommends appropriate max-iterations
- Follows "deterministically bad" philosophy (failures are fixable)

#### 2.2 Skill Structure Quality

- YAML frontmatter complete (name, description with triggers)
- Progressive disclosure (overview → details → examples)
- Quick Start section exists and is actionable
- Examples are realistic and complete
- Best practices section included
- Integration with Ralph loop documented

#### 2.3 Content Completeness

- All sections properly filled (no placeholders)
- Examples match the skill type
- Verification commands are real and runnable
- Edge cases addressed
- Cross-references to related skills

#### 2.4 Prompt Template Quality

- Templates follow research best practices
- Success criteria are measurable
- Phase structure is clear (for multi-phase)
- State tracking included
- Progress tracking pattern included

### Review Process

For each skill:

1. Read the SKILL.md file completely
2. Compare against RALPH-WIGGUM-TECHNIQUE-COMPREHENSIVE-RESEARCH.md
3. Check against all 16 criteria above
4. Document findings in REVIEW_FINDINGS.md

### Review Output Format

Create/update **REVIEW_FINDINGS.md**:

Review Findings - Iteration [N]

Summary

  • Skills reviewed: [count]
  • Total issues found: [count]
  • Critical issues: [count]
  • Improvements needed: [count]

ralph-prompt-builder

Passing

  • [x] Criterion that passes

Issues Found

  • [ ] [CRITICAL/HIGH/MEDIUM/LOW] Issue description

- Location: [section/line] - Current: [what exists] - Should be: [what it should be] - Fix: [specific fix]

ralph-prompt-single-task

[... same format]

ralph-prompt-multi-task

[... same format]

ralph-prompt-project

[... same format]

ralph-prompt-research

[... same format]

Recommendations Summary

Must Fix (Critical/High)

  1. [Recommendation 1]
  2. [Recommendation 2]

Should Fix (Medium)

  1. [Recommendation 3]

Nice to Have (Low)

  1. [Recommendation 4]

Review Result

  • [ ] CLEAN (zero recommendations)
  • [ ] NEEDS_WORK (has recommendations)

---

## STEP 3: IMPLEMENT IMPROVEMENTS

If REVIEW_FINDINGS.md shows NEEDS_WORK:

### 3.1 Prioritize Fixes

Work in this order:

1. Critical issues (breaks functionality)
2. High issues (significantly impacts quality)
3. Medium issues (improves quality)
4. Low issues (polish)

### 3.2 Implement Each Fix

For each recommendation:

1. Read the target skill file
2. Implement the specific fix
3. Verify the fix addresses the issue
4. Commit the change:

git add .claude/skills/ralph-prompt-[name]/SKILL.md git commit -m "Improve ralph-prompt-[name]: [brief description]

  • [Change 1]
  • [Change 2]

Part of Ralph skills self-improvement loop iteration [N]"


### 3.3 Track Improvements

Update RALPH_REVIEW_STATE.json:

{ "improvements_made": [ { "iteration": N, "skill": "ralph-prompt-X", "issue": "description", "fix": "what was done" } ] }


---

## STEP 4: POST-IMPROVEMENT VERIFICATION

After implementing fixes:

### 4.1 Verify Each Skill Still Works

For each modified skill:

- YAML frontmatter is valid
- All sections render correctly
- Examples are syntactically correct
- No broken references

### 4.2 Check for Regressions

- No content accidentally deleted
- Cross-references still valid
- Templates still complete

### 4.3 Run Syntax Check

Verify YAML frontmatter

for f in .claude/skills/ralph-prompt-*/SKILL.md; do head -20 "$f" | grep -E "^(name:|description:)" done


---

## STEP 5: UPDATE STATE

Update RALPH_REVIEW_STATE.json:

If review was CLEAN (zero recommendations):

{ "consecutive_clean_reviews": [previous + 1], "last_review_result": "CLEAN", "last_review_timestamp": "[timestamp]" }


If review was NEEDS_WORK:

{ "consecutive_clean_reviews": 0, "last_review_result": "NEEDS_WORK", "improvements_this_iteration": [count], "last_review_timestamp": "[timestamp]" }


Update RALPH_REVIEW_LOG.md:

Iteration [N] - [timestamp]

Review Result

[CLEAN/NEEDS_WORK]

Issues Found

  • [Issue 1]
  • [Issue 2]

Fixes Applied

  • [Fix 1]
  • [Fix 2]

State After

  • Consecutive clean reviews: [N]
  • Total improvements to date: [N]

---

## STEP 6: LOOP DECISION

### Check Termination Condition

Read RALPH_REVIEW_STATE.json:

cat RALPH_REVIEW_STATE.json | jq '.consecutive_clean_reviews'


### If consecutive_clean_reviews >= 2:

Skills have passed two consecutive reviews with zero recommendations.

Create RALPH_SKILLS_VALIDATION_COMPLETE.md:

Ralph Skills Validation Complete

Summary

  • Total iterations: [N]
  • Total improvements made: [count]
  • Final state: All skills validated

Skills Validated

  1. ralph-prompt-builder - PASSED
  2. ralph-prompt-single-task - PASSED
  3. ralph-prompt-multi-task - PASSED
  4. ralph-prompt-project - PASSED
  5. ralph-prompt-research - PASSED

Validation Criteria Met

All 16 review criteria passing for all 5 skills.

Timestamp

[ISO timestamp]


Output: RALPH_SKILLS_PERFECTED

### If consecutive_clean_reviews < 2:

Continue to next iteration (loop back to STEP 1)

---

## REVIEW CRITERIA REFERENCE (Quick Check)

### Ralph Technique Alignment

1. Clear completion criteria
2. Self-verification commands
3. TDD/iteration approach
4. "If Stuck" guidance
5. tags used correctly
6. Appropriate max-iterations recommendations
7. Deterministically bad philosophy

### Skill Structure Quality

1. Complete YAML frontmatter
2. Progressive disclosure
3. Actionable Quick Start
4. Realistic examples
5. Best practices section
6. Ralph loop integration docs

### Content Completeness

1. No placeholders
2. Matching examples
3. Real verification commands

---

## ESCAPE HATCH

If stuck after 50 iterations without reaching 2 consecutive clean reviews:

1. Document the recurring issues in RALPH_REVIEW_BLOCKERS.md
2. List which criteria keep failing
3. Identify if criteria are too strict
4. Output: RALPH_REVIEW_BLOCKED

---

## PROGRESS TRACKING

Every 5 iterations, summarize:

PROGRESS SUMMARY - Iteration [N] ================================ Started: [timestamp] Current: [timestamp] Consecutive clean reviews: [N]/2

Skills Status:

  • ralph-prompt-builder: [X/16 criteria passing]
  • ralph-prompt-single-task: [X/16 criteria passing]
  • ralph-prompt-multi-task: [X/16 criteria passing]
  • ralph-prompt-project: [X/16 criteria passing]
  • ralph-prompt-research: [X/16 criteria passing]

Improvements made: [total count] Remaining issues: [count]


---

## COMPLETION CONDITIONS

Output RALPH_SKILLS_PERFECTED ONLY when:

- All 5 skills reviewed
- All 16 criteria checked per skill
- Zero recommendations in current review
- Zero recommendations in previous review
- consecutive_clean_reviews >= 2 in state file
- RALPH_SKILLS_VALIDATION_COMPLETE.md created
- All changes committed

---

## SAFETY LIMITS

- Maximum iterations: 100
- Expected completion: 20-40 iterations
- Budget alert: If > 50 iterations, evaluate if criteria are too strict

Usage Instructions

1. Initialize State Files

Before running, create the initial state:

# Create state file
cat > RALPH_REVIEW_STATE.json << 'EOF'
{
  "current_iteration": 0,
  "consecutive_clean_reviews": 0,
  "skills_reviewed": [],
  "improvements_made": [],
  "last_review_timestamp": "",
  "status": "NOT_STARTED"
}
EOF

# Create log file
cat > RALPH_REVIEW_LOG.md << 'EOF'
# Ralph Skills Review Log

## Overview
Self-improving review loop for Ralph Wiggum prompt generator skills.

## Target: Two consecutive clean reviews

---

## Iteration History

EOF

2. Run the Loop

/ralph-wiggum:ralph-loop "[THE PROMPT ABOVE]" \
  --completion-promise "RALPH_SKILLS_PERFECTED" \
  --max-iterations 100

3. Monitor Progress

# Check current state
cat RALPH_REVIEW_STATE.json | jq '.'

# See recent activity
tail -30 RALPH_REVIEW_LOG.md

# Check how many clean reviews
cat RALPH_REVIEW_STATE.json | jq '.consecutive_clean_reviews'

4. After Completion

Review the outputs:

  • RALPH_REVIEW_STATE.json - Final state
  • RALPH_REVIEW_LOG.md - Complete history
  • REVIEW_FINDINGS.md - Last review details
  • RALPH_SKILLS_VALIDATION_COMPLETE.md - Success certificate
  • Git log - All improvements committed

Why This Works

  1. State Tracking: JSON state file persists across iterations
  2. Clear Criteria: 16 specific, measurable review criteria
  3. Self-Correction: Each iteration reads previous results and fixes issues
  4. Termination Condition: Two consecutive clean reviews ensures stability
  5. Evidence-Based: All findings documented, all fixes tracked
  6. Git Integration: Every improvement committed for auditability

Expected Behavior

Iteration 1-5: Discovery phase

  • Identify initial issues across all skills
  • Begin fixing critical issues

Iteration 6-15: Improvement phase

  • Systematic fixes
  • Quality improvements
  • Cross-consistency

Iteration 16-25: Stabilization phase

  • Fewer issues found
  • Polish and edge cases
  • Approaching clean reviews

Iteration 26-40: Validation phase

  • First clean review achieved
  • Verify no regressions
  • Second clean review achieved
  • Completion

Customization

Stricter Review

Add more criteria to the review framework.

Faster Completion

Reduce to "one clean review" by changing:

consecutive_clean_reviews >= 1

Focus on Specific Skills

Modify the target skills list in the prompt.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

github-copilot

30.3%
按下载量换算45

Claude Code

22.83%
按下载量换算34

mcpjam

18.46%
按下载量换算28

moltbot

13.59%
按下载量换算20

windsurf

7.26%
按下载量换算11

zencoder

3.39%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills