writer-practices

writer-practices is a skill for Claude Code from VKirill/claude-lane-stack. It costs 52 tokens per session (672 once invoked), scanned A, original, MIT.

A code-writing guide for lane writers, covering naming, function structure, error handling, tests, and project boundaries. It is intended for implementation tasks, not planning or documentation work.

In plain words
What is it for?
For checking the lane-writer coding rules, or displaying the guide with an information command before stopping.
Why use it?
It gives contributors consistent rules for writing and testing code inside the files they own.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the lane-stack plugin — 53 skills, 4 commands, 17 agents, 1 hook shipped together

Good fit For checking the lane-writer coding rules, or displaying the guide with an information command before stopping.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vkirill/claude-lane-stack/writer-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VKirill/claude-lane-stack --skill writer-practices
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Made for: Claude Code.

Or install lane-stack, the plugin that ships this one along with the rest of its 53 skills, 4 commands, 17 agents, 1 hook.

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 writer-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/writer-practices.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/writer-practices)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/writer-practices"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/writer-practices.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 43
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00052 $0.00672
Opus 5 $0.00026 $0.00336
Sonnet 5 $0.00010 $0.00134
Haiku 4.5 $0.00005 $0.00067

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

Security

Grade A, and why

writer-practices 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 8d 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.

plugins/lane-stack/skills/writer-practices/SKILL.md · 62 lines

How it starts

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

Writer practices

Info (print and stop)

If $ARGUMENTS is info, or the user says info / справка / как запускать this skill: print the block below verbatim (Russian), then stop. Do not edit product code.

writer-practices — стиль кода внутри owns_paths. Для writer, не PM.

Когда
- Идёт TASK_FILE, пишется продукт.
- Не для плана, не для docs-maintain, не для DESIGN.md.

Как открыть шпаргалку
- /lane-stack:writer-practices info
- каталог: /lane-stack:info

Правила
- Имена: verb+noun (fetchUser). Bool: is/has/can/should. Не tmp, не data2.
- Одна функция = одна работа. Early return. Хелпер на один вызов не выделять.
- Ошибки: сообщение + контекст. Пустой catch / return null — нельзя.
- Тест: одно поведение, контракт, не private internals.
- Нет drive-by format и «раз уж я здесь».

Важнее этого файла
- CLAUDE.md / AGENTS.md / .agents/LESSONS.md в PROJECT_CWD
- Каталог и *.test / *.spec как уже в репо

Не твоя работа
- wiki/README, review, CI/docker, commit/push/merge, всё вне owns_paths

For lane writers only. Karpathy (think → minimum → surgical → verify) still applies.

Source idea: aif-best-practices. Their factory, evolve, review, and docs skills are not ours.

Override

CLAUDE.md / AGENTS.md / .agents/LESSONS.md in PROJECT_CWD beat this card. Match file names, casing, and *.test / *.spec already in the repo. Do not create .agents/**, wiki, or README unless that path is in owns_paths.

Write

  • Names: verb+noun (fetchUser). Bool: is / has / can / should. No tmp or data2.
  • One function = one job. Early return. Do not extract a helper used once.
  • Errors: specific message + context. Never empty catch / return null to hide a throw.
  • Tests: one behavior per test; assert the contract, not private internals.
  • No drive-by format, comments, or "while I'm here" refactors.

Not your job

Docs/wiki refresh, PR review tone, CI/docker, commit/push/merge, anything outside owns_paths.

Read the full file on GitHub · 62 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. 8d ago First seen · 62 lines · 52 tokens per session scan A a0b96ec4767c

Subscribe to this mod's changes

writer-practices is a skill published in the GitHub repository VKirill/claude-lane-stack (115 stars, last pushed 6d ago), licensed MIT. It adds 52 tokens to every session and 672 once invoked, about $0.0003 per session on Opus 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.