मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)5.5k · #14774

build-iterated-agentic-loop

यह क्या करती है

यह स्किल एजेंट को GitHub रिपॉज़िटरी के भीतर बार-बार चलने वाला कोडिंग-एजेंट जॉब सेट अप करना सिखाती है। यह एक केंद्रित स्किल, एक वर्कफ़्लो फ़ाइल जो शेड्यूल या हाथ से चलती है, और एक मेमोरी फ़ाइल बनाती है जो स्थायी फ़ीडबैक रखती है।

कब इस्तेमाल करें

  • ✓जब टीम चाहती है कि सफ़ाई जैसा दोहराने योग्य कोड काम शेड्यूल पर अपने-आप चले।
  • ✓जब उपयोगकर्ता ऐसा GitHub Actions वर्कफ़्लो चाहता है जो कोडिंग एजेंट चलाए और पुल रिक्वेस्ट खोले।
  • ✓जब रिपो को ऐसी मेमोरी फ़ाइल चाहिए ताकि एजेंट रनों के बीच फ़ीडबैक साथ रखे।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/humanlayer/skills/blob/main/plugins/build-iterated-agentic-loop/skills/build-iterated-agentic-loop/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“एक साप्ताहिक GitHub Actions जॉब सेट कीजिए, जहाँ कोडिंग एजेंट बिना इस्तेमाल वाले imports हटाए और एक पुल रिक्वेस्ट खोले।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पहले रिपो के मौजूदा वर्कफ़्लो और पैकेज सेटअप पढ़ता है, फिर एक रिपो स्किल, एक वर्कफ़्लो और एक मेमोरी फ़ाइल लिखता है। हर वर्कफ़्लो अपनी पुल रिक्वेस्ट पर लेबल लगाता है, ताकि हर लूप में केवल एक PR खुला रहे।

तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल

क्या यह बहुत सारे पुल रिक्वेस्ट खोलेगी?

नहीं। स्किल कहती है कि हर वर्कफ़्लो अपनी पुल रिक्वेस्ट पर लेबल लगाता है, ताकि हर लूप में केवल एक PR खुला रहे।

मेमोरी फ़ाइल में क्या रहता है?

स्थायी फ़ीडबैक और दायरे की सीमाएँ, जो रनों के बीच साथ चलती हैं।

क्या कोई उदाहरण है जिसका पालन करूँ?

हाँ। स्किल 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
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

design-control-loop

5.5k

आपके एजेंट को आपसे सवाल पूछकर एक कंट्रोल लूप डिज़ाइन करने देती है, जो छोटे, समीक्षा योग्य बदलावों से कोडबेस को एक लक्ष्य की ओर ले जाए, फिर उसे शेड्यूल्ड वर्कफ़्लो के रूप में बनाती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

improve-claude-md

5.5k

आपके एजेंट को शर्तीय ब्लॉक के साथ CLAUDE.md फ़ाइल दोबारा लिखने देती है, ताकि ज़रूरी निर्देश तब माने जाएँ जब वे लागू हों, और बाकी रास्ते से हटे रहें।

AI और एजेंटप्रॉम्प्ट और LLM

rpi

5.5k

आपके एजेंट को किसी बदलाव पर शोध करने, उसका डिज़ाइन सोचने और उसे साफ़ चरणों में लागू करने देती है, हर चरण के लिए समीक्षा योग्य दस्तावेज़ के साथ।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

visual-pr

5.5k

आपके एजेंट को पुल रिक्वेस्ट का विवरण लिखने या अपडेट करने देती है, जो बताए कि बदलाव क्यों है और वह कैसे बना है, एक साफ़ टेम्पलेट और छोटी दृश्य रूपरेखा के साथ।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills