create-repo-agent

द्वारा langfuse

लैंगफ्यूज़ रिपॉजिटरी के स्वायत्त एजेंटों, विशेष रूप से GitHub Actions जो Claude, Codex, या… को आमंत्रित करते हैं, को डिज़ाइन, कार्यान्वित, समीक्षा या सुरक्षित करते समय उपयोग करें।

npx skills add https://github.com/langfuse/langfuse --skill create-repo-agent

Create Repo Agent

Purpose

Build repo agents that can run unattended without granting the model broad write credentials, arbitrary shell, or uncontrolled network access. The default architecture is a read-only audit job that produces a validated patch artifact plus a separate publisher job that owns GitHub writes.

Use this skill together with the domain skill for the files the agent will maintain. For example, a pricing agent must also use add-model-price.

Required Reading

For every repo agent task, read these references before designing or editing:

  1. references/security-standards.md
  2. references/workflow-blueprint.md when implementing or changing a GitHub Actions workflow
  3. references/review-checklist.md before final review or PR publication

Workflow

  1. Define the exact maintenance objective, allowed files, external sources, expected no-change behavior, and PR ownership.
  2. Choose the least-capable runtime: prefer a scheduled/manual GitHub Action with read-only repository checkout and no write credentials in the LLM step.
  3. Encode the prompt with explicit allowed edit surfaces, hard constraints, source-evidence requirements, and structured output.
  4. Give the agent only scoped file tools, domain-scoped fetch tools, and exact deterministic validator commands.
  5. Validate the diff independently of the agent, including untracked files, path allowlists, git diff --check, line-count limits, and domain-specific validators.
  6. Publish from a separate job or step after validation, using a bot credential only for branch push and PR create/update.
  7. If self-improvement is allowed, constrain it to named workflow or skill-reference files and require security invariants to remain unchanged.
  8. Run agent setup checks when .agents/** changes, then publish a normal human-reviewable PR.

Non-Negotiables

  • Never expose a write-capable GitHub token, PAT, GitHub App token, OIDC token, SSH key, cloud credential, or package-publishing token to the LLM agent step.
  • Never rely on prompt instructions as the only security boundary. Enforce file and command limits outside the agent.
  • Never stage a directory wholesale. Stage only the validated file list.
  • Never ignore untracked files in diff validation.
  • Never let self-improvement bypass the same diff allowlist and human PR review as normal edits.
  • Never grant arbitrary Bash, curl, wget, gh, git push, package-manager, interpreter, environment-dump, or process-inspection tools to the LLM agent.
  • Never add id-token: write unless the agent truly needs OIDC and the trust relationship is reviewed explicitly.

langfuse की और Skills

clickhouse-best-practices
langfuse
ClickHouse स्कीमा, क्वेरी या कॉन्फ़िगरेशन की समीक्षा करते समय अनिवार्य रूप से उपयोग करें। इसमें 28 नियम शामिल हैं जिन्हें सिफारिशें देने से पहले जांचना अनिवार्य है। हमेशा पढ़ें…
official
skill-creator
langfuse
प्रभावी कौशल बनाने के लिए मार्गदर्शिका। इस कौशल का उपयोग तब किया जाना चाहिए जब उपयोगकर्ता एक नया कौशल बनाना (या मौजूदा कौशल को अपडेट करना) चाहते हैं जो Claude की क्षमताओं को बढ़ाता है…
official
vercel-react-best-practices
langfuse
React और Next.js प्रदर्शन अनुकूलन दिशानिर्देश Vercel Engineering से। इस कौशल का उपयोग React/Next.js को लिखने, समीक्षा करने या रीफैक्टर करते समय किया जाना चाहिए…
official
add-model-price
langfuse
Use when editing worker/src/constants/default-model-prices.json, packages/shared/src/server/llm/types.ts, pricing tiers, tokenizer IDs, or matchPattern regexes…
official
analyze-cloud-costs
langfuse
Langfuse Cloud अवसंरचना लागत संरचना का विश्लेषण Metabase लागत मार्ट्स का उपयोग करके करें। क्लाउड खर्च, AWS बनाम ClickHouse लागत विभाजन, लागत… के बारे में पूछे जाने पर उपयोग करें।
official
backend-dev-guidelines
langfuse
Build or review Langfuse backend code. Use for tRPC routers, public REST APIs, BullMQ processors, services, middleware, Prisma or ClickHouse access,…
official
clickhouse-best-practices
langfuse
MUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 28 rules that MUST be checked before providing recommendations. Always read…
official
code-review
langfuse
Review Langfuse code changes for correctness, regressions, and best practices.
official