fsl: Skill for Claude Code

.claude/skills/add-language-feature/SKILL.md

add-language-feature is a skill for Claude Code from ymm-oss/fsl. It costs 39 tokens per session (537 once invoked), scanned A, original, Apache-2.0.

A workflow for adding a native language feature to the Rust-based FSL project, including its parser, behavior, documentation, and tests.

In plain words
What is it for?
Use it to classify the change, update the relevant Rust components and documentation, add regression evidence, and record a changelog entry.
Why use it?
It helps keep every part of a language change aligned instead of updating only the visible syntax.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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

View source ↗ ymm-oss/fsl
Reuse

Borrowing it

Nothing to install: this file belongs to ymm-oss/fsl. 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/ymm-oss/fsl/main/.claude/skills/add-language-feature/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ymm-oss/fsl

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 add-language-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/ymm-oss/fsl/add-language-feature/github.svg)](https://agentmods.dev/skills/ymm-oss/fsl/add-language-feature)
Your own site
<a href="https://agentmods.dev/skills/ymm-oss/fsl/add-language-feature"><img src="https://agentmods.dev/badge/skills/ymm-oss/fsl/add-language-feature/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 add-language-feature

Your own site · 80×15
<a href="https://agentmods.dev/skills/ymm-oss/fsl/add-language-feature"><img src="https://agentmods.dev/badge/skills/ymm-oss/fsl/add-language-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00537
Opus 5.5 $0.00016 $0.00215
Sonnet 5.5 $0.00008 $0.00107
Haiku 4.5 $0.00004 $0.00054

Measured 1mo ago against content hash 1d5355062dc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-language-feature 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 1mo 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.

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/skills/add-language-feature/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add a native FSL language feature

The Rust workspace is authoritative. Before editing, classify the feature as surface-only lowering, typed Kernel behavior, evaluator semantics, CLI/report behavior, or public Kernel contract.

Coupled checklist

  • rust/fsl-syntax: tokens, parsing, AST, and locations when syntax changes.
  • rust/fsl-core: validation, types, name resolution, dialect lowering, and Kernel projection.
  • rust/fsl-runtime: concrete Monitor/BFS behavior for evaluable semantics.
  • rust/fsl-verifier: symbolic BMC/induction/refinement/liveness behavior.
  • rust/fsl-tools or rust/fslc: report/command/envelope behavior when applicable.
  • rust/fsl-wasm: only when Worker-visible behavior or shared envelopes require it.
  • Focused positive, negative, and boundary regression evidence.
  • docs/manual/LANGUAGE.md, docs/manual/LANGUAGE.ja.md, skills/fsl/references/, relevant docs/design/DESIGN-*.md, docs map, and a new changelog.d/<id>-<slug>.<category>.md fragment (see changelog.d/README.md) -- not a direct CHANGELOG.md edit.
  • A new declaration, binder, or reference form: rust/fsl-lsp/src/index.rs and a targeted role/scope test.
  • Schemas/conformance vectors when the public Kernel contract changes.

Do not update src/fslc by default. Record the explicit compatibility or LSP contract before changing the frozen Python reference.

Verification

  1. Iterate with the native CLI: cargo run --manifest-path rust/Cargo.toml -p fslc-rust --bin fslc -- check <case> and the smallest relevant verify command.
  2. Run focused syntax/core/runtime/verifier tests for the changed seam.
  3. Check symbolic/concrete/BFS agreement and a false-negative case.
  4. Run induction, mutation, vacuity, refinement, replay, or browser evidence when the contract calls for it.
  5. Run formatting and Clippy, then wider workspace and compatibility gates in proportion to impact.
  6. Invoke the soundness and coupled-change reviewers before completion.

Never widen an allowlist, hollow a spec, or hand-edit a generated artifact to make the gate pass.

Read the full file on GitHub · 43 lines

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. 1mo ago Changed 1d5355062dc7
  2. 1mo ago Changed · +2 lines 51efcf3e9244
  3. 2mo ago First seen · 41 lines · 39 tokens per session scan A e4eb91e40554

Subscribe to this mod's changes

add-language-feature is a skill published in the GitHub repository ymm-oss/fsl (35 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 537 once invoked, about $0.0002 per session on Opus 5.5. 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-30.

Related

Other skills, from other repositories

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens

mem0-integrate

Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus .mem0-integration/…

mem0ai/mem0 · 188 tokens

python-testing

Python testing best practices using pytest including fixtures, parametrization, mocking, coverage analysis, async testing, and test organization. Use when writing or improving Python tests.

affaan-m/ECC · 35 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers hosted cloud browsers for AI agents: the browser-use Python library (Browser(usecloud=True)), Playwright, Puppeteer or any CDP client.

browser-use/browser-use · 57 tokens

building-pydantic-ai-agents

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), workspaces, structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, attach a workspace, defer capability…

pydantic/pydantic-ai · 92 tokens

credit-note-fixer

Fix the tiny credit-note formatting bug and rerun the exact targeted test command.

openai/openai-agents-python · 21 tokens