opsx-arrange

Reorder OpenSpec tasks.md tasks by dependency layers using Python.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/rm-rf-etc/Unbought --skill opsx-arrange
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opsx-arrange
Source: https://github.com/rm-rf-etc/Unbought/tree/main/.opencode/skills/opsx-arrange
Command: npx skills add https://github.com/rm-rf-etc/Unbought --skill opsx-arrange

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openspec, python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the reordering of OpenSpec change tasks based on their dependency layers, optimizing the implementation sequence and reducing manual effort.

Core Features & Use Cases

  • Dependency Layer Classification: Automatically classify tasks into infrastructure, core data, security/auth, core services, external integration, client framework, UI features, and polish layers.
  • Dependency Tree Generation: Build an ASCII dependency tree to visualize and confirm the task dependencies and layers.
  • Task Reordering: Reorder tasks in tasks.md based on the dependency tree, ensuring tasks are implemented in the correct sequence.
  • Use Case: When implementing an OpenSpec change with complex dependencies, this Skill can save hours by ensuring tasks are executed in the most efficient order.

Quick Start

Use the opsx-arrange skill to reorder the tasks for your change named 'example-change'.

Frequently Asked Questions about opsx-arrange

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

FAQPage Schema
How do I reorder OpenSpec tasks by dependency layer for implementation?

To reorder OpenSpec tasks by dependency layer, this Skill reads tasks.md, classifies tasks into layers like infrastructure and core services, builds a dependency tree, and rewrites tasks.md in build order.

What dependency layers are used to classify OpenSpec change tasks?

OpenSpec change tasks are classified into dependency layers including infrastructure, core data, security/auth, core services, external integration, client framework, UI features, and polish to determine build sequence.

Do I need the openspec CLI and Python to automate task reordering?

Yes, automating OpenSpec task reordering requires the openspec CLI tool and Python to read tasks.md, execute task classification, build the dependency tree, and rewrite the file.

Can I visualize task dependencies before rewriting tasks.md?

Yes, this Skill generates an ASCII dependency tree to visualize and confirm task dependencies and layers before reordering and rewriting tasks.md in build order.

What is the best way to sequence complex OpenSpec changes automatically?

The best way to sequence complex OpenSpec changes is to automate dependency layer classification and tree generation, ensuring tasks are implemented in the correct build order to save manual effort.

Why are my OpenSpec tasks executing out of order with broken dependencies?

Tasks execute out of order when dependencies are unclassified; this Skill fixes this by reading tasks.md, classifying tasks into dependency layers, and rewriting the file in correct build order.