AGENT SKILL

file-followup-issue

Capture a real, net-positive bug or improvement you discovered that is OUT OF SCOPE for the current PR — the PR already closes its issue and is stable, and the new work is non-trivial (adds its own decisions, carries uncertainty, or widens blast radius beyond what the issue needed). Opens a GitHub issue with full context for a future session and does NOT touch the current PR. NOT for trivial in-scope fixes (just do those) or non-issues (dismiss those).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 2.1w
Forks
3.2k

01 前言 Front Matter

name
file-followup-issue
description
Capture a real, net-positive bug or improvement you discovered that is OUT OF SCOPE for the current PR — the PR already closes its issue and is stable, and the new work is non-trivial (adds its own decisions, carries uncertainty, or widens blast radius beyond what the issue needed). Opens a GitHub issue with full context for a future session and does NOT touch the current PR. NOT for trivial in-scope fixes (just do those) or non-issues (dismiss those).

03 SKILL.md 正文

File a follow-up issue

You discovered work that is real and worth doing, but doesn't belong in the current PR. Park it as a GitHub issue with enough context that a future session can pick it up cold and open its own PR — then get back to the current PR without touching it.

Gate — all three must hold

Only file an issue when all are true:

  1. The current PR is complete and stable — it closes its original issue; this discovery is not needed for that.
  2. The discovery is real and net-positive — a genuine bug or improvement, not a nitpick.
  3. It's non-trivial and out of scope — fixing it here would add its own design decisions, carry unresolved uncertainty, or widen the diff's blast radius past what the issue needed.

If a gate fails, do the alternative and stop — don't file:

  • Trivial and in-scope → just fix it in this PR.
  • In-scope but larger → it belongs in this PR's plan, not a new issue.
  • Not actually a real problem → drop it (or, if it's a review thread, dismiss it).

Steps

  1. Dedup. Search for an existing issue before creating:

    gh issue list --state all --search "<3-5 distinctive keywords>" --limit 20
    

    If a clear match exists, link to it instead of creating a duplicate — and skip to step 4 (log) referencing the existing issue. Preserve that issue's ownership and routing labels. Deduplication does not authorize a new route.

  2. Confirm before creating (outward action). Show the user the drafted title + body and get a yes.

  3. Create with the template below: Both title and body quote code and reviewer text, where $(...) and backticks would be expanded by the shell before gh ever runs. Write each to its own file with your editor tool, then load the title through cat — a shell variable's contents are not reparsed for substitution:

    title=$(cat <path to the title file you wrote>)
    gh issue create --title "$title" --body-file <path to the body file you wrote>
    

    Apply the maintainer routing mechanics for a maintainer's selected route.

  4. Log the deferral in pr-decisions.md so the current PR's reviewers see why this was parked rather than fixed: For a newly created maintainer issue, include the selected route and human owner (or no local owner) in the decision. Bind contributor-derived fields with quoted heredocs, as in adopt-pr. This also applies when deduplication skipped issue creation and Step 3 has no bound title. Never paste contributor text into double-quoted command arguments.

title=$(cat <<'EOF'
defer: <short title of discovery>
EOF
)
decision=$(cat <<'EOF'
Filed as #<N> instead of fixing here
EOF
)
why=$(cat <<'EOF'
Out of scope for this PR — <decisions / uncertainty / blast-radius, pick one>
EOF
)
source=$(cat <<'EOF'
<new issue URL>
EOF
)
.agents/skills/branch-context/append-pr-decision.sh \
  --title "$title" --decision "$decision" --why "$why" --source "$source"
  1. Report the issue URL. Do not expand the current PR — that's the whole point.

Maintainer routing mechanics

For issues filed on a maintainer's behalf, honor their chosen route; otherwise ask which route they want. Combine this choice with draft approval when both are needed. This routing also applies to non-follow-up issues. Confirm labels against the checked-in catalog before using them; a missing label fails the command.

  • General queue: create without --assignee or pydanty:skip, then run gh issue edit <issue-number> --add-label pydanty:triage-issue. This explicitly requests Pydanty triage, which team-authored issues otherwise skip.
  • Immediate work: create with --assignee <maintainer-login> --label pydanty:skip. Assign the human maintainer who owns the work. The label suppresses Pydanty triage and retry-pr triggers. Carry that ownership onto the PR using the PR skill.

Do not apply these maintainer routes for an external contributor. External contributors cannot apply repository labels, so leave their issues in normal triage.

Issue body template

## Background
<what we were doing and where this surfaced; link the originating PR>

## The problem
<the bug or improvement, concrete and specific>

## Why it's out of scope for the originating PR
<the specific reason: own design decisions, unresolved uncertainty, or blast radius>

## Where
- `path/to/file.py` — `Class.method`   <!-- filepath + symbol, no line numbers -->

## Suggested direction (low-confidence)
<optional starting point — mark clearly as a lead, not a decision. Omit if you have none.>

04 同仓库更多 Skills

pydantic
pydantic/pydantic-ai

migrating-agno-to-pydantic-ai

Migrate Python Agno applications to Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports `agno` or relies on Agno agents, teams, workflows, sessions, memory, knowledge, tools, hooks, guardrails, approvals, skills, streaming, or AgentOS.

★ 2.1w
pydantic
pydantic/pydantic-ai

reviewer

Review changes.

★ 2.1w
pydantic
pydantic/pydantic-ai

pydantic-ai-harness

Extend Pydantic AI agents with capabilities from pydantic-ai-harness -- the Coder coding agent, file and shell tools in local or sandboxed workspaces (Modal, E2B, Render, Sprites, Daytona, boxd, smolvm, BoxLite), Code Mode, sub-agents and planning, memory and skills, context compaction, guardrails and spend limits, web research and browsers, hosted SaaS integrations, step persistence, and background agents on Render Workflows. Use when the user mentions pydantic-ai-harness or pydantic_ai_harness, imports a harness capability such as Coder, CodeMode, FileSystem, Shell, SubAgents, Memory, or ToolGuardrail, or wants a Pydantic AI agent that edits files, runs commands or agent-written Python, delegates, remembers, manages long context, stays within limits, or runs model and tool operations as chained Render task runs.

资料检索与研究Skill与智能体开发
★ 2.1w
pydantic
pydantic/pydantic-ai

migrating-deep-agents-to-pydantic-ai-harness

Migrate Python LangChain Deep Agents applications to Pydantic AI and Pydantic AI Harness. Use when the source uses the upstream `deepagents` package or demonstrably reproduces its middleware, backends, skills, memory, subagents, or sandbox contracts. Use `migrating-langchain-to-pydantic-ai` for plain LangChain, LangGraph, or LCEL migrations and `pydantic-ai-harness` for greenfield Harness usage.

★ 2.1w
pydantic
pydantic/pydantic-ai

migrating-vercel-ai-sdk-and-eve-to-pydantic-ai

Migrate TypeScript Vercel AI SDK or Eve applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports `ai`, `@ai-sdk/*`, or `eve`, or relies on `generateText`, `streamText`, `ToolLoopAgent`, `useChat`, Eve agents, tools, skills, subagents, approvals, sessions, channels, schedules, or sandboxes.

★ 2.1w
pydantic
pydantic/pydantic-ai

migrating-pi-to-pydantic-ai

Migrate TypeScript Pi coding-agent applications, extensions, or packages to Python with Pydantic AI and Pydantic AI Harness. Use when source code imports `@earendil-works/pi-*`, calls `createAgentSession`, registers Pi extensions, or relies on Pi tools, hooks, skills, sessions, compaction, providers, TUI, RPC, or packages.

★ 2.1w