본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)5.5k · #14774

build-iterated-agentic-loop

하는 일

이 스킬은 GitHub 저장소 안에서 반복되는 코딩 에이전트 작업을 설정하는 방법을 에이전트에게 가르칩니다. 집중된 스킬, 일정 또는 수동으로 실행되는 워크플로 파일, 지속적인 피드백을 유지하는 메모리 파일을 만듭니다.

사용하는 경우

  • ✓정리 같은 반복 코딩 작업을 팀이 일정에 따라 자동으로 실행하고 싶을 때.
  • ✓코딩 에이전트를 실행하고 풀 리퀘스트를 열 GitHub Actions 워크플로를 원할 때.
  • ✓에이전트 실행 사이에 피드백이 이어지도록 저장소에 메모리 파일이 필요할 때.

스킬 링크

https://github.com/humanlayer/skills/blob/main/plugins/build-iterated-agentic-loop/skills/build-iterated-agentic-loop/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/humanlayer/skills/blob/main/plugins/build-iterated-agentic-loop/skills/build-iterated-agentic-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에게 요청하는 예시

“매주 실행되는 GitHub Actions 작업을 설정해 주세요. 코딩 에이전트가 사용하지 않는 import를 제거하고 풀 리퀘스트를 하나 열게 해 주세요.”

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

작동 방식

에이전트는 먼저 저장소의 기존 워크플로와 패키지 설정을 읽고, 저장소 스킬, 워크플로, 메모리 파일을 씁니다. 각 워크플로는 풀 리퀘스트에 라벨을 붙여 루프마다 하나만 열린 상태로 유지합니다.

기술 내용 (원본 SKILL.md)

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

Build Iterated Agentic Loop

Use this skill when the user wants to turn a repeatable agent task into a repo-local skill plus a GitHub Actions workflow that runs a coding agent on a schedule, manually, or both.

The target shape is an iterated agentic loop: a focused skill defines the agent's judgement, a workflow invokes a coding agent with a repo-specific prompt, an agent-memory file carries standing feedback between runs, and each workflow labels its PRs so only one open PR exists per loop. The narrow-react-prop-types skill is the concrete reference pattern.

Outputs

Create or update these files in the target repo:

  • .claude/skills/<skill-name>/SKILL.md for the repo-local agent behavior.
  • .github/workflows/agent-<task-name>.yml for the recurring coding-agent automation.
  • .github/agent-memory/<task-name>.md for stable feedback and scope constraints.
  • Optional references under .claude/skills/<skill-name>/references/ when the skill needs templates, examples, or long supporting material.

Workflow

1. Explore the target repo

Read before asking setup questions:

  • Existing .github/workflows/*.yml and .github/actions/** to understand runner, checkout, dependency install, cache, and PR patterns.
  • Package manager files such as package.json, bun.lock, pnpm-lock.yaml, yarn.lock, package-lock.json, pyproject.toml, go.mod, or Cargo.toml, or other package management-related files
  • Existing validation scripts, especially typecheck, lint, test, quality, format, and package-scoped commands.
  • Existing .claude/skills and .agents/skills to avoid duplicating conventions.

Completion criterion: you can name the repo's package manager, install command, likely validation commands, and existing workflow conventions.

2. Ask setup questions

Walk the user through these decisions. Recommend defaults from repo evidence instead of presenting a blank form.

  1. Coding Agent: Claude Code, Codex, OpenCode, or CodeLayer. Explain the required secret and headless command for the recommended choice. Use references/agent-runner-templates.md. CodeLayer is Humanlayer's ultra-lightweight agent harness.
  2. Cadence: daily, weekly, weekdays, monthly, manual-only, or custom cron. Recommend a cadence based on task risk and review burden - most likely weekdays, daily, or weekly.
  3. Task: What task should the agent loop accomplish?
  • Are there existing skills for doing this? (you can do research before asking the user this)
  • Ask the user if you should look at recent PRs, git history, or other particular parts of the codebase for reference.
  1. Scope: which directories/packages the loop may change and which it may only inspect
  2. Validation: which commands must pass before the agent commits (You should propose this to the user based on your earlier research and ask them to confirm)
  3. PR bounding: Ask if scheduled runs should no-op when open PRs from this agent already exist, and if so, how many open PRs to allow before blocking new runs.
  • Recommended: Yes, bound to 1 open PR per agent loop. This prevents the agent from creating unbounded work that piles up faster than humans can review. Without bounding, a daily agent could generate 5+ unreviewed PRs in a week, creating review fatigue and merge conflicts.
  • The workflow uses a label (e.g., agent-<task-slug>) to identify PRs from each agent loop. Scheduled runs check gh pr list --label <label> --state open and skip if the count meets or exceeds the bound.
  • Manual workflow_dispatch runs bypass the bound check, allowing forced runs when needed.
  1. PR metadata: label name, PR title prefix, and branch prefix.
  • Suggest [MM/DD][Agent: <Agent Name>]: <Concise Description> as a template, e.g. [6/23][Agent: Effect Migrator]: Migrate XYZ module
  1. Response format: How should the CI agent format its final response (which becomes the PR body)?
  • Show the user references/response-template.md for examples (fix/migration, generation, refactor).
  • Ask what information reviewers need: summary stats, risk levels, verification steps, file lists, etc.
  • Create a customized response template that the generated skill will reference in its references/ directory
  1. Iteration behavior: whether /iterate comments should update the existing PR.
  • If enabled, install references/agent-iteration.ts to the repo. Ask the user's preferred location: .github/scripts/, ci-scripts/, or scripts/.
  • The
자주 묻는 질문

풀 리퀘스트가 많이 열리나요?

아니요. 스킬은 각 워크플로가 풀 리퀘스트에 라벨을 붙여 루프마다 하나만 열린 상태로 유지한다고 설명합니다.

메모리 파일에는 무엇이 들어가나요?

실행 사이에 이어지는 안정적인 피드백과 범위 제한입니다.

참고할 예시가 있나요?

네. 스킬은 narrow-react-prop-types를 구체적인 참고 패턴으로 제시합니다.

상세 정보

작성자의 원본 설명

build a repo-local skill and install a matching iterated coding-agent GitHub Actions workflow, prompt, memory file, and reference templates

repo: humanlayer/skills

인기도

GitHub 스타
5.5k
순위
#14774
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬