/engineering-paved-path:engineering-insightsfrom Engineering Paved Path
Captures durable engineering learnings to the touched module's learnings file (LEARNINGS.md by default, configurable). Use at the end of a substantive session (>30 min with a real problem, decision, or discovery) as a wrap-up, or mid-session when something non-obvious surfaces. Re-reads the target file first, then appends actionable-cold notes; never overwrites and never duplicates.
Ships in Engineering Paved Path. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Capture durable engineering learnings so knowledge compounds across sessions instead
of evaporating when the context window ends. Each learning is appended to the
LEARNINGS.md of the module it is about — so the next session working in that module
reads only its own file and signal stays high.
This is the smallest, foundational skill: it depends only on the per-module LEARNINGS.md
files (plus whatever project docs you already keep, e.g. CLAUDE.md). No business logic.
Double trigger:
This skill is triggered by its description or run manually as /engineering-insights.
Be honest about the limit: trigger-by-description and manual runs are unreliable — "if it
requires a human trigger, it won't happen consistently enough to be useful". For
guaranteed capture, wire it to a Stop hook so it fires at the end of every session.
Before doing any work, once the user has given their prompt:
CLAUDE.md or whatever index your project keeps).LEARNINGS.md (see routing below) and treat it as
high-confidence guidance unless told otherwise.This is also the dedup baseline — you cannot avoid duplicating an insight you never read.
Write to the learnings file of the deepest module that owns the changed files — the
module a future session working in that area would naturally open. The file is
LEARNINGS.md by default; override the name with the INSIGHTS_FILE env var if your
project already keeps a differently named per-module notes file.
Walk up from each changed file to the nearest unit of ownership — a package/module
boundary such as the directory with its own manifest (package.json, pyproject.toml,
go.mod, …) — and write the LEARNINGS.md there. Examples (adapt to your layout):
| Work touched | File |
|---|---|
a frontend package (e.g. web/**, apps/client/**) | web/LEARNINGS.md |
a backend service (e.g. api/**, services/**) | api/LEARNINGS.md |
a shared / core library (e.g. packages/core/**) | packages/core/LEARNINGS.md |
the end-to-end test suite (e.g. e2e/**) | e2e/LEARNINGS.md |
| anything with no deeper owner | the repo-root LEARNINGS.md |
A session that touched several modules appends to each relevant file. If a target file is missing, create it from the section skeleton below.
Every LEARNINGS.md has these sections (never free-form, never omit one):
One record = a single line (or tight bullet):
- YYYY-MM-DD — <concrete, actionable statement>. Evidence: `path/file.ts:line`.
Before appending, every candidate must pass all three:
"Promises can be tricky" / "be careful with async""Promise.all() on the ingest pipeline times out past ~30 items — use Promise.allSettled() in batches of 10""checkout-flow state always goes through Zustand (cartStore.ts) — the cart is shared by 3 components, local state breaks here"LEARNINGS.md first; if the insight
is already there, do not duplicate it. At most add a new dated note when you can
make it materially more precise.When invoked, copy this checklist and work through it:
- [ ] 1. Determine which module(s) the session touched (from the edits / diff)
- [ ] 2. Re-read each target LEARNINGS.md (dedup + context baseline)
- [ ] 3. Identify up to 2–5 concrete, non-obvious learnings from the session,
sweeping each section: What Works / What Doesn't Work / Codebase Patterns /
Decisions / Tool & Library Notes / Recurring Errors & Fixes / Open Questions
- [ ] 4. Drop anything already in the file (dedup) and anything that fails the
substance or anti-banality gate
- [ ] 5. Append each survivor as a dated, evidence-grounded record under its section
(+ a dated Session Notes line) — or write NOTHING if nothing cleared the bar
- [ ] 6. Confirm what was added: report a one-line summary per file (or state that
nothing met the bar)
Default to fewer, higher-signal entries — 2–5 is a ceiling, not a quota. Zero is a valid, common outcome.
README.md, CLAUDE.md, …). LEARNINGS.md holds only durable, non-obvious
learnings.LEARNINGS.md to the repo so everyone benefits; keep it
append-only in PRs (avoids merge conflicts); a maintainer periodically consolidates.LEARNINGS.md is a draft under spot-check, not gospel — a human reviews it
periodically and prunes stale records (stale guidance is worse than none).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rostk/my-monkeys --plugin engineering-paved-path13 skills in this plugin
/drizzle-orm-patternsProvides comprehensive Drizzle ORM patterns for schema definition, CRUD operations, relations, queries, transactions, and migrations. Proactively use for any Drizzle ORM development including defining database schemas, writing type-safe queries, implementing relations, managing transactions, and setting up migrations with Drizzle Kit. Supports PostgreSQL, MySQL, SQLite, MSSQL, and CockroachDB./fastify-best-practicesGuides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts./frontend-ui-architectureFrontend UI architecture and code organization for React & Next.js — deciding WHERE code should live (folder/file structure, feature- vs type-based layout, colocation, where components / hooks / business logic / utils / constants / types / Server Actions belong, module boundaries and imports, and organizing the Server/Client boundary). Use this skill WHENEVER the user asks how to structure or organize a React/Next.js project, where a file/component/hook/type should go, how to split a large component, where to put business logic or data access, utils-vs-lib-vs-helpers, or barrel files — or asks for an architecture/structure review — even if they don't say the word 'architecture' and even though such questions can look answerable directly. Structure & organization only — not in-component coding rules (use react-best-practices) or Next.js API/feature mechanics (use next-best-practices)./next-best-practicesNext.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling/onion-architectureOnion / ports-and-adapters / layered architecture for a TypeScript/Node backend (Fastify modules plus a pure domain core) — deciding WHICH ring backend code belongs in and WHICH WAY its dependencies may point. Use this skill WHENEVER working server-side: adding or changing a route/service/repository, adding an adapter or port, wiring something into the DI Container, deciding whether a route or service may import Drizzle / an SDK / another module, or reviewing the backend's layering — even when the user does not say 'onion' or 'architecture'. It enforces the inward dependency rule, the ports-in-shared / implementations-in-adapters split, the Container as the single composition root, Drizzle-queries-only-in-the-repository, and the Zod contracts in your shared package as the shared domain + boundary type. Backend structure and boundaries only — not Drizzle query syntax (use engineering-paved-path:drizzle-orm-patterns), Fastify route mechanics (use engineering-paved-path:fastify-best-practices), Postgres schema design (use engineering-paved-path:postgresql-table-design), Zod syntax (use engineering-paved-path:zod), or frontend layout (use engineering-paved-path:frontend-ui-architecture)./postgresql-table-designUse this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced featuresOther plugins' skills for the same job