sii: Command for Claude Code

.claude/commands/issue-new.md

issue-new is a command for Claude Code from albertomarturelo/sii. It costs 0 tokens per session (809 once invoked), scanned A, original, MIT.

A guided form for creating a complete unit of work in GitHub Issues, which are shared records of bugs, features, chores, documentation, or research tasks. It uses a fixed structure covering the title, context, files, references, architecture decisions, and completion checks.

In plain words
What is it for?
Use it to write self-contained GitHub issues with clear scope, affected code locations, required prior decisions, and checkboxes describing what must work when the task is finished.
Why use it?
It turns a rough request into an issue another developer can understand and start without repeatedly asking for missing details.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is albertomarturelo/sii's own configuration. It tells Claude Code how to work on sii itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sii configures →

Reuse

Borrowing it

Nothing to install: this file belongs to albertomarturelo/sii. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/albertomarturelo/sii/main/.claude/commands/issue-new.md
Clone the repo
git clone --depth 1 https://github.com/albertomarturelo/sii

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for issue-new

README.md
[![agentmods](https://agentmods.dev/badge/commands/albertomarturelo/sii/issue-new.svg)](https://agentmods.dev/commands/albertomarturelo/sii/issue-new)
Your own site
<a href="https://agentmods.dev/commands/albertomarturelo/sii/issue-new"><img src="https://agentmods.dev/badge/commands/albertomarturelo/sii/issue-new.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 809 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00809
Opus 5 $0.00000 $0.00404
Sonnet 5 $0.00000 $0.00162
Haiku 4.5 $0.00000 $0.00081

Measured yesterday against content hash 5402c1758c6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

issue-new scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/issue-new.md · 76 lines

What it actually says

Guide the user through creating a new GitHub issue on albertomarturelo/sii using the fixed 6-section body template. Ask, in order, and confirm each answer before moving on:

  1. Type. feature | fix | chore | docs | spike
  2. Title. Imperative mood, ≤80 chars, English. e.g. "Add rut parser + Mod-11 DV to @albertomarturelo/sii-core".
  3. Context. 2–4 sentences: what is the trigger, what is the user-visible outcome.
  4. Target location. Concrete paths. For net-new, name the package + file (e.g. packages/core/src/rut.ts — new file).
  5. Reference pattern. An existing file/module to mirror in shape, naming, and conventions. Skip ONLY if no analog exists; flag it.
  6. ADRs to load. ADR numbers the agent must read before starting. At minimum the architectural ones the change touches: ADR-003 for anything crossing the core boundary / ports, ADR-004 for any SII domain code, ADR-005 for identity/operate, ADR-006 for auth. If a needed decision isn't an ADR yet, STOP and run /decision:new first.
  7. Acceptance criteria (DoD). Bulleted markdown [ ] items. Include all three of:
    • Behavior — what works at the end (concrete CLI/MCP/plugin output or @albertomarturelo/sii-core API).
    • Tests — what tests exist (<module>.test.ts, vitest); state explicitly that fixtures are synthetic (no real PII).
    • Documentation — which of CONVENTIONS.md, STACK.md, ARCHITECTURE.md, ROADMAP.md, a sii-contract/*.md, or a new ADR is updated.
  8. Reproduction steps. ONLY for fix. Minimal repro to confirm the bug (state whether the session was cached or fresh for SII bugs).
  9. Estimated sessions. 1 | 2–3 | 4+. If > 1, propose decomposition into sub-issues before continuing.
  10. Labels. Type label + scope labels (core, cli, mcp, auth, portal, identity, docs, tests).

Then generate the body using the fixed template (do NOT deviate from section order or names — /issue:start parses by section header):

## Context
<step 3>

## Target
- Files / dirs: <step 4>
- Pattern to mirror: <step 5>

## ADRs to load
- ADR-NNN

## Acceptance criteria
- [ ] <step 7>

## Reproduction (fixes only)
<step 8 — OR omit this section entirely if not a fix>

## Estimated sessions
<step 9>

Then run:

gh issue create --repo albertomarturelo/sii \
  --title "<step 2>" --body "<body above>" \
  --label "<step 1>,<step 10 scopes>"

Output the issue URL when done. English only.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 5402c1758c6c
  2. 6d ago First seen · 76 lines · 0 tokens per session scan A fb965fb0d886

Subscribe to this mod's changes

issue-new is a command published in the GitHub repository albertomarturelo/sii (5 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 809 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.