implement-feature
БесплатноБез исполняемых скриптовНе проверенGuide for implementing features in ClaudeBar following architecture-first design, TDD, rich domain models, and Swift 6.2 patterns. Use this skill when: (1)…
Об этом скилле
Implement Feature in ClaudeBar
Implement features using architecture-first design, TDD, rich domain models, and Swift 6.2 patterns.
Workflow Overview
┌─────────────────────────────────────────────────────────────┐
│ 1. ARCHITECTURE DESIGN (Required - User Approval Needed) │
├─────────────────────────────────────────────────────────────┤
│ • Read the design docs — they are the source of truth │
│ • Place the feature: owner, capability, extension point │
│ • Write the design change into the docs first │
│ • Analyze requirements │
│ • Create component diagram │
│ • Show data flow and interactions │
│ • Present to user for review │
│ • Wait for approval before proceeding │
└─────────────────────────────────────────────────────────────┘
│
▼ (User Approves)
┌─────────────────────────────────────────────────────────────┐
│ 2. TDD IMPLEMENTATION │
├─────────────────────────────────────────────────────────────┤
│ • Model tests → models (Quotas / Providers / Domain) │
│ • Module tests → generic rules and workers (DataSources) │
│ • Views, reading the domain directly │
└─────────────────────────────────────────────────────────────┘
Phase 0: Architecture Design (MANDATORY)
Before writing any code, design it in the docs and get user approval. The design docs are the source of truth (AGENTS.md → Design docs are the source of truth).
Step 0: Read the design docs, and place the feature in them
Read the design in order (ARCHITECTURE.md maps it):
USER_JOURNEYS.md (the person and the moment),
CANONICAL_MODEL.md (the tree, the words, each law
and its owner, owned vs offered), TARGET_ARCHITECTURE.md (the
pieces and their one job, the flows), then any docs/features/<context>/<x>/design.md it touches. Then answer:
| Question | If yes |
|---|---|
| Does it answer another question than the product's lifecycle? | it is a capability (CANONICAL §2.1): declared in the definition, its own types, reached through a handle that is nil when not declared — never a flag on Provider, never chosen by a provider's name. A runner outside the modules is supplied by the Engine (TARGET_ARCHITECTURE §10) |
| Does a provider need something the definition can't say? | a generic rule or worker in DataSources (ENGINE_DESIGN), then a line of JSON — never a Swift line that names the provider |
| Does it react to a refresh, a selection, a setting? | it observes an extension point (e.g. QuotaMonitor.onRefreshed) — the Monitor is not edited for it |
| Does it notify? | its own port in Alerting — not a new method on an existing alerter |
| Does something already decide it? (a threshold crossed, a rate, a unit, the worst quota) | use that owner: the feature is a new destination or a new read of it, never a parallel engine → A new feature next to an old one |
| Does it ask a type a new kind of question? | a new value built from that type (ModelMix(of: days, in: unit)), not another read on it → question 6 |
| Does it save a choice, or a secret? | settings.json through JSONSettingsRepository; a secret through the one Keychain-with-fallback store (settings.md) — never a feature's own file |
| Does another open PR touch the same type? | agree on one owner first; the later one rebases on it |
| Is a law missing, or owned twice? | add it to CANONICAL §5 with one owner |
When the docs don't cover it, write the change into them first (tree lines, laws with owners, a pieces table, a TARGET section) — that doc change is the architecture you present in Step 4. Code that disagrees with the docs is behind; don't bend the design to it.
Step 0b: Think the domain first
Before components, ask how the domain should be: from the root problem (the
issue, the journey) to the facts it must respect, to the concepts those force,
then compare with the code. Ask the seven questions of every type the feature
touches, and draw now beside proposed →
domain-shape.md. For each new type, write down
its one reason to change and which side it lives on (kernel fact, App
words or colours, storage in a module's Internal/, an OS port); a type with two reasons
is two types. A new aggregate, a moved law or
a changed owner goes into the docs in Step 0's change.
Step 1: Analyze Requirements
Установить implement-feature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл implement-feature?
Guide for implementing features in ClaudeBar following architecture-first design, TDD, rich domain models, and Swift 6.2 patterns. Use this skill when: (1) Adding new functionality to the app (2) Creating domain models that follow user's mental model (3) Building SwiftUI views that consume domain models directly (4) User asks "how do I implement X" or "add feature Y" (5) Implementing any feature that spans modules (DataSources, Providers, Quotas) and the App
Как установить скилл implement-feature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл implement-feature запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic