willyu1007/template-skill-addon/organize-frontend-codebase

Claude Code and agent skill by willyu1007/template-skill-addon

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Organize a frontend codebase by feature/module with clear public exports, predictable naming, and minimal cross-feature coupling.

Install

npx vskill@latest install willyu1007/template-skill-addon/organize-frontend-codebase

SKILL.md

The same SKILL.md was published earlier as willyu1007/template-skill-basic/organize-frontend-codebase.

Organize Frontend Codebase

Purpose

Create a frontend project structure that scales with features while keeping imports and responsibilities clear.

When to use

Use this skill when you are:

  • Creating a new feature module
  • Refactoring messy or inconsistent folder structures
  • Standardizing naming conventions and public exports
  • Reducing import complexity and circular dependencies

Inputs

  • Current codebase structure and pain points
  • Feature boundaries (what is shared vs feature-local)
  • Existing tooling constraints (module aliasing, lint rules)

Outputs

  • A directory layout proposal and migration plan
  • Naming conventions for files and exports
  • A “public API” pattern for features

Rules

  • Features SHOULD be self-contained and expose a small public surface.
  • Shared components SHOULD be truly reusable; avoid dumping ground “common” folders.
  • Imports SHOULD prefer feature public exports over deep internal paths.

Steps

  1. Identify feature boundaries and shared dependencies.
  2. Choose a structure (feature-first is recommended for large apps).
  3. Define a feature public API (index.ts or equivalent).
  4. Move files incrementally:
  • update imports
  • prevent circular deps
  1. Verify:
  • build passes
  • routes/components still resolve
  • no broken exports

Verification

  • [ ] Build passes after reorganization
  • [ ] All routes and components resolve correctly
  • [ ] No circular dependencies introduced
  • [ ] Feature public exports work as expected
  • [ ] Imports use public APIs, not deep internal paths
  • [ ] Lint rules pass (if import rules are enforced)

Boundaries

  • MUST NOT create circular dependencies between features
  • MUST NOT import from deep internal paths across feature boundaries
  • MUST NOT dump unrelated utilities into a "common" folder
  • SHOULD NOT expose internal implementation details in feature public API
  • SHOULD NOT change file structure without updating imports
  • SHOULD NOT skip incremental migration (avoid big-bang refactors)

Included assets

  • Examples: ./examples/ includes a feature module structure blueprint.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/willyu1007/template-skill-addon/organize-frontend-codebase/badge)](https://verified-skill.com/skills/willyu1007/template-skill-addon/organize-frontend-codebase)

Something wrong with this skill or its page? Tell us.