implement-feature

Guide feature implementation in ClaudeBar with architecture-first design and TDD.

7|2|Updated Sep 28, 2022
One-click install
npx skills add https://github.com/kiminmonaco/ClaudeBar --skill implement-feature-kiminmonaco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement-feature
Source: https://github.com/kiminmonaco/ClaudeBar/tree/main/.claude/skills/implement-feature
Command: npx skills add https://github.com/kiminmonaco/ClaudeBar --skill implement-feature-kiminmonaco

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides engineers to implement new features in ClaudeBar using architecture-first design, TDD, rich domain models, and Swift 6.2 patterns. It emphasizes aligning feature work with the user's mental model and ensuring changes span Domain, Infrastructure, and App layers.

Core Features & Use Cases

  • Architecture-first design with explicit user approvals
  • Chicago School TDD workflow guiding Domain Model Tests, Infrastructure Tests, and Integration
  • Protocol-based DI using @Mockable to enable testability and isolation
  • No ViewModel layer; UI consumes domain models directly to reduce boilerplate

Quick Start

Provide a feature request and I will outline the architecture, tests, and domain models before 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 new feature in Swift using test-driven development?

Feature implementation with test-driven development follows an architecture-first design phase, then Chicago School TDD to guide domain model tests, infrastructure tests, and integration. Engineers outline architecture and domain models before writing any production code.

What is the Chicago School TDD workflow for domain modeling?

Chicago School TDD for domain modeling starts with writing failing domain model tests, then building rich domain models to pass them, followed by infrastructure tests and integration. It enforces protocol-based dependency injection using @Mockable for testability and isolation.

Can I use SwiftUI without a ViewModel layer to consume domain models directly?

Yes, SwiftUI can consume domain models directly without a ViewModel layer. This approach reduces boilerplate by having the UI layer use domain-driven models explicitly, aligning feature work with the user's mental model while maintaining test-driven validation.

Does protocol-based dependency injection with @Mockable work with Swift 6.2?

Protocol-based dependency injection with @Mockable works with Swift 6.2 patterns. It enables testability and isolation across Domain, Infrastructure, and App layers by using mockable protocols to inject dependencies during Chicago School TDD workflows.

What's the best way to structure architecture-first feature work across multiple layers?

Architecture-first feature work spans Domain, Infrastructure, and App layers with explicit user approvals at each phase. Engineers design the architecture, outline domain models, plan infrastructure integration, and compose SwiftUI views before implementation begins.

Why does test-driven feature implementation require explicit user approvals between phases?

Test-driven feature implementation requires explicit user approvals to validate architecture design, domain modeling, and infrastructure integration before proceeding. This ensures changes align with the user's mental model and that domain-driven design principles are maintained across each phase.