agentleFS
paullukicpaullukic/coograph/.github/skills/coograph-new-ticket/SKILL.md

coograph-new-ticket

Skill17 starsChanged 7 months agoMITView on GitHub

Start work on a new ticket. Runs pre-flight checks, investigates the codebase, and flows into OpenSpec proposal. Use when the user pastes a ticket, issue, or task description.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start work on a new ticket — run pre-flight, investigate, and propose a change.

    line 11
  2. Distinctive:

    Before doing anything else:

    line 17
  3. Distinctive:

    If the ticket is vague (no specific files, unclear deliverable, touches 3+ areas), note this — it affects Step 3.

    line 31
  4. Distinctive:

    Use code-graph tools (or fallback chain) to:

    line 35
  5. Distinctive:

    Read relevant source code to understand current behavior

    line 37
  6. Distinctive:

    Scope the investigation to the ticket: Don't audit the entire codebase.

    line 41
  7. Distinctive:

    If the ticket is vague or complex (identified in Step 2):

    line 43
  8. Distinctive:

    Ask the user focused clarifying questions (one at a time, with choices when possible)

    line 45
  9. Distinctive:

    Do NOT proceed to Step 4 until requirements are clear

    line 46
  10. Distinctive:

    If the ticket is specific and well-scoped:

    line 48
  11. Very specific:

    Read the models block in openspec/config.yaml.

    line 54
  12. Very specific:

    When it is unset, ask once, here, after investigation and before the proposal, because this is the first moment the shape of the work is …

    line 57
  13. Very specific:

    Write the answer to openspec/config.yaml as off, preset or per-task, and never ask again for this project whatever they say.

    line 64
  14. Distinctive:

    Ask exactly once. A second prompt in the same project is a bug, not a nudge.

    line 68
  15. Distinctive:

    Not checking for existing in-progress OpenSpecs

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Start work on a new ticket — run pre-flight, investigate, and propose a change.


Step 1: Pre-flight checks

Before doing anything else:

  1. Code-graph availability — call get_minimal_context with a one-line summary of the ticket. Record whether code-graph is available. If available, use it for ALL navigation in subsequent steps.
  2. Check for in-progress work — list openspec/changes/ (skip archive/). If an existing OpenSpec overlaps with this ticket, stop and ask: "There's an in-progress change <name> — is this ticket related, or should I start fresh?"
  3. Read conventions — read .github/copilot-instructions.md if not already loaded.

Step 2: Parse the ticket

Extract from the user's input:

  • Title/summary — one-line description
  • Requirements — what needs to be built or changed
  • Acceptance criteria — if provided
  • Linked references — URLs, ticket IDs, file paths mentioned

If the ticket is vague (no specific files, unclear deliverable, touches 3+ areas), note this — it affects Step 3.

Step 3: Investigate the codebase

Use code-graph tools (or fallback chain) to:

  1. Identify files and modules affected by the ticket
  2. Read relevant source code to understand current behavior
  3. Find existing patterns the implementation should follow
  4. Surface risks, dependencies, and integration points

Scope the investigation to the ticket. Don't audit the entire codebase.

If the ticket is vague or complex (identified in Step 2):

  • Run deeper investigation
  • Ask the user focused clarifying questions (one at a time, with choices when possible)
  • Do NOT proceed to Step 4 until requirements are clear

If the ticket is specific and well-scoped:

  • Investigation can be brief
  • Proceed directly to Step 4

Step 3b: Models, asked once

Read the models block in openspec/config.yaml. If mode is anything other than unset, skip this step entirely and never mention it.

When it is unset, ask once, here, after investigation and before the proposal, because this is the first moment the shape of the work is known:

Coograph can run each agent on a different model. explore reads a lot and decides little; debugger decides everything. Do you want one model for everything, a saved mapping, or to be asked per ticket?

Write the answer to openspec/config.yaml as off, preset or per-task, and never ask again for this project whatever they say. For preset or per-task, run the coograph-suggest-multi-models skill to produce the mapping.

Ask exactly once. A second prompt in the same project is a bug, not a nudge.

Step 4: Flow into OpenSpec proposal

Once investigation is complete and requirements are clear, invoke the coograph-propose skill to create the proposal.

Pass it a clear description synthesized from the ticket + your investigation findings.

Do NOT implement anything. The propose skill will create artifacts and wait for user approval.

Red Flags

  • Skipping pre-flight (especially code-graph check)
  • Starting to write code before proposing
  • Not checking for existing in-progress OpenSpecs
  • Using grep/glob when code-graph is available
  • Proceeding with vague requirements without asking clarifying questions

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.