npx skills add ...
npx skills add ilamanov/skills --skill codebase-conventions
Generally-applicable conventions for how code is written and arranged — tooling/package manager, import style, file & component naming, comments, and where files live (colocation vs. global folders). Use whenever creating, naming, moving, or importing a file, running project commands, or deciding where a new module belongs. Consult BEFORE writing the code so the conventions are baked in, not retrofitted. If a convention below matches the work, apply it — don't ask, just follow it (call out the choice in one line so the user can override).
npx skills add ilamanov/skills --skill codebase-conventions
Generally-applicable conventions for how code is written and arranged. Read every convention below. If any matches what you're about to do, apply it. These are defaults for the user's projects; where a project clearly already follows a different convention, match the project and say so.
Any time you are:
Treat each feature/route folder as a self-contained unit — almost as if it were its own small repo. The closer a feature's code lives to where it's consumed, the easier it is to experiment with, reason about, and eventually move or delete. Default to colocating; promote to a global folder only when usage is genuinely broad.
Decide placement by how many features use the code:
components/, hooks/, actions/, or lib/ sub-folder within the feature), right next to its consumer. Don't promote it to a global folder.components/, lib/, hooks/, actions/, or the project's equivalent) is correct.Additional guidance:
components/ui/ folder) stay global regardless of how many features use them.pnpm for all project commands (install, run scripts, add/remove deps). Don't reach for npm/yarn unless the project is clearly set up for one of them.@/) for non-relative imports rather than long ../../../ chains. Match whatever alias the project already configures.kebab-case.PascalCase.This skill will grow over time. New conventions should be added under the Conventions section above, phrased as rules the agent can apply mechanically.