add-feature

Generate standardized MVVM feature package structures for the Popcorn SwiftUI application.

1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/adamayoung/popcorn --skill add-feature-adamayoung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-feature
Source: https://github.com/adamayoung/popcorn/tree/main/.claude/skills/add-feature
Command: npx skills add https://github.com/adamayoung/popcorn --skill add-feature-adamayoung

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the boilerplate and architectural inconsistency associated with creating new feature modules in the Popcorn SwiftUI application.

Core Features & Use Cases

  • Scaffold Generation: Automatically structures the required files for a new MVVM feature, including the view, view model, dependencies, and navigation protocols.
  • Architectural Enforcement: Ensures all new features adhere to the project's specific dependency injection, @Observable view model, and testing patterns.
  • Use Case: When adding a new screen like MovieCredits, use this skill to generate the entire package structure, ensuring the view model, navigation, and test targets are correctly wired into the app's composition.

Quick Start

Use the add-feature skill to create a new feature package named UserProfile with the purpose of displaying user account details and settings.

Frequently Asked Questions about add-feature

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

FAQPage Schema
How do I scaffold a new MVVM feature in SwiftUI without writing boilerplate?

Scaffold a new MVVM feature in SwiftUI by generating a standardized package structure that includes views, view models, navigation protocols, and dependency injection containers automatically. This eliminates manual boilerplate creation and enforces architectural consistency across new feature modules.

What is the best way to enforce consistent architecture when adding new SwiftUI screens?

Enforce consistent SwiftUI architecture by generating feature packages that adhere to predefined project-specific guidelines, including dependency injection patterns, @Observable view models, and standardized testing targets. This ensures every new screen follows the same structural rules.

Can I generate test targets and dependency injection containers for a new iOS feature package?

Yes, you can generate test targets and dependency injection containers for a new iOS feature package. The scaffolding process creates the entire package structure, ensuring view models, navigation, and test targets are correctly wired into the application's composition automatically.

Does this MVVM scaffolding approach support localization and view model testing patterns?

The MVVM scaffolding approach supports localization and view model testing patterns by ensuring consistent implementation of feature-level logic, testing, and localization across the codebase during the initial package structure generation.

How do I add a new screen like MovieCredits to a SwiftUI application following MVVM guidelines?

Add a new screen like MovieCredits by generating the entire package structure, which ensures the view model, navigation protocols, and test targets are correctly wired into the application's composition according to the specific MVVM architectural guidelines.