new-feature

Scaffold a new feature module with directories and TypeScript templates.

2|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/mfuentesg/capo-app --skill new-feature-mfuentesg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-feature
Source: https://github.com/mfuentesg/capo-app/tree/main/.copilot/skills/new-feature
Command: npx skills add https://github.com/mfuentesg/capo-app --skill new-feature-mfuentesg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool automates the creation of a complete feature module following Capo's Feature-Based Architecture (FBA), reducing setup time and ensuring consistency.

Core Features & Use Cases

  • Directory scaffolding for features/{{name}}/ including index.ts, components/, hooks/, types/, api/, contexts/, and tests/
  • Predefined templates for TypeScript files to standardize exports and structure
  • Enforced, repeatable structure across teams to accelerate feature onboarding and collaboration

Quick Start

Run the new-feature skill to scaffold a complete feature module in your Capo project.

Frequently Asked Questions about new-feature

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new feature module with TypeScript for a feature-based architecture?

Scaffolding a new feature module is automated by generating a standardized directory layout under features/{{name}}, complete with index.ts, components, hooks, types, api, contexts, and __tests__ folders using predefined TypeScript templates.

What directories and files are included when scaffolding a new feature module?

Scaffolding a feature module includes generating an index.ts file alongside components/, hooks/, types/, api/, contexts/, and __tests__/ directories, each populated with predefined TypeScript template files to standardize initial exports and structure.

How do I enforce a consistent feature-based architecture structure across my team?

You can enforce a consistent feature-based architecture by using automated scaffolding to generate a repeatable directory layout with predefined TypeScript templates, ensuring all developers follow the same standard structure for new features.

Does the feature module scaffolding work with any TypeScript project or only specific architectures?

The feature module scaffolding is specifically designed for Capo's Feature-Based Architecture (FBA) and applies when creating new features within the capo-app structure, enforcing its standard directory layout and type definitions.

Why use an automated scaffold instead of manually creating feature module directories?

Using an automated scaffold prevents structural inconsistencies and reduces manual setup time by instantly generating a complete feature-based architecture layout with predefined TypeScript templates, standardizing exports and accelerating team onboarding.