# Writing Skills

> Use when creating new skills, editing existing skills, or verifying skills work before deployment.

- **Type:** Skill
- **Install:** `agentstack add skill-himmelreich-it-agent-skill-converter-writing-skills`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [himmelreich-it](https://agentstack.voostack.com/s/himmelreich-it)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [himmelreich-it](https://github.com/himmelreich-it)
- **Source:** https://github.com/himmelreich-it/agent-skill-converter/tree/main/out/junie/skills/superpowers/skills/writing-skills

## Install

```sh
agentstack add skill-himmelreich-it-agent-skill-converter-writing-skills
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Writing Skills

**Writing skills IS Test-Driven Development (TDD) applied to process documentation.**

You write test cases (pressure scenarios with personas), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (personas comply), and refactor (close loopholes).

**Core principle:** If you didn't watch an agent/persona fail without the skill, you don't know if the skill teaches the right thing.

## TDD Mapping for Skills

| TDD Concept | Skill Creation |
|-------------|----------------|
| **Test case** | Pressure scenario with persona |
| **Production code** | Skill document (SKILL.md) |
| **Test fails (RED)** | Persona violates rule without skill |
| **Test passes (GREEN)** | Persona complies with skill present |
| **Refactor** | Close loopholes while maintaining compliance |

## The Process

### 1. RED Phase: Baseline Testing
Run a test scenario WITHOUT the skill. You MUST see what a persona naturally does before writing the skill.
- **Create pressure scenarios**: Combine time pressure, authority, and consequences.
- **Run without skill**: Give the persona a realistic task with these pressures.
- **Document rationalizations**: Note the exact excuses used to skip the rule.

### 2. GREEN Phase: Write Minimal Skill
Write a `SKILL.md` that addresses the specific failures you observed.
- **Keep it focused**: Only address the observed rationalizations.
- **YAML Frontmatter**: Include `name` and `description` (Max 1024 chars total).
- **Triggers**: Use "Use when..." in the description.

### 3. VERIFY GREEN: Pressure Testing
Run the same scenarios WITH the skill.
- The persona should now comply with the rule despite the pressure.
- If it still fails, the skill is unclear or incomplete. Revise and re-test.

### 4. REFACTOR: Plug Loopholes
If the persona finds a new way to rationalize away the rule, update the skill to counter it.

## Skill Structure (SKILL.md)
- **YAML Frontmatter**: `name` and `description`.
- **Overview**: What the skill is for.
- **The Process/Rule**: Clear, actionable steps.
- **Red Flags/Rationalizations**: List common excuses and their reality.
- **Key Patterns**: Examples of correct vs. incorrect application.

## Integration
- **Testing Skills**: Use the `testing-skills` persona by loading `agents/testing-skills/SKILL.md` via `agent_skill_read_doc` for systematic verification.
- **TDD Skill**: Apply the same Red-Green-Refactor mindset.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [himmelreich-it](https://github.com/himmelreich-it)
- **Source:** [himmelreich-it/agent-skill-converter](https://github.com/himmelreich-it/agent-skill-converter)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-himmelreich-it-agent-skill-converter-writing-skills
- Seller: https://agentstack.voostack.com/s/himmelreich-it
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
