openagent-writing-skills

Create, test, and document OpenAgent skills using a RED-GREEN-REFACTOR workflow.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/SvenMarcus/.dotfiles --skill openagent-writing-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openagent-writing-skills
Source: https://github.com/SvenMarcus/.dotfiles/tree/main/opencode/.config/opencode/skills/custom/openagent-writing-skills
Command: npx skills add https://github.com/SvenMarcus/.dotfiles --skill openagent-writing-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenAgent writing skills enables teams to codify best practices for creating, editing, and validating skills through a test-driven, repeatable process.

Core Features & Use Cases

  • TDD-based skill authoring: applying RED-GREEN-REFACTOR to documentation to surface gaps and ensure reliability.
  • Structured lifecycle: baseline testing, minimal skill creation, and rigorous refactoring to close loopholes.
  • Quality governance: checklists, rationalization tables, red flags, and cross-skill references to improve consistency.
  • Progressive disclosure: guidance on organizing content and using references to keep SKILL.md concise.

Quick Start

Draft a new skill using the RED-GREEN-REFACTOR workflow and verify it with pressure scenarios before deployment.

Frequently Asked Questions about openagent-writing-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate OpenAgent skills before deployment?

Validate OpenAgent skills using a structured RED-GREEN-REFACTOR workflow with pressure scenarios to verify readiness. This test-driven approach surfaces documentation gaps and ensures safe deployment in OpenCode and OpenAgent contexts through baseline testing and rigorous refactoring.

What is test-driven documentation for skill authoring?

Test-driven documentation for skill authoring applies the RED-GREEN-REFACTOR cycle to SKILL.md files to surface gaps and ensure reliability. It involves baseline testing, minimal skill creation, and rigorous refactoring to close loopholes and improve content consistency.

How do I structure SKILL.md files for progressive disclosure?

Structure SKILL.md files with required YAML frontmatter including name and description, using optional references and progressive-disclosure organization to keep content concise. This approach surfaces essential guidance first while deferring detailed context to referenced sections.

Can I use quality assurance checklists to govern skill writing workflows?

Yes, quality assurance checklists, rationalization tables, and red flags govern skill writing workflows to improve consistency and enforce safe practices. These governance tools identify baseline gaps, verify test coverage, and close loopholes during the refactoring phase.

What's the best way to refactor existing OpenAgent skills safely?

Refactor existing OpenAgent skills safely by applying the REFACTOR phase after RED-GREEN baseline testing, using checklists and cross-skill references to close loopholes. This structured lifecycle ensures edits maintain quality governance and documentation consistency before deployment.

When do I need a structured workflow for process documentation?

You need a structured workflow for process documentation when teams design new skills, edit existing ones, or verify skill readiness before deployment. A test-driven, repeatable process codifies best practices and ensures documentation reliability through pressure scenario validation.