Principal Engineering Skill
- Installs
- 29.2k
- Repo stars
- 6
- Security scans passed
- 3/3
- Repo updated
- Sep 11, 2026
TL;DR
principal-engineering is a skill that sets an evidence-over-theory discipline for non-trivial engineering work, with hard safety rules, a pre-change checkpoint and risk tiers.
Install if
Developers who let an agent change code, data or infrastructure and want verified work, safe operations and a consistent rulebook.
Skip if
Anyone who wants a style guide or product direction; repository conventions and CLAUDE.md rules outrank this skill.
npx skills add https://github.com/riekelt/principal-engineer --skill principal-engineeringTry it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add the remote connector:
claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:riekelt/principal-engineer#principal-engineering (Principal Engineering) and follow it.Try it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add this URL as a custom connector (Claude.ai, ChatGPT or Cursor):
https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:riekelt/principal-engineer#principal-engineering (Principal Engineering) and follow it.What principal-engineering covers
- Requires a Grounded, Blast radius, Invariants and Verify note before the first line
- Bans silent error swallows and edits to applied migrations
- Never prints or decrypts secret values
- Scales proof with risk tiers declared by the project
- Routes each task type to a matching sibling skill
principal-engineering by the numbers
| All-time installs | 29,177 (29.2k) | skills.sh registry |
|---|---|---|
| Repo stars | ★ 6 | GitHub |
| Security audit | 3 / 3 scanners passed | skills.sh audit |
| Repo last updated | September 11, 2026 | GitHub |
| Repository | riekelt/principal-engineer ↗ | |
Data as of Nov 29, 2026 (Skillselion catalog sync)
What can the principal-engineering skill do in Claude Code?
- Capabilities
- pre change checkpoint · safety rules · risk tiering · skill routing
- Use cases
- code review · debugging · refactoring
What principal-engineering says it does
Before writing the first line, state in working notes:
Every catch and failure path logs and rethrows, returns a typed failure the caller must handle, or enters an explicitly documented degraded mode.
Secret values are never read, printed, or decrypted to disk.
Fill it from the code and data, not from memory or plausibility.
What does the Principal Engineering skill produce?
Each change starts from a filled checkpoint, follows the hard rules and ends with a done claim that names what was checked.
- A filled pre-change checkpoint
- A done claim that names the command and its result
What files ship with principal-engineering?
Principal engineering
Overview
Check what the system actually does rather than recalling a pattern for it. Ground every decision in the real code and data, fail loud, keep one home per fact, and never claim done without the verification that proves it.
Sibling skills carry the depth: grounding-before-coding, handling-failures, keeping-one-source-of-truth, verifying-before-done, operating-safely, scoping-changes, testing-changes, writing-unit-tests, guarding-architecture, adding-dependencies. Load the matching one on top of this.
When to invoke
| The task is | Also load |
|---|---|
| Starting a change, a debug, or work in unfamiliar code | grounding-before-coding |
| Writing or touching any error path, fallback, or default | handling-failures |
| Adding data, config, state, or a second copy of anything | keeping-one-source-of-truth |
| Claiming "done", "fixed", or "passing" | verifying-before-done |
| Deleting, overwriting, restarting, or touching secrets or live systems | operating-safely |
| Deciding how big a fix should be, or noticing scope move mid-task | scoping-changes |
| Deciding what tests a change owes, or facing an empty test diff | testing-changes |
| Writing or fixing a unit test, or taming a flaky or unreadable one | writing-unit-tests |
| Crossing module boundaries or touching stated principles | guarding-architecture |
| Adding, updating, vetting, or removing a package, library, or base image | adding-dependencies |
The documents around the work (specs, decisions, changelogs, runbooks, postmortems, issues) are the technical-writer plugin's job where installed; these skills govern the engineering itself and defer to it for the prose.
Scope limits
- Not a style guide: formatting, naming taste, and framework choice belong to the repository's own conventions, which win.
- Not a replacement for project instructions: CLAUDE.md and repository rules outrank everything here.
- Not a source of product decisions: what to build comes from the owner; this governs how built things stay true and safe.
Mandatory checkpoint before a non-trivial change
Before writing the first line, state in working notes:
Grounded: <what you read or ran to know the current behavior> | Blast radius: <what this change touches> | Invariants: <what must not break> | Verify: <the command that will prove it worked>
Fill it from the code and data, not from memory or plausibility. A field you cannot fill is the work you do first.
Hard rules
Non-negotiable, in every repository:
- No silent error swallows. Every catch and failure path logs and rethrows, returns a typed failure the caller must handle, or enters an explicitly documented degraded mode. A new silent swallow is an automatic review BLOCKER. See
handling-failures. - An applied migration is immutable history. Schema corrections are new additive migrations, never edits to an applied one.
- Never claim verified without naming what was checked. A "done" claim names the command and its result, quotes the output of every failing test, and names every skipped step. See
verifying-before-done. - Secret values are never read, printed, or decrypted to disk. Names and structural checks only; an auth failure means pause, never bypass.
- Destructive operations need eyes first. Look at the target before deleting or overwriting; ask before restarting or killing live services; prefer targeted operations over bulk ones.
- Evidence beats theory. Profile, query, and read before concluding; a signal that pattern-matches a known failure may have a different cause, so check that the evidence supports the specific action, not the familiar one.
Risk tiers set the rigor
The rules hold at every tier; the tier sets how much proof they demand. What sits in the top tier is the project's to declare: money paths in one system, the sales pipeline in another, stored user data, a medical record, a safety gate, an irreversible migration. The project's rules or CLAUDE.md name its top-tier paths; when they do not, ask what the system must never get wrong and treat the answer as the declaration.
Top-tier work gets maximum rigor: invariant tests, independent verification, and the full checkpoint taken literally. Ordinary paths get standard rigor. Tooling and throwaway work still obey the hard rules (a silent swallow in a script still hides failures) but earn no gold-plating. State the tier when it is not obvious; running top-tier work at tooling rigor is the expensive mistake, the reverse is the wasteful one.
The rule lifecycle
Something that bites twice becomes a written rule with its provenance (what happened, when, how to avoid it); once is learning. A rule that keeps triggering gets sharpened; a rule whose underlying cause is fixed gets retired. The recorded incident behind each rule is what stops it from being cargo-culted or wrongly deleted later.
Common mistakes
- Acting on a document's claim about the system instead of the system; doc status goes stale fast, the code and the history are the record.
- Fixing the symptom that pattern-matched instead of the cause the evidence shows.
- Treating "the tests are green" as "the change works"; a green suite over code that cannot work means the suite does not run or does not test.
- Leaving a duplicate untouched in code you are changing: a duplicate in code you touch gets absorbed as part of the work; one merely noticed elsewhere gets surfaced and tracked, not silently fixed and not silently left. See
keeping-one-source-of-truth. - Growing a fix past its trigger because improvements were adjacent. See
scoping-changes.
Which skills are related to principal-engineering?
Principal Engineering skill FAQ
Who is the Principal Engineering skill for?
Developers who let an agent change code, data or infrastructure and want verified work, safe operations and a consistent rulebook. Skip if: Anyone who wants a style guide or product direction; repository conventions and CLAUDE.md rules outrank this skill.
When should I use principal-engineering?
Implementing, debugging, refactoring, configuring or operating a system, or investigating why it misbehaves, whenever being wrong has a cost.
What is the pre-change checkpoint?
A note written before the first line with four fields: Grounded, Blast radius, Invariants and Verify. A field the agent cannot fill from code and data is the work it does first.
Does it replace my project rules?
No. It is not a style guide or a replacement for project instructions; CLAUDE.md and repository rules outrank everything in it.
What are the hard rules?
No silent error swallows, no edits to applied migrations, no verified claim without naming what was checked, no reading or printing secret values, and a look at the target before destructive operations.
Is Principal Engineering safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
Add a principal-engineering badge
Show developers this skill is listed on Skillselion. Paste this into your README.