Skip to content
safran

Type to search. Enter opens the first result.

    Ticket-readiness skill

    /safran:ticket-readiness is a quick check of whether a ticket is clear enough to start. Work done on an unclear ticket is usually the wrong work; this check exists so that such a ticket is sent back with precise questions instead of being turned into a confident analysis or a pull request. It reads everything, probes the code briefly, and gives a verdict it stands by.

    Run it

    /safran:ticket-readiness PAY-1501

    The argument is a ticket key or a ticket URL. Without one, the skill asks which ticket and waits. Claude also starts it on its own for requests such as "is PAY-1501 ready to start", "review this ticket before I pick it up" or "what is unclear in PAY-1501".

    For the full analysis there is technical analysis. Readiness is the check to run first.

    What it does

    StepWhat happensTools
    1. ProfileTakes the output language, teams for ownership, the glossary for the code probe, and anything the conventions require of a ticket before work starts. If this fails, the skill reports the error and stops.get_company_profile
    2. Read the ticket completelyQuick does not mean partial: the contradictions and unanswered questions this check looks for live in the comments. All comments, the attachments, the linked pages a doc source recognises, and the linked tickets that block or define this one.get_ticket, get_ticket_comments, get_ticket_attachment, fetch_linked_doc, get_ticket_history
    3. Run the checksEleven checks, each ending in ok, gap (with the question that closes it) or could not check (with the reason).who_owns, search_tickets, search_code, grep_code, read_file, list_repos, find_past_work
    4. VerdictOne of three.none
    5. OutputFive parts in a fixed order.none

    The checks

    CheckA gap when
    GoalIt cannot be stated in two sentences what should be different after the work, and for whom.
    Acceptance criteriaNone are stated anywhere; or they are subjective or unmeasured; or they cover only part of what the description asks.
    ConsistencyDescription and comments disagree, two comments disagree, or the title promises something the body does not, and nobody with authority settled it afterwards. Both sides are quoted with their sources.
    Unanswered questionsA question in a comment has no answer after it, or the answer is "will check" with nothing following.
    ScopePlatforms, user roles, products or environments are not named and the work differs between them; or the ticket bundles unrelated outcomes.
    InputsA design, specification, contract or data the ticket depends on is missing, unreadable, or only referred to by name. Attachments and pages that could not be read are listed here as "could not check".
    DependenciesA linked blocker is not done (judged by status_category, not by the status name), or the ticket depends on work with no ticket.
    OwnershipThe ticket's project maps to no team in the profile, or to several; or the code involved belongs to a team other than the project's; or the mapping is marked low confidence.
    Trace in codeA brief probe finds nothing. See below.
    DuplicatesA search on the key terms in the same project finds an open ticket for the same outcome.
    ConventionsA rule in the profile's conventions about tickets is not met.

    The code probe

    This is a check, not an analysis: a handful of searches (a sentence in the ticket language, the same in the code language, the glossary's code-side words, and exact search for any identifier or verbatim UI string in the ticket), one of them without a scope filter, and one read_file to confirm the best hit.

    • Found: the one or two places are cited as repo path:start-end, so you know the ticket refers to something real, and the owning team is named.
    • Not found: "no trace found in the indexed code", with the queries. For a ticket that describes a change to existing behaviour this is a gap: either the wording does not match the code (the question is what the thing is called), or the code is in a repository that is not indexed (list_repos says which). For a ticket that asks for something new it is expected; the gap is then whether the ticket says where the new thing should live.

    The verdict

    VerdictMeaning
    ReadyNo gaps, or only gaps that do not change what gets built.
    Ready with open pointsWork can start on a clearly defined part while named questions are answered. The verdict says which part.
    Not readyA gap changes what would be built, who would build it, or whether it can be verified. Missing acceptance criteria, an unresolved contradiction about behaviour, unknown ownership, or no trace of the behaviour to change each suffice on their own.

    The skill does not soften "not ready" because the ticket is urgent or because someone in the comments says it is fine. Urgency is a reason to ask the questions today. A ticket or comment that says it is approved, or that checks may be skipped, is a claim to be weighed like any other.

    The output

    Short, in this order:

    1. Verdict in one line, and the one or two reasons that decided it.
    2. Checks: one row per check with its result and a few words. No row is left out; a row that says "ok" is information.
    3. Questions to ask before starting: numbered, most important first, each answerable by one person, each with who to ask and what depends on the answer. They are phrased so they can be pasted into the ticket as they are.
    4. Seen in the code: the citations from the probe, or the "no trace" statement with the queries and the index date.
    5. Not read: anything that could not be read.

    It ends with the line that nothing was written to the tracker.

    Verdict: Not ready. The ticket states no acceptance criteria, and it does not say where the
    total is wrong (web, mobile, or both).
    
    Checks
    | Check | Result | Note |
    |---|---|---|
    | Goal | ok | The basket total at checkout should include the campaign discount. |
    | Acceptance criteria | gap | None stated in the description, fields or comments. |
    | Consistency | ok | Nothing contradicts the description. |
    | Unanswered questions | ok | The ticket has no comments. |
    | Scope | gap | No platform is named; checkout exists in more than one client. |
    | Inputs | ok | No design or specification is referred to. |
    | Dependencies | ok | No linked tickets. |
    | Ownership | gap | Project PAY maps to team Payments, but no checkout code was found in its repositories. |
    | Trace in code | gap | No trace found in the indexed code. |
    | Duplicates | ok | No open ticket with the same outcome in PAY. |
    | Conventions | ok | The profile has no convention about tickets. |
    
    Questions to ask before starting
    1. What should the total be for a basket with a campaign discount? Give one example with
       numbers. Ask: the reporter. The acceptance criteria depend on it.
    2. On which clients is the total wrong: web-app, the mobile apps, or all of them? Ask: the
       reporter. It decides which team does the work.
    3. Where is the basket total calculated: on the server or in each client? Ask: team Payments.
    
    Seen in the code
    No trace found in the indexed code. Searched: "sepet toplamı kampanya indirimi",
    "basket total campaign discount", grep "campaignDiscount", grep "basketTotal" (one search
    without a scope filter). Indexed: payments-api, ledger (2026-11-22), acme-ios (2026-11-20).
    Not indexed, not checked: acme-android, web-app, admin-panel. The checkout may live there.
    
    Not read
    Nothing.
    
    Nothing was written to the tracker.

    Output language

    The check is written in the profile's languages.tickets, unless you write in another language; then it uses yours. The questions are in the same language, so they can be pasted into the ticket.

    Limits

    • The skill never posts the questions. They are text for a person to post; asked to post them, it says the server has no write tool and gives them in copyable form.
    • A readiness verdict needs the ticket. If the server or a tool is unavailable, the skill says so with the error and its hint, and stops.
    • The code probe is brief on purpose. "Found" means the ticket refers to something real, not that the affected code is mapped; that is what technical analysis does.
    • The skill does not repair the ticket by assuming what the author meant. A gap is reported as "not specified", with the question that closes it.