implement-feature

Implement ClaudeBar features with architecture-first design, TDD, and Swift 6.2 patterns.

1.4k|127|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/tddworks/ClaudeBar --skill implement-feature-tddworks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-feature
Source: https://github.com/tddworks/ClaudeBar/tree/main/.claude/skills/implement-feature
Command: npx skills add https://github.com/tddworks/ClaudeBar --skill implement-feature-tddworks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach for implementing new features in ClaudeBar using architecture-first design, TDD, rich domain models, and Swift 6.2 patterns, guiding teams from architecture design through domain modeling to UI integration.

Core Features & Use Cases

  • Architecture-first design drives the feature across Domain, Infrastructure, and App layers, ensuring clear boundaries and early validation.
  • TDD-driven workflow emphasizes state-based testing (Chicago School) to shape robust domain models and reliable integrations.
  • No ViewModel layer encourages direct consumption of domain models in SwiftUI views, with protocol-based DI and mockable testing.
  • Documentation & governance provides structured steps for design reviews, component interactions, and phased implementation across prototyping, coding, and verification.

Quick Start

Start with Architecture Design Phase 0: draft an ASCII diagram of components, obtain user approval, then proceed to Phase 1 domain modeling and infrastructure implementation.

Frequently Asked Questions about implement-feature

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

FAQPage Schema
How do I implement a feature using architecture-first design in Swift?

To implement a feature using architecture-first design, draft an ASCII diagram of components for user approval, then define rich domain models in the Domain layer, infrastructure in the Infrastructure layer, and SwiftUI views in the App layer.

How does Chicago School TDD work for domain modeling?

Chicago School TDD for domain modeling uses state-based testing to shape robust domain models, ensuring reliable integrations by writing tests that verify state transitions rather than interaction behavior.

Can I build SwiftUI views without a ViewModel layer?

Yes, you can build SwiftUI views without a ViewModel layer by directly consuming rich domain models in your views, utilizing protocol-based dependency injection and @Mockable protocols for testability.

What's the best way to structure a feature across Domain, Infrastructure, and App layers?

The best way to structure a feature across layers is to define domain models in Sources/Domain, infrastructure in Sources/Infrastructure, and app views in Sources/App, ensuring clear boundaries and phased implementation from prototyping to verification.

Does architecture-first design require a design review before coding begins?

Yes, architecture-first design requires a clear architecture design to be reviewed and approved during Phase 0 before any coding begins, ensuring component interactions are documented and validated.

Why use @Mockable protocols for Swift feature implementation?

You use @Mockable protocols for Swift feature implementation to enable protocol-based dependency injection, allowing direct consumption of domain models in SwiftUI views while maintaining robust mockable testing capabilities.