Autodev logo

Autodev

Community
jh941213
autodev

Ralph Loop 기반 자율 개발 루프. Stop Hook이 세션 종료를 가로채어 PRD 항목을 하나씩 완료하며 자동 커밋한다. 트리거: "autodev", "자율 개발", "밤새 돌려", "랄프 루프", "ralph loop", "자동 개발" 안티-트리거: "직접 구현해", "한번만 해", "수동"

Overview

Publisherjh941213
Repositorymy-cc-harness
Skill nameautodev
Stars
125
Forks
35
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by jh941213 on GitHub. Read the source before you install it.

Installation

Install the Autodev AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jh941213/my-cc-harness.git /tmp/my-cc-harness
mkdir -p .claude/skills
cp -r /tmp/my-cc-harness/skills/autodev .claude/skills/autodev
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Autodev in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Autodev on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Autodev is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AutoDev — Ralph Loop 자율 개발

Stop Hook 기반 자율 개발 루프. PRD/체크리스트의 항목을 하나씩 완료하고 자동 커밋한다. 밤새 돌려놓으면 출근 시 PR이 올라와 있다.

참고: Claude Code 내장 /goal(세션 범위 완료 조건 루프)과는 별개 메커니즘이다. 간단한 완료 조건 하나면 내장 /goal, PRD 기반 다항목·품질 게이트·팀원 재사용이 필요하면 이 스킬(autodev)을 사용한다.

핵심 원리

세션 시작 → PRD 읽기 → 다음 항목 처리 → 커밋 → 세션 종료
                                            Stop Hook 감지
                                        완료? → Yes → 종료
                                          ↓ No
                                   연속 프롬프트(reason) → 새 세션 시작
                                              PRD 읽기 → ...

Phase 0: 설정 수집

사용자에게 확인 (빠진 것만 질문):

yaml
goal: "무엇을 달성할 것인가"           # 예: "PRD.md의 모든 항목 완료"
prd: "PRD 또는 체크리스트 파일 경로"    # 예: "PRD.md" 또는 "tasks/todo.md"
scope: ["수정 가능한 파일 패턴"]        # 예: ["src/**", "tests/**"]
verify: "검증 명령어"                  # 예: "npm test" (자동 감지 가능)
max_iterations: 100                   # 최대 반복 수 (기본 100) — 사용자 확인 없이 50 초과 설정 금지
completion_promise: "DONE"            # 완료 시그널 (기본 "DONE")
mode: "continue"                      # continue | reset (기본 continue)

verify 자동 감지

사용자가 verify를 안 줬으면:

  1. package.jsonnpm test 또는 vitest run
  2. pyproject.tomlpytest
  3. Makefilemake test
  4. 없으면 → echo "no verify command"

Phase 1: 루프 초기화

bash
# 1. autodev 브랜치 생성
git checkout -b autodev/$(date +%Y%m%d-%H%M)

# 2. .ralph-loop/ 상태 디렉토리 생성
mkdir -p .ralph-loop

# 3. 상태 파일 초기화
# 주의: {max_iterations}, {goal} 등 플레이스홀더는 Phase 0에서 수집한 실제 값으로 치환한 후 실행할 것
cat > .ralph-loop/state.json << 'STATE'
{
  "active": true,
  "iteration": 0,
  "max_iterations": {max_iterations},
  "prompt": "{goal}",
  "completion_promise": "{completion_promise}",
  "prd_path": "{prd}",
  "verify_command": "{verify}",
  "started_at": "{ISO시간}",
  "status": "running"
}
STATE

# 4. .gitignore에 .ralph-loop/ 추가
echo ".ralph-loop/" >> .gitignore

# 5. 베이스라인 검증
{verify} 2>&1 | tee .ralph-loop/baseline.log

Phase 2: 반복 실행 (매 세션)

각 세션(반복)에서 수행하는 절차:

1. READ PRD
   - {prd} 파일을 읽는다
   - 미완료 항목([ ]) 중 첫 번째를 선택

2. PLAN
   - 선택한 항목을 구현하기 위한 최소 변경 계획
   - scope 내 파일만 수정 가능

3. IMPLEMENT
   - 계획대로 코드 수정
   - scope 밖 파일 절대 수정 금지

4. VERIFY
   - {verify} 실행
   - hooks/autodev-judge.sh가 존재하면 스코어 판정에 사용 (settings.json 미등록 훅 — 직접 bash 호출)
   - 실패 시 build-fix 1회 시도
   - 2회 실패 시 변경 롤백 (git checkout -- .)

5. COMMIT
   - 성공 시:
     git add -A
     git commit -m "[autodev] {항목 요약}"
   - PRD에서 해당 항목을 [x]로 체크

6. CHECK COMPLETION
   - PRD에 미완료 항목이 남아있는가?
   - Yes → 세션 자연 종료 (Stop Hook이 다음 반복 시작)
   - No → 모든 항목 완료!
     <promise>{completion_promise}</promise> 출력
     → Stop Hook이 감지하고 루프 종료

Phase 3: 완료 보고

루프 종료 시 (완료 또는 max_iterations 도달):

markdown
# AutoDev 완료 보고서

## 요약
- 총 반복: {N}회
- 완료 항목: {K}/{total}
- 베이스라인 → 최종: 검증 통과
- 상태: {completed | max_iterations_reached}

## 완료된 항목
| # | 항목 | 커밋 |
|---|------|------|
| 1 | API 엔드포인트 구현 | abc1234 |
| 2 | 인증 추가 | def5678 |

## 미완료 항목 (있으면)
- [ ] 항목 N: 이유

## 브랜치
autodev/{tag} — main 머지 준비 완료

안전장치

  1. scope 밖 수정 금지: scope에 명시된 파일/디렉토리만 수정
  2. 기존 테스트 보호: verify 실패 시 변경 롤백
  3. crash 복구 제한: build-fix 1회만. 2회 실패 시 해당 항목 스킵
  4. git 안전: autodev/ 브랜치에서만 작업. main 절대 안 건드림
  5. max_iterations: 무한 루프 방지 (기본 100. 사용자 확인 없이 50 초과 설정 금지)
  6. 비용 인식: 각 반복은 토큰 비용 발생. 반복 수를 합리적으로 설정

Stop Hook 동작

~/.claude/hooks/ralph-loop.sh가 세션 종료 시 실행:

  • .ralph-loop/state.jsonactivetrue이면 다음 반복 시작
  • 트랜스크립트에서 <promise>DONE</promise> 감지 시 루프 종료
  • iteration >= max_iterations 시 루프 종료
  • 상태가 없거나 active: false이면 아무 동작 없음

수동 제어

bash
# 루프 중지
python3 -c "import json; s=json.load(open('.ralph-loop/state.json')); s['active']=False; json.dump(s,open('.ralph-loop/state.json','w'))"

# 상태 확인
cat .ralph-loop/state.json

# 루프 재개
python3 -c "import json; s=json.load(open('.ralph-loop/state.json')); s['active']=True; json.dump(s,open('.ralph-loop/state.json','w'))"

기존 스킬 활용

상황사용 스킬
빌드 실패 시 복구build-fix
커밋 후 코드 정리simplify
테스트 기반 구현tdd
항목 구현 계획plan
최종 검증verify

Frequently asked questions

What does the Autodev AI skill do?

Ralph Loop 기반 자율 개발 루프. Stop Hook이 세션 종료를 가로채어 PRD 항목을 하나씩 완료하며 자동 커밋한다. 트리거: "autodev", "자율 개발", "밤새 돌려", "랄프 루프", "ralph loop", "자동 개발" 안티-트리거: "직접 구현해", "한번만 해", "수동"

Why use Autodev on TypingMind?

Because you install it once and use it with any model. Autodev is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Autodev in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jh941213/my-cc-harness/tree/main/skills/autodev. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Autodev?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Autodev?

As many as you like. As long as a model supports skills, you can use Autodev with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Autodev AI skill free?

It is published on GitHub by jh941213. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇