본문으로 건너뛰기
Skillpedia
에이전트48k · #3709

ai-loop

하는 일

이 도구는 프로그래밍 작업을 명확한 단계, 즉 계획(사양), 구현, 검토로 나눕니다. AI가 지침을 정확히 따르도록 하며, 각 단계에서 결과를 점검하고, 중요한 행동에 대해서는 사용자의 승인을 요청합니다.

사용하는 경우

  • ✓계획에 따라 무언가를 처음부터 새로 만들고 싶을 때.
  • ✓작업을 명확한 규칙이 있는 더 작은 부분으로 나눠야 할 때.
  • ✓AI가 결과를 전달하기 전에 스스로 작업을 점검하기를 원하는 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ai-loop/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ai-loop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“숫자 목록의 평균을 계산하는 Python 함수를 만들고 싶습니다. 함수는 숫자가 아닌 값은 무시하고, 목록이 비어 있으면 0을 반환해야 합니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 먼저 사용자가 원하는 것을 이해합니다(사양). 그다음 그 사양에 따라 코드를 구현합니다. 마지막으로 모든 것이 올바른지 코드를 검토하며, 필요하면 과정을 반복합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

AI-Loop Skill

Overview

The ai-loop skill structures a bounded development cycle for agentic workflows. By dividing the process into distinct planning (Spec), implementation (Build), and validation (Review) phases, it helps an agent build and correct scoped code changes while keeping requirements, risk gates, and stop conditions explicit.

When to Use This Skill

  • Use when you need a feature built from scratch or heavily modified, and you want the agent to handle the lifecycle (specification, implementation, and verification) inside one clearly bounded workflow.
  • Use when working with isolated components, modules, or features that have well-defined scopes and constraints.
  • Use when the user asks for a complete development pass but the work still has clear success criteria, a reasonable verification path, and no unresolved safety or product decisions.

How It Works

This skill executes a controlled development loop composed of three phases: Spec, Build, and Review. When invoked, the agent moves through those phases until the scoped requirements pass verification, a stop condition is reached, or human approval is needed.

Before starting, define:

  • The maximum number of build-review iterations.
  • The verification commands or manual checks that count as evidence.
  • The actions that require explicit approval, such as destructive commands, production changes, external service writes, or broad architectural pivots.

Phase 1: Spec (Planning)

  1. Reuse the current request, accepted plan and existing artifacts. Ask only for essential missing scope or acceptance criteria; do not repeat answered questions.
  2. Do not start building yet.
  3. When you have enough information, use the existing specification or, when needed, save a scoped new one at specs/<feature-name>.md without overwriting user work.
  4. The spec must include:
    • The objective
    • The exact requirements
    • Edge cases to handle
    • A concrete definition of done that someone could check the build against
    • The iteration budget, verification commands, and approval gates.

Phase 2: Build (Implementation)

  1. Read the spec you just created in specs/<feature-name>.md.
  2. Build exactly what it describes.
  3. Do not add features, do not refactor unrelated code, and do not invent requirements that aren't in the spec.
  4. Focus strictly on fulfilling the spec. List which spec requirements you covered so the review step can check them.

Phase 3: Review (Verification)

  1. Compare your implementation against specs/<feature-name>.md.
  2. Go requirement by requirement and verify if it was met. List every gap, bug, or missing piece, naming the exact spec item each one fails.
  3. If anything fails and the iteration budget is not exhausted, write the specific fixes needed and loop back to Phase 2 (Build) to address them.
  4. Use the agreed iteration/resource limits and scope. Ask for material product or consequential authorization decisions that are not already resolved; routine repairs within the accepted outcome need no new checkpoint. Continue independent work when a dependent check is unavailable.
  5. Only pass the build and conclude the skill execution when every requirement in the spec is fully met and the declared verification evidence has passed.

Examples

Example 1: Creating a Basic Statistics Helper

User:

I want to add a utility for calculating basic statistics (mean, median, mode) of an array of numbers.

Agent (Phase 1 - Spec):

I can help with that. To get started, what programming language should this statistics calculator be implemented in? Also, how should empty arrays or invalid inputs be handled?

User:

JavaScript. If the array is empty, return null. If there are non-numbers, ignore them.

Agent (Phase 1 - Spec):

Thank you. I have created the specification file at specs/stats-calculator.md with the requirements we discussed. Now, I will start implementing it.

Agent (Phase 2 - Build):

(Creates stats_calculator.js and implements mean, median, and mode matching the spec exactly) I have finished implementing the calculator. I will now verify the implementation.

Agent (Phase 3 - Review):

Checking implementation against specs/stats-calculator.md:

  • Requirement: mean calculation -> PASS
  • Requirement: median calculation -> PASS
  • Requirement: mode calculation -> PASS
  • Requirement: empty array returns null -> PASS

…

자주 묻는 질문

'승인 게이트'란 무엇인가요?

AI가 위험한 일을 하기 전, 예를 들어 핵심 코드를 바꾸거나 데이터를 삭제하기 전에 멈추고 허락을 요청하는 순간입니다.

AI가 작업을 완료할 수 없으면 어떻게 되나요?

무엇이 빠졌고 왜 완료하지 못했는지 알려 줍니다. 사용자가 정한 한계(예: 시도 횟수)를 존중합니다.

AI가 모든 종류의 코드를 만들 수 있나요?

잘 정의되고 독립적인 작업에 가장 적합합니다. 아주 큰 변경이나 많은 시스템 부분에 영향을 주는 변경에는 최선의 도구가 아닐 수 있습니다.

상세 정보

작성자의 원본 설명

Runs a bounded spec-build-review development loop with explicit scope, stop conditions, and human approval gates for risky or ambiguous work.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#3709
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬