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.
npx agentmods add skills/pproenca/dot-skills/feature-archnpx skills add pproenca/dot-skills --skill feature-archgit clone --depth 1 https://github.com/pproenca/dot-skillsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00108 | $0.01844 |
| Opus 5 | $0.00054 | $0.00922 |
| Sonnet 5 | $0.00022 | $0.00369 |
| Haiku 4.5 | $0.00011 | $0.00184 |
Grade A, and why
feature-arch 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Feature-Based Architecture Best Practices
Comprehensive architecture guide for organizing React applications by features, enabling scalable development with independent teams. Contains 43 rules across 8 categories, prioritized by impact from critical (directory structure, imports) to incremental (naming conventions). When invoked on a real project, the skill produces a project-specific blueprint that anchors every decision in those rules.
Primary Output: The Target Architecture Blueprint
When an agent invokes this skill on a real project, the deliverable is a single
markdown file persisted at docs/architecture/FEATURE-ARCH-TARGET.md (or the
repo's existing docs location). The blueprint contains:
- Project context — framework, state libraries, routing model, current shape.
- Identified features — confirmed with the user, sourced from routes, docs, openspec, and code clusters.
- Target directory tree — literal paths, not pseudo-trees.
- Per-feature public APIs — exact named exports of each
index.ts. - Import-boundary matrix — N×N table of feature relationships (
allowed/forbidden/via app/via events). - State & data ownership — server-state and client-state owner per feature.
- Cross-feature communication policy — composition, events, or shared slice — with rationale.
- Numbered migration plan — file-level move/create/delete steps with S/M/L effort estimates.
- Human conformance checklist — for code review and "definition of done".
- Open questions — anything that needs a human decision before migration.
Every section cites the specific rules below that govern its decisions, so the blueprint stays a projection of this skill — not a parallel authority.
How the agent generates the blueprint
Follow the process in references/_blueprint-process.md. Summary:
- Gather context (package.json, src/ tree, README, CLAUDE.md, openspec/).
- Identify candidate features from routes, docs, and code clusters.
- Confirm the feature list with the user via
AskUserQuestion. - Record explicit decisions (layer model, comm mechanism, state/routing owner).
- Fill in assets/templates/feature-arch-target.md.template — every
{{placeholder}}replaced with a literal project value. - Hand off: print path, summarise feature/step counts, list top-3 risks, suggest next action. Do not start executing migration steps in the same turn.
What ships with it
50 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 9.5 KB
- assets/templates/_template.md 697 B
- assets/templates/feature-arch-target.md.template 12 KB
- metadata.json 1.2 KB
- README.md 3.6 KB
- references/_blueprint-process.md 9.8 KB
- references/_sections.md 1.5 KB
- references/bound-event-based-communication.md 2.6 KB
- references/bound-feature-isolation.md 2.3 KB
- references/bound-feature-scoped-routing.md 2.3 KB
- references/bound-feature-size.md 2.4 KB
- references/bound-interface-contracts.md 2.1 KB
- references/bound-minimize-shared-state.md 2.2 KB
- references/fcomp-colocate-styles.md 2.2 KB
- references/fcomp-composition-over-props.md 2.4 KB
- references/fcomp-container-presentational.md 2.5 KB
- references/fcomp-error-boundaries.md 2.5 KB
- references/fcomp-props-as-data-boundary.md 2.5 KB
- references/fcomp-single-responsibility.md 2.6 KB
- references/fquery-avoid-n-plus-one.md 2.3 KB
- references/fquery-colocate-with-feature.md 2.0 KB
- references/fquery-feature-scoped-keys.md 2.1 KB
- references/fquery-parallel-fetching.md 2.2 KB
- references/fquery-server-component-fetching.md 2.3 KB
- references/fquery-single-responsibility.md 2.0 KB
- references/fstate-context-sparingly.md 2.1 KB
- references/fstate-feature-scoped-stores.md 2.2 KB
- references/fstate-lift-minimally.md 2.3 KB
- references/fstate-reset-on-unmount.md 2.3 KB
- references/fstate-server-state-separation.md 2.6 KB
- references/import-avoid-barrel-files.md 2.0 KB
- references/import-no-cross-feature.md 3.6 KB
- references/import-path-aliases.md 1.8 KB
- references/import-public-api.md 2.0 KB
- references/import-type-only.md 2.1 KB
- references/import-unidirectional-flow.md 2.2 KB
- references/name-descriptive-exports.md 2.0 KB
- references/name-feature-naming.md 2.7 KB
- references/name-file-conventions.md 2.8 KB
- references/struct-app-layer.md 2.0 KB
- references/struct-domain-folders.md 2.7 KB
- references/struct-feature-folders.md 2.1 KB
- references/struct-feature-self-contained.md 1.8 KB
- references/struct-flat-hierarchy.md 1.7 KB
- references/struct-optional-segments.md 2.4 KB
- references/struct-shared-layer.md 2.4 KB
- references/test-colocate-with-feature.md 2.0 KB
- references/test-feature-isolation.md 2.2 KB
- references/test-integration-at-app-layer.md 2.7 KB
- references/test-shared-utilities.md 2.5 KB
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.
- yesterday First seen · 157 lines · 108 tokens per session scan A 1df698a5b0e6
feature-arch is a skill published in the GitHub repository pproenca/dot-skills (200 stars, last pushed 16d ago), licensed MIT. It adds 108 tokens to every session and 1,844 once invoked, about $0.0005 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…