pantoum: Skill for Claude Code

.claude/skills/pantoum-conventions/SKILL.md

pantoum-conventions is a skill for Claude Code from pantoum-spfx/pantoum. It costs 9 tokens per session (457 once invoked), scanned A, original, MIT.

A set of working rules for the PANTOUM codebase, covering prompt templates, the Claude Agent SDK, default settings, and required safety checks.

In plain words
What is it for?
Use it when changing templates, upgrading the agent software, adding defaults, or making other non-trivial changes in the PANTOUM project.
Why use it?
It helps coding agents avoid changes that could alter generated behavior, break defaults, or go untested against real SharePoint Framework projects. PANTOUM is the name of the codebase, and SPFx is Microsoft's framework for building SharePoint extensions.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

This is pantoum-spfx/pantoum's own configuration. It tells Claude Code how to work on pantoum 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 pantoum configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pantoum-spfx/pantoum. 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/pantoum-spfx/pantoum/main/.claude/skills/pantoum-conventions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pantoum-spfx/pantoum

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 pantoum-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/pantoum-spfx/pantoum/pantoum-conventions/github.svg)](https://agentmods.dev/skills/pantoum-spfx/pantoum/pantoum-conventions)
Your own site
<a href="https://agentmods.dev/skills/pantoum-spfx/pantoum/pantoum-conventions"><img src="https://agentmods.dev/badge/skills/pantoum-spfx/pantoum/pantoum-conventions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pantoum-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantoum-spfx/pantoum/pantoum-conventions"><img src="https://agentmods.dev/badge/skills/pantoum-spfx/pantoum/pantoum-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 457 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00009 $0.00457
Opus 5 $0.00005 $0.00229
Sonnet 5 $0.00002 $0.00091
Haiku 4.5 $0.00001 $0.00046

Measured 12d ago against content hash c0e49e82af60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pantoum-conventions scanned grade A with 1 finding 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 12d ago.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Use `child_process.execSync` for commands, not shell-specific syntax
.claude/skills/pantoum-conventions/SKILL.md · 54 lines

What it actually says

PANTOUM Conventions

These conventions are automatically applied when working in the PANTOUM codebase.

Template Safety

All AI prompts live in src/templates/*.md. Changes to templates affect how Claude Code interacts with user codebases during upgrades.

Rules:

  • Any change to a template file requires re-testing against the PuntoBello suite of SPFx solutions
  • Do not hardcode prompts in source code — use the template system
  • Templates use Mustache-style substitution ({{variable}}) and conditional blocks ({{#if condition}}...{{/if}})

SDK Caution

The Claude Agent SDK (@anthropic-ai/claude-agent-sdk) is a critical dependency. Version changes can alter AI behavior during upgrades.

Rules:

  • Do not upgrade the Agent SDK without testing against real SPFx solutions
  • Document any SDK version changes in commit messages
  • If upgrading, verify that metrics tracking (tokens, cost, tools) still works correctly

Defaults Source of Truth

src/defaults.ts is the single source of truth for all default values.

Rules:

  • Never define default values in src/cli.ts or other files
  • All files that need defaults must import from src/defaults.ts
  • When adding a new setting, add the default in src/defaults.ts first

Cross-Platform Scripts

All scripts must work on Windows, macOS, and Linux.

Rules:

  • Use Node.js (#!/usr/bin/env node) for scripts, not bash or PowerShell
  • Use path.join() for paths, not hardcoded separators
  • Use child_process.execSync for commands, not shell-specific syntax
  • Exception: scripts/sync-to-public.sh is bash (only runs on dev machine)

Security

Rules:

  • No web browsing in AI prompts — all migration instructions must be self-contained
  • WebFetch and WebSearch tools are intentionally removed from the adapter
  • Never include API keys, tokens, or credentials in templates or committed files
  • Sanitize user input at system boundaries
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. 12d ago First seen · 54 lines · 9 tokens per session scan A c0e49e82af60

Subscribe to this mod's changes

pantoum-conventions is a skill published in the GitHub repository pantoum-spfx/pantoum (5 stars, last pushed 15d ago), licensed MIT. It adds 9 tokens to every session and 457 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

lead-bug-hunt

Autonomous bug-elimination loop. Iteratively invokes /bug-hunt and /implement-batch until findings converge below an operator-specified severity floor. At termination, runs /review-test scoped to the run's new reproducing tests and fixes quality issues above the floor. Auto-approves /bug-hunt and /review-test ticket…

chrisallenlane/claude-swe-workflows · 104 tokens

lead-project

Autonomous technical lead. Takes commander's intent and drives a project to completion through an OODA loop over implementation, refactoring, review, and bug-hunting skills. Has broad authority — creates tickets, commits, invokes any skill — and only escalates via andon cord for irreversible actions, public releases…

chrisallenlane/claude-swe-workflows · 82 tokens

implement-project

Full-lifecycle project workflow. Takes batched tickets, implements via /implement-batch, runs smoke tests, then executes a comprehensive quality pipeline (refactor, review-arch, review-test, tidy-docs, review-release). Maximizes autonomy with andon cord escape.

chrisallenlane/claude-swe-workflows · 58 tokens

lead-refactor

Autonomous comprehensive refactoring. Three-phase pipeline — Phase 1 /refactor (tactical, loops internally to convergence) → Phase 2 loop of /review-arch + /implement-batch until architectural findings converge below a severity floor (default HIGH+) → Phase 3 /refactor (catches tactical issues introduced by…

chrisallenlane/claude-swe-workflows · 112 tokens

lead-review

Autonomous comprehensive review. Once-through pipeline over /review-health, /review-arch, /review-security, /review-perf, /review-a11y, /review-test, /review-release. Operator-configurable ticket creation at startup — when ON, auto-approves sub-skill ticket proposals per the orchestrator-family contract; when OFF…

chrisallenlane/claude-swe-workflows · 115 tokens

release

Cuts a project release. Discovers the project's release procedure (Makefile target, RELEASING.md, CI workflow, etc.) and offers to capture it durably if missing. Always invokes /review-release as preflight, proposes a version bump from CHANGELOG, then presents an exact command plan for operator confirmation before…

chrisallenlane/claude-swe-workflows · 81 tokens