Receber por email
← Voltar para o catálogo

dapp-sdd:specify

Use ao expandir a descrição de um dApp baseada em README para uma especificação completa com histórias de usuário e critérios de aceitação.

556estrelas
Atualizado há 2 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add majiayu000/claude-skill-registry

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/dapp-sdd-specify/svg)](https://www.skillteca.com.br/skills/dapp-sdd-specify)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Specify Skill

Expands a user's README.md dApp description into a comprehensive specification.

Input

The user's README.md containing:

  • What the dApp should demonstrate
  • Basic functionality description
  • Any specific requirements or constraints

Output

A structured specification saved to .dapp-sdd/spec.md containing:

1. Overview Section

  • Purpose: What concept this dApp demonstrates
  • Target Audience: Who will learn from this example
  • Learning Outcomes: What developers will understand after studying this

2. User Stories

Format each as:

### US{N}: {Title}

**As a** developer learning Midnight
**I want to** {action}
**So that** {benefit}

**Acceptance Criteria:**
- [ ] AC1: {Specific, testable criterion}
- [ ] AC2: {Specific, testable criterion}
- [ ] AC3: {Specific, testable criterion}

3. Technical Requirements

  • Compact Contract: What circuits are needed
  • TypeScript Integration: CLI commands, deployment scripts
  • State Management: What state the contract tracks
  • Privacy Model: What's private vs public

4. Out of Scope

Explicitly list what this example does NOT cover to keep it focused.

Process

  1. Read the README.md content provided
  2. Identify the core concept being demonstrated
  3. Extract functional requirements
  4. Generate 2-4 user stories (keep it minimal for examples)
  5. Define clear acceptance criteria
  6. Document technical requirements
  7. Save to .dapp-sdd/spec.md

Skill References

Invoke these skills to validate the specification:

  • compact-core:language-reference - Verify Compact concepts are correctly referenced
  • midnight-dapp:* - Ensure dApp patterns are appropriate

Example Spec Structure

# {DApp Name} Specification

## Overview

**Purpose:** Demonstrate {concept} in Midnight
**Target Audience:** Developers learning {topic}
**Learning Outcomes:**
- Understand how to {outcome 1}
- Learn to {outcome 2}

## User Stories

### US1: Basic Contract Interaction

**As a** developer learning Midnight
**I want to** deploy and interact with a simple contract
**So that** I understand the basic development workflow

**Acceptance Criteria:**
- [ ] Contract compiles without errors
- [ ] Contract deploys to local network
- [ ] CLI can call contract circuits

### US2: {Second Story}
...

## Technical Requirements

### Compact Contract
- Circuit: `{name}` - {purpose}
- State: `{field}` - {description}

### TypeScript Integration
- `deploy.ts` - Deployment script
- `cli.ts` - Interactive CLI

### Privacy Model
- Private: {what's private}
- Public: {what's public}

## Out of Scope

- Production deployment
- Error recovery
- Multiple users
Compartilhar X LinkedIn