Skip to content
Back to skills

Create Issue

ASecurity

Write a new issue file in `issues/` with the repo's template (Goal, Findings, Approach, Resources, Hints) and validate it with a checker. Use when the user asks to create, open or file an issue, or when a smoke test, review or discussion leaves work worth tracking for later.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 27, 2026
developmentgogit

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add Electron-libre/cardinal --skill create-issue --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Issue?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Issue
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/electron-libre-create-issue/badge)](https://www.skillsdirectory.com/skills/electron-libre-create-issue)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-issue
description: Write a new issue file in `issues/` with the repo's template (Goal, Findings, Approach, Resources, Hints) and validate it with a checker. Use when the user asks to create, open or file an issue, or when a smoke test, review or discussion leaves work worth tracking for later.
---

# Create an issue

An issue is a Markdown file `issues/<snake_case_name>.md` that `skill:issue-workflow` can later pick up.
This skill writes it; `cardinal run check-issue` enforces the mechanical rules. Don't implement anything here.

## Procedure

1. **Check for duplicates**: `ls issues issues/done` and skim the titles close to the subject. If one already
   covers it, propose extending it instead of creating a new file.
2. **Gather the facts** from what was actually observed (logs, smoke runs, code for where a defect is, `git log`, the `roadmap` documents of `.claude/cardinal.toml`). Don't invent
   findings; if a fact is missing, say so in the issue or ask the user. An issue the agent files on its own from a
   review finding names its observed case in `# Findings` (a real input, a run, a report of the user, a measured
   cost): reading the code shows where a defect would be, not that it happens; with no such case, don't file it. An
   issue the user asked for or validated (`skill:audit-code`, `skill:audit-instructions`) needs no such case.
3. **Write the file** in English, with this template:

   ```markdown
   ---
   priority: <high | medium | low>
   depends_on: [<stem of an issue it needs>, ...]
   why: '<why this priority>'
   ---
   # <Title: what to achieve, imperative>

   # Goal
   <The problem and the expected outcome, in a few sentences.>

   # Findings (optional; for a smoke run: date, repo, model)
   * <Measured facts, not guesses.>

   # Approach
   <Measure first when the cause is unknown, then candidate solutions (numbered, can be combined).
   Propose, don't decide: decisions are made in `issue-workflow` steps 1 and 2.>

   # Specs (optional; when the issue changes what a capability does)
   * <`specs/<capability>.md` and the requirement ids (`ABC-n`) it creates or amends. A spec that does not exist
   yet is named here and written at `issue-workflow` step 1.>

   # Milestone (optional; when the roadmap has milestones)
   <The name of the milestone of the `roadmap` documents this issue serves.>

   # Resources
   * <Files, ADRs, docs, skills to read first.>

   # Hints (optional)
   * <Traps already met, constraints.>
   ```

   - No `# Tracking` section: the plan is written there by `issue-workflow`.
   - Size: estimate the changed lines and deliverables the Approach implies. Over the size limit of
     `skill:issue-workflow` step 1, propose the cuts to the user and, on their agreement, write one issue per cut
     instead (its `details.md`, "Split an issue"); steps 5 to 7 then cover all of them.
   - Confidentiality: follow the `confidential` note of `.claude/cardinal.toml` (what must not be named in an
     issue; describe it generically). No absolute or home paths.
4. **Validate**, and fix the file until it prints nothing:

   ```sh
   cardinal run check-issue issues/<name>.md
   ```

5. **Prioritize**: a new issue has a priority and maybe dependencies, written in its front matter at step 3
   (ADR 0021; omit `depends_on` when it needs no other issue; the `why` in single quotes, a `'` inside doubled; an
   issue the user defers takes `on_hold: '<reason>'`, which `next-issue` never offers).
   Run `cardinal run next-issue` and read the open issues of its milestone: `depends_on` names the open or closed issues
   it cannot start before (not a measure or a condition, which the `why` states); `priority` is `high` for what its
   milestone cannot do without, `low` for a comfort, `medium` otherwise, never `high` by reflex. Never edit another
   issue: when the new issue changes the case for others (one of them should now depend on it), say so and suggest
   `skill:prioritize-issues`. Say the priority, the dependencies and the reason to the user, who can change them.
   Then attach it to a milestone of the `roadmap` documents of `.claude/cardinal.toml`: add its link
   (relative to the roadmap file) under that milestone's issues, set a `shaped` milestone `in issues`, name it in
   the `# Milestone` section of the issue (the section `next-issue` orders it by); or tell the user it has none. An `idea`
   or `done` milestone takes an issue only on the user's agreement. Never create or reorder a milestone unasked: the
   milestones, their order and their states are the user's. Run `cardinal run check-issue` again and `cardinal run next-issue`,
   and check it lists the issue at its place with no problem reported.
6. **Commit**: commit the issue files alone (the new issue files and the roadmap file step 5 edited), added then named on
   the commit line (`git add <files>`, then `git commit -m <msg> -- <files>`), with
   `skill:commit-message`; other modified or staged files stay out of the commit. Two exceptions: an issue
   written inside another deliverable (a review finding) is committed with that deliverable, not on its own;
   when the roadmap file already held changes that are not this skill's, ask before committing.
7. **Deliver**: give the path, priority, dependencies, milestone, commit hash (if step 6 committed) and one line (no other recap), and
   offer to start `skill:issue-workflow` on it.

## Cut a shaped milestone into issues

When the user asks to turn a milestone of the roadmap into issues (its state `shaped`, or `idea` once its goal is
agreed): read its goal and why, then propose the issues that reach it, each sized under the limit of
`skill:issue-workflow` step 1, in the order of their dependencies, as a table `issue | what | estimated lines`.
On the user's agreement, write each with steps 1 to 5 (each names the milestone), then commit them together at
step 6.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.