Index of every page on this site: llms.txt
All skills
ehnruiz avatar

/ticket-trim

@aaa4d45
Run it yourself

Shorten an existing ticket that is too long or too technical, moving the engineering detail into a Technical notes comment so nothing is lost. Use when the user gives a ticket key or link and asks to trim, condense, simplify or clean it up, or says a product owner or analyst found it hard to read.

Use this Skill: https://skilld.dev/gh/ehnruiz/claude-skills/ticket-trim

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈78 tokens for metadata: the name and description. ≈525 when used: this file.

Description uses 3.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈312 characters, or 3.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Ticket trim

Reshape one existing ticket to the ticket-write shape: a short plain-language description, the detail in a Technical notes comment. The budgets, the templates and the lint script are in the ticket-write skill's folder.

Steps

  1. Read the ticket in full, with its comments and any acceptance-criteria field. Note its type, its reporter, and whether it has images, mentions or checklists, which must survive the rewrite. If someone else reported it, say so before changing anything.

  2. Sort every sentence.

    • Keep: the effect, why it matters, outcomes someone can check, scope, links. These become the new description.
    • Move: root causes, file paths, function names, config keys, phased plans, verification steps. These become the technical notes.
    • Link out: anything that is really a document, such as a multi-phase plan with a decision log. Do this only with the user's agreement, since it creates a page.

    Rewrite acceptance criteria that name an implementation ("retry with backoff") as the outcome ("a short outage shows no error to visitors"). Keep a long criterion when it is long because it is precise.

  3. Lint the new description with ../ticket-write/scripts/ticket_lint.py.

  4. Show before and after: the numbers on one line ("612 → 131 words, identifiers 40 → 1, criteria 9 → 4"), the new description, and the technical notes. Editing notifies watchers, so wait for a go-ahead.

  5. Apply, in this order:

    1. Post a comment titled Original text (before trim) containing the old description and any rich-text field you will change, word for word. Some trackers keep no history for custom fields, which would make this comment the only copy. If such a comment already exists from an earlier trim, leave it.
    2. Post or update the Technical notes comment.
    3. Replace the description, and the title if it was over 80 characters.
    4. Report the key and the numbers, and point to the original-text comment as the way back.

Leave tickets that are already done or closed alone; nobody is left to read them.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill is designed to process and modify ticket data which is inherently untrusted, making it susceptible to indirect prompt injection. It also executes a local script for content validation.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 1 issue

Signed by skilld at aaa4d45. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 6 days ago.

Activeupdated last month

README badge

README badge for ehnruiz/claude-skills/ticket-trim