agentleFS
haoxiang-xuhaoxiang-xu/PuPu/.agents/skills/issue-draft-ticket/SKILL.md

issue-draft-ticket

Skill36 starsChanged 37 days agoApache-2.0View on GitHub

Use when the project owner dictates new PuPu work that should become a GitHub Project release sub-issue — during release-open-sprint or mid-release \"开个票\", \"draft a ticket for X\", \"把这个记到 board 上\". Opens a draft direction; the implementing agent may later refine the same issue.

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Plumbing: follow the shared board rules for preflight, dynamic IDs, labels, Project fields, and sub-issue operations.

    line 13
  2. Distinctive:

    Never use Size=Release for a delivery issue.

    line 47
  3. Very specific:

    Create the issue, add it to PUPU Project, set Size and Status, attach it as the parent's direct sub-issue, then read back both the Project …

    line 57
  4. Distinctive:

    Do not open the codebase, run GitNexus, verify feasibility, name files, or sketch implementation.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Issue: Draft Ticket

Turn one sentence from the project owner into one outline-level GitHub issue. A draft is a placeholder for direction, not a spec. For release work, it must become a direct sub-issue of one open Size=Release parent in PUPU Project. Do not write a sprint document.

Plumbing: follow the shared board rules for preflight, dynamic IDs, labels, Project fields, and sub-issue operations.

Target release

Resolve the target Release parent before drafting. When exactly one open parent is in scope, use it; when none or several exist, ask the project owner. Do not add scope to a parent in In Review unless the project owner explicitly reopens it and returns it to In Progress.

What a draft IS

The English issue body has exactly this shape:

> [DRAFT — intent only. The agent responsible for implementation may refine this ticket directly.]

**What & Why** — {2-4 sentences: the direction and the user value. The project owner's intent, not a solution.}

**Acceptance (outline)**
- {≤3 outcome-level bullets — what must be observably true when done}

A draft is deliberately editable. The agent actively implementing the ticket may refine this same issue's body before or during implementation; it does not need a separate refiner or per-edit project owner approval while it preserves the stated outcome and release scope. GitHub assignee alone does not establish that responsibility. See issue-refine-ticket for the recommended investigation and body shape.

The title is English. Classify the work correctly: every new user-facing capability must carry the new feature label; bugs carry bug; other work uses the nearest existing type label. An area label such as UI or MISO may accompany the type label. Estimate Size as XS through XL and set Project Status=Planning. Never use Size=Release for a delivery issue. Iterations is optional schedule metadata and is not copied or inferred from the parent.

Flow

  1. Resolve the release parent, then frame title and body from the project owner's words. Ambiguous intent permits one question at most.
  2. Show title, body, label, Size, and parent inline. Standalone use files after the project owner nods. Inside open-release Act 4, the project owner's specific scope call authorizes immediate filing; batch-review at the act's end.
  3. Create the issue, add it to PUPU Project, set Size and Status, attach it as the parent's direct sub-issue, then read back both the Project item and parent relation.
  4. Each GitHub call is non-transactional. If any step fails, STOP and report the exact remote state; do not claim all-or-none, create a document mirror, or silently reparent an existing child.

What a draft is NOT

Do not open the codebase, run GitNexus, verify feasibility, name files, or sketch implementation. If acceptance cannot be stated without research, write the project owner's intent as acceptance and move on.

Common mistakes

  • Investigating code to write better acceptance; that is refine scope creep.
  • Inventing a label; use the closed set or regular.
  • Treating Iterations as proof that an issue belongs to a Release.
  • Filing a delivery ticket without a direct Release parent.
  • Polishing past four What & Why sentences or three acceptance bullets.
  • Treating the initial DRAFT body as immutable or requiring a different agent to refine an issue that the implementation agent owns.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.