nextjs-app/ai-src/skills/repo-architecture/SKILL.md
Code-generation skill. Use when a task touches repo structure, file placement, route boundaries, or where new code belongs in this Next.js app.
npx skillsauth add Adrienenjalbert/flex-carrer-hub repo-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
src/app thin.src/features/<feature>.src/shared only for cross-feature infrastructure.src/lib only for low-level infrastructure/utilities.src/components/ui for primitives.src/components/common only for truly generic cross-feature helpers.src/app -> src/features -> src/shared -> src/lib
Generate new code in that direction.
src/appAllowed:
page.tsxlayout.tsxerror.tsxnot-found.tsxrobots.tsmetadata / generateMetadatagenerateStaticParamsNot allowed as default:
src/featuresDefault home for:
src/sharedCurrent examples:
src/shared/seo/JsonLd.tsxsrc/shared/sitemap/*src/libCurrent examples:
src/lib/seo/*src/lib/security/*src/lib/server/*src/lib/site/*src/lib/utils/*src/lib/calculators/*Do not place new feature datasets here.
src/features/career-hub/shared/*src/features/tools/shared/*src/features/roles/shared/*These are active, not deprecated.
src/components/career-hub/*src/lib/data/*src/app/*When you generate code, it should:
development
Use when finishing a code change, validating generated code, or deciding which repo checks must run before presenting work in this repo.
tools
Use when creating or editing Career Hub tool pages, calculator pages, tool metadata, tool registry entries, or tool-specific support sections in this repo.
data-ai
Use when editing public pages, metadata, canonical URLs, structured data, sitemaps, robots rules, or any SEO-sensitive behavior in this repo.
development
Use when refactoring existing code, moving files, normalizing structure, or improving architecture without changing user-visible behavior in this repo.