dare-feature-design

dare-feature-design is a command for Claude Code from dewtech-technologies/dare-method. It costs 0 tokens per session (1,351 once invoked), scanned A, original, MIT.

A feature-planning command that studies an existing project's architecture, database, dependencies, and conventions before creating a focused design document for a new feature.

In plain words
What is it for?
Use it to plan a substantial feature such as two-factor authentication, including its requirements, affected layers, and implementation approach.
Why use it?
It helps new work fit a legacy codebase instead of assuming a clean-slate architecture or inventing patterns the project does not use.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to plan a substantial feature such as two-factor authentication, including its requirements, affected layers, and implementation approach.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dewtech-technologies/dare-method/dare-feature-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dare-feature-design

README.md
[![agentmods](https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-feature-design/github.svg)](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-feature-design)
Your own site
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-feature-design"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-feature-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dare-feature-design

Your own site · 80×15
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-feature-design"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-feature-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01351
Opus 5.5 $0.00000 $0.00540
Sonnet 5.5 $0.00000 $0.00270
Haiku 4.5 $0.00000 $0.00135

Measured 1mo ago against content hash 28e7a72ebd9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dare-feature-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

implementations/claude/.claude/commands/dare-feature-design.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/dare-feature-design

Analisa um projeto existente e gera DARE/DESIGN-Feature-[Nome].md focado apenas em adicionar uma nova feature, respeitando a arquitetura legada.

Como usar

/dare-feature-design                                        # interativo
/dare-feature-design "Adicionar 2FA via TOTP no login"      # com descrição

Quando usar

  • Projeto já existe e usuário pede para adicionar uma feature
  • Projeto não nasceu com Método DARE, mas vai adotar para novas funcionalidades
  • Feature é grande o suficiente para precisar de planejamento (não é fix de uma linha)

O que fazer

1. Análise de contexto (obrigatória)

Antes de propor qualquer coisa, leia o projeto:

  • Stack — composer.json / package.json / Cargo.toml / go.mod / requirements.txt
  • Arquitetura — MVC, Hexagonal, CQRS? Layered? Onde moram Controllers, Services, Repositories?
  • Banco de dados — leia migrations existentes para entender esquema da feature
  • Dependências chave — auth (Sanctum, JWT, Devise?), permissões (Spatie, Pundit?), forms, ORM
  • Convenções — naming, estrutura de pastas, padrões de teste

2. Entender a feature

  • Valor de negócio — qual problema do usuário resolve?
  • Novos endpoints / telas — quais?
  • Conexão com o existente — usa que módulos? quem chama?
  • Dados novos vs existentes — tabela nova ou só colunas?

3. Avaliar impacto e segurança

  • Arquivos novos — controllers, services, repositories, components a criar
  • Arquivos modificados — quais existentes vão precisar mudar?
  • Banco de dados — migrations + scripts de seed?
  • Segurança específica (OWASP) — auth, autorização por recurso, validação, rate limit
  • Performance — query nova é cara? cache? índice?

4. Gerar DARE/DESIGN-Feature-[Nome].md

Estrutura obrigatória:

# Feature Design: [Nome da Feature]

## Contexto no Projeto Existente
Resumo de como a feature se encaixa no ecossistema atual.

## Objetivos da Feature
- [O-01] [objetivo 1 com métrica]
- [O-02] [objetivo 2 com métrica]

## Stakeholders
| Papel | Pessoa/Time | Interesse |
|---|---|---|

## Análise de Impacto

### Novos Arquivos
- `app/Controllers/TwoFactorController.php`
- `app/Services/EnrollTotp.php`
- `app/Models/UserMfaSecret.php`

### Arquivos Modificados
- `app/Controllers/AuthController.php` — adiciona challenge step
- `routes/api.php` — novas rotas

### Banco de Dados
- Nova tabela `user_mfa_secrets`
- Coluna `users.mfa_enabled` (boolean default false)

## Requisitos Funcionais
| ID | Requisito | Prioridade | Critério de aceite |
|---|---|---|---|
| RF-01 | … | MUST | … |

## Segurança Específica (OWASP)
- **A01 (Access Control):** [como filtra por owner]
- **A02 (Crypto):** [TOTP secret cifrado at rest]
- **A03 (Injection):** [validações]
- **A07 (Auth):** [rate limit no challenge]

## Restrições e Cuidados
- **NÃO alterar:** [partes do código legado intocáveis]
- **Compatibilidade:** [usuários antigos sem MFA continuam funcionando]
- **Migrations:** [reversível? safe em produção sem downtime?]

## Estratégia de Rollout
- Feature flag `feature.mfa_enabled` default off
- Habilitar para 1% → 10% → 100%
- Rollback = desabilitar flag

## Métricas de Sucesso
- M-01: % de usuários com MFA habilitado após 30 dias
- M-02: queda em logins fraudulentos
- M-03: 0 incidentes de lockout de conta legítima

## Riscos e Mitigações
| Risco | Probabilidade | Impacto | Mitigação |
|---|---|---|---|

## Fora do Escopo (v1)
- WebAuthn (apenas TOTP)
- Backup codes (próxima iteração)

## Próximas Etapas
1. Revisar e aprovar este Feature Design
2. Rodar `/dare-blueprint` apontando para este arquivo
3. Gerar tasks com `/dare-tasks`

Read the full file on GitHub · 148 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 148 lines · 0 tokens per session scan A 28e7a72ebd9d

Subscribe to this mod's changes

dare-feature-design is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,351 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.