Receber por email
← Voltar para o catálogo

team-shinchan:writing-skills

Use when creating or improving a skill using TDD process with trigger scenarios and pressure validation.

8estrelas
Atualizado há 3 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add seokan-jeong/team-shinchan

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/team-shinchan-writing-skills/svg)](https://www.skillteca.com.br/skills/team-shinchan-writing-skills)

Alerta por categoria

Receba novas skills de Escrita e Conteúdo toda segunda

1 email curto, só com as skills novas de Escrita e Conteúdo. 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

Writing Skills: TDD Process for Skill Development

Good skills are written like good tests: define the trigger scenario first, specify expected behavior, then implement.

Step 1: Define Trigger Scenarios

Before writing any skill content, write 3+ trigger scenarios:

Trigger Scenario Format:
  When: [specific user utterance or context]
  Context: [what state the system is in]
  Expected: [what the skill should do / output]

If you cannot write a concrete trigger scenario, the skill is not ready. Stop and clarify.

Step 2: Define Expected Behavior

For each trigger scenario, define:

  • Output format: what does the skill output?
  • Side effects: what files are modified?
  • Failure conditions: when does the skill fail?
  • Boundaries: what is explicitly OUT of scope?

Step 3: Implement the Skill

Frontmatter requirements:

---
name: team-shinchan:{skill-name}
description: Use when {trigger condition, max 20 words}
user-invocable: true|false
---

Content rules:

  • Organize into ## Step N sections
  • All Task() calls must specify: subagent_type, model, prompt
  • No ambiguous instructions — write the actual logic
  • Every claim needs a verification step

Anti-patterns:

  • // implement the logic here — write actual logic
  • "Update as needed" — specify exactly what
  • "Add error handling" — specify what errors

Step 4: Pressure Scenario Validation

Before publishing, run against these scenarios:

P1: Ambiguous Input

Input: empty args or whitespace. Expected: asks for clarification, does NOT crash.

P2: Invalid Input

Input: path traversal like ../../etc/passwd. Expected: rejects with clear error.

P3: Missing Prerequisites

Input: skill invoked when required state doesn't exist. Expected: actionable error message.

Validation Checklist

  • [ ] All 3+ trigger scenarios produce expected behavior
  • [ ] Empty input does NOT crash
  • [ ] Missing prerequisites produce actionable errors
  • [ ] node tests/validate/skill-schema.js passes
  • [ ] node tests/validate/skill-format.js passes
  • [ ] KNOWN_SKILLS in cross-refs.js updated
Compartilhar X LinkedIn