editing-skills

Enforce byte-identical edits across parallel skill trees in SKILL.md files.

437|45|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ZaxbyHub/opencode-swarm --skill editing-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editing-skills
Source: https://github.com/ZaxbyHub/opencode-swarm/tree/main/.claude/skills/editing-skills
Command: npx skills add https://github.com/ZaxbyHub/opencode-swarm --skill editing-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Editing SKILL.md files across the repository's parallel skill trees (.claude/skills, .opencode/skills, .agents/skills) without following the repo's mirror contracts silently desynchronizes cross-platform skill surfaces, breaks CI drift checks, and orphans dependent shims, leading to broken user experiences and failed releases.

Core Features & Use Cases

  • Skill Classification Guidance: Walks through categorizing skills into mirrored, adapter, divergent, opencode-only, and additional contract types per the repo's skill-mirrors.ts configuration.
  • Edit Rule Enforcement: Mandates dual-tree byte-identical edits for mirrored skills, shim maintenance for adapter and no-entry skills, and correct inclusion in shipping paths for npm-published skills.
  • Validation Workflow: Includes required pre-publish checks like running drift checks, verifying byte identity for mirrored pairs, and creating release fragments for changes that touch core config files.
  • Use Case: For example, if you need to update the trigger description of a mirrored architect skill, this skill ensures you edit both the .opencode and .claude copies identically, then validate no drift warnings are introduced.

Quick Start

Use the editing-skills skill to update the description of the brainstorm skill in both its mirrored .opencode and .claude locations, then run drift:check to confirm no desync warnings appear.

Frequently Asked Questions about editing-skills

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

FAQPage Schema
How do I keep parallel skill trees synchronized when editing SKILL.md files?

To keep parallel skill trees synchronized, edit SKILL.md files with byte-identical changes across .claude/skills, .opencode/skills, and .agents/skills directories to prevent cross-platform desynchronization.

Why does editing skills across multiple directories break CI drift checks?

Editing skills across multiple directories breaks CI drift checks when modifications violate mirror contracts, introducing desynchronization warnings and orphaned dependent shims during drift validation.

What is the best way to update a mirrored skill description in opencode-swarm?

The best way to update a mirrored skill description in opencode-swarm is to apply byte-identical edits to both .opencode and .claude copies, then run drift:check to confirm zero desync warnings.

How do I maintain shims when modifying adapter or no-entry skills?

To maintain shims when modifying adapter or no-entry skills, follow the skill-mirrors.ts configuration to execute required shim maintenance and prevent broken user experiences.

Do I need to run drift check validation before publishing npm-shipped skills?

Yes, you need to run drift check validation before publishing npm-shipped skills to verify byte identity for mirrored pairs, validate shipping path inclusion, and create release fragments for core config changes.

When should I classify skills as divergent or opencode-only instead of mirrored?

You should classify skills as divergent or opencode-only instead of mirrored when the skill-mirrors.ts configuration indicates the skill does not require dual-tree byte-identical edits or cross-platform synchronization.