Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

programming

БесплатноБез исполняемых скриптовНе проверен

Applies strict, modern language practice (typed errors, exhaustive match, tests that can fail) for Python, Rust, TypeScript, JavaScript, and Go. Use for work…

code-yeongyuот code-yeongyu★ 71 250 звёзд на GitHub

Об этом скилле

Programming

You own this code. What it is for and how it is built are your call, so change it the way its owner would: fit new behavior into the structure that is there and leave no duplicate or dead code behind. A defect in the code you are changing is yours to fix now, at its root cause; never excuse it as pre-existing, someone else's, or the tool's fault. One elsewhere goes in your summary as a follow-up.

1. LANGUAGE GATE: READ BEFORE THE FIRST LINE OF CODE

This file holds what every language shares. Each README holds that language's hard rules, canonical libraries, toolchain, CI gate, scaffolder, and the table of references to load per task. Read the README, then the files its table names for the work. Manifests and tool configs follow their language's row. One-off scripts get the same discipline: uv run + PEP 723, rust-script, bun run, and go run make it free.

Touching Read
.py, .pyi references/python/README.md
.rs, Cargo.toml references/rust/README.md. unsafe, *mut, *const, MaybeUninit, FFI, unsafe impl Send/Sync, or a custom lock-free primitive: ALSO every file under references/rust-ub/.
.ts, .tsx, .mts, .cts, .js, .jsx, .mjs, .cjs references/typescript/README.md
.go, go.mod, .golangci.yml, *.proto next to a Go module references/go/README.md
a test file, or a change that adds, reshapes, or deletes a test the language row PLUS references/testing/README.md (the authoring gate) and references/testing/junk-classes.md (the table the gate reviewer applies)
log lines, logger setup, a service entrypoint, an error boundary references/logging.md. The project's existing practice wins: its designated logger and nothing else, and no logging in a project that does not log.
a rendered web surface: .html, .css, .jsx, .tsx, .vue, .svelte, .astro, or any task that ships a UI the language row, if any, PLUS the frontend skill, before the first line of UI code. With no design direction (no named brand, reference image or site, DESIGN.md, or existing styled UI to match), take the look from its references; never improvise one. The UI is done only after the visual-qa skill passes on the real rendered surface.

2. AXIOMS

Every recipe under references/ derives from these.

  1. The best code is the code never written. Stop at the first rung that holds: does this need to exist (YAGNI)? Does this codebase already have it? The standard library? A platform feature? An installed dependency? One line? Only then write the minimum that works, with no helper, class, or trait for a single caller. Climb the ladder after tracing the real flow end to end: the smallest diff in the wrong place is a second bug. A ticket names a symptom; grep every caller of the function you touch and fix the shared seam once, because a guard per caller leaves a sibling caller broken.
  2. Deep modules: every decision has ONE owner. A module earns its boundary by hiding a decision (a format, a protocol, a storage layout, a policy) behind an interface smaller than what it hides. Knowledge two modules both hold is a leak: changing it must touch one place. Remove pass-through layers and wrappers that only rename. Split along the decision each piece hides, never by size or by execution order.
  3. Decisions in the core, effects at the edge. Domain logic takes values and returns values. I/O, the clock, randomness, and the environment are read at the edge and passed in. Dependencies point from the edge toward the domain, never back, so the core is testable without mocks.
  4. The type system is your proof system. Make illegal states unrepresentable. A bug that can be a type error is REQUIRED to be one.
  5. Parse, don't validate. Untrusted input is parsed into a typed value once, at the boundary. Inside, code receives typed values and never re-validates.
  6. One name = one concept. A UserId is not a string; Seconds is not Milliseconds. Every distinct semantic primitive gets a newtype or branded type, so the compiler refuses to mix them.
  7. Exhaustive variant matching, always. A tagged variant is matched exhaustively with an unreachable check the compiler or linter enforces. if/else chains on a variant are FORBIDDEN: they silently swallow new variants.
  8. Trust guarantees; validate only at boundaries. No null check for a value the types prove non-null. No try around code that cannot raise. No escape hatch (Any, as, !, unwrap, a suppression comment) to paper over a contract the types should carry. No defensive layer for a scenario you cannot name.
  9. State and failure are explicit. Immutable by default; parameters are inputs, so produce a new value. Errors are typed values, never bare strings, caught only where they are handled or at the top-level boundary, never swallowed. Resources are released by scope. Concurrency is structured and cancellable.
Полный SKILL.md на GitHub

Установить programming в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/code-smells.mdreferences/go/README.mdreferences/go/backend-stack.mdreferences/go/bootstrap.mdreferences/go/bubbletea-v2.mdreferences/go/cobra-stack.mdreferences/go/concurrency.mdreferences/go/data-modeling.mdreferences/go/error-handling.mdreferences/go/golangci-strict.mdreferences/go/grpc-connect.mdreferences/go/libraries.mdreferences/go/one-liners.mdreferences/go/sqlc-pgx.mdreferences/go/testing.mdreferences/go/type-patterns.mdreferences/logging.mdreferences/python/README.mdreferences/python/async-anyio.mdreferences/python/data-modeling.mdreferences/python/data-processing.mdreferences/python/error-handling.mdreferences/python/fastapi-stack.mdreferences/python/httpx2-optimization.mdreferences/python/libraries.mdreferences/python/one-liners.mdreferences/python/orjson-stack.mdreferences/python/pydantic-ai.mdreferences/python/pyproject-strict.mdreferences/python/textual-tui.mdreferences/python/type-patterns.mdreferences/rust-ub/README.mdreferences/rust-ub/miri-sanitizers-loom.mdreferences/rust-ub/ub-taxonomy.mdreferences/rust/README.mdreferences/rust/api-design.mdreferences/rust/async-tokio.mdreferences/rust/axum-stack.mdreferences/rust/cargo-strict.mdreferences/rust/clap-stack.md

FAQ

Что делает скилл programming?

Applies strict, modern language practice (typed errors, exhaustive match, tests that can fail) for Python, Rust, TypeScript, JavaScript, and Go. Use for work on .py, .rs, .ts, .js, or .go files, and whenever a test or spec file is written, reshaped, reviewed, or deleted: the four-question test authoring gate and the junk-test classes live here.

Как установить скилл programming?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл programming запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить programming с