🎯

decision-logic-framework

🎯Skill

from rdmptv/adbautoplayer

VibeIndex|
What it does

Defines decision rules and naming conventions for structuring Claude Code skills, scripts, and workflows with clear architectural separation.

decision-logic-framework

Installation

Install skill:
npx skills add https://github.com/rdmptv/adbautoplayer --skill decision-logic-framework
3
AddedJan 27, 2026

Skill Details

SKILL.md

Decision rules for Claude Code skills, scripts, MDs, and workflows - project-agnostic patterns

Quick Reference (30 seconds)

Core Principle: Clear separation between Agents (orchestrators) and Skills (capabilities).

| Component | Location | Contains |

|-----------|----------|----------|

| Agents | .claude/agents/ | workflows/ (TOON + MD steps) |

| Skills | .claude/skills/ | scripts/ (UV Python) OR modules/ (single-file MDs) |

Decision Tree:

```

Need external Python packages? β†’ UV Script (.py)

Need system commands? β†’ UV Script (.py)

Reference/documentation? β†’ Single-File MD (.md)

Simple data/rules? β†’ Single-File MD (.md)

```

Naming (Mandatory Prefixes):

  • Scripts: {skill}_{action}.py (underscore)
  • Modules: {category}-{topic}.md (hyphen)

---

Architecture Overview

Agents = Orchestrators with Workflows

```

.claude/agents/{category}/{agent-name}/

β”œβ”€β”€ {agent-name}.md # Agent definition

└── workflows/ # Agent-owned workflows

└── {workflow-name}/

β”œβ”€β”€ WORKFLOW.toon # Structure (TOON tabular)

β”œβ”€β”€ instructions.md # Overall guidance

β”œβ”€β”€ checklist.md # Validation (tier-2+)

└── steps/

└── step-NN-{action}.md

```

Skills = Capabilities with Scripts OR Modules

```

.claude/skills/{skill-name}/

β”œβ”€β”€ SKILL.md # Main entry (REQUIRED)

β”œβ”€β”€ scripts/ # For complex automation (OPTIONAL)

β”‚ └── {skill}_{action}.py # UV scripts with prefix

└── modules/ # For simple reference MDs (OPTIONAL)

└── {category}-{topic}.md # Single-file MDs with prefix

```

---

When to Use This Skill

Use this skill when:

  • Creating a new skill and deciding between scripts vs modules
  • Choosing workflow complexity tier (0-3)
  • Naming new files (scripts or modules)
  • Understanding the architecture separation
  • Reverse-engineering third-party apps

Load Order: This skill should be loaded FIRST when creating any new skill, agent, or workflow.

---

Available Modules

| Module | Purpose | When to Load |

|--------|---------|--------------|

| rule-script-vs-md.md | Decision logic for script vs MD | Creating new skill content |

| rule-naming-convention.md | Prefix naming system | Naming any new file |

| rule-skill-tiers.md | Tier 1-4 skill complexity | Assessing skill scope |

| rule-workflow-complexity.md | Tier 0-3 workflow selection | Creating workflows |

| pattern-single-file.md | Universal single-file rules | Reviewing file constraints |

Available Schemas

| Schema | Purpose | When to Load |

|--------|---------|--------------|

| workflow-schema.toon | Canonical WORKFLOW.toon format | Creating any workflow |

| step-schema.md | Template for step-NN-{action}.md | Creating workflow steps |

---

Decision Flowcharts

Script vs MD Decision

```

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ NEW SKILL CONTENT NEEDED β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”‚

β–Ό

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ Requires external Python packages? β”‚

β”‚ (httpx, pandas, click, psutil...) β”‚

β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€

β”‚ YES β”‚ NO β”‚

β”‚ ↓ β”‚ ↓ β”‚

β”‚ UV SCRIPT β”‚ Requires shell/sys? β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”‚

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ YES β”‚ NO β”‚

β”‚ ↓ β”‚ ↓ β”‚

β”‚ UV SCRIPT β”‚ MD OK β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

```

Workflow Tier Selection

```

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ WORKFLOW COMPLEXITY β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β”‚

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β–Ό β–Ό β–Ό β–Ό

β”Œβ”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚Tier 0 β”‚ β”‚Tier 1 β”‚ β”‚ Tier 2 β”‚ β”‚ Tier 3 β”‚

β”‚1 step β”‚ β”‚3-5 β”‚ β”‚ 5-10 β”‚ β”‚ 10+ β”‚

β”‚hotfix β”‚ β”‚simple β”‚ β”‚ medium β”‚ β”‚ complex β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

```

---

Prefix Naming Quick Reference

Scripts (UV Python)

```

Pattern: {skill-name}_{action}.py

Separator: underscore (_)

Examples:

kalshi_get-market.py

kalshi_search-events.py

system_analyze-cpu.py

builder_generate-skill.py

```

Modules (Single-File MDs)

```

Pattern: {category}-{topic}.md

Separator: hyphen (-)

Categories: api, pattern, rule, guide, schema, example

Examples:

api-endpoints.md

pattern-authentication.md

rule-naming-convention.md

guide-quick-start.md

```

---

Works Well With

Agents:

  • builder-skill - Skill creation with tier system
  • builder-workflow - TOON + MD workflow generation
  • builder-agent - Agent with workflows/ generation

Skills:

  • moai-library-toon - TOON format reference
  • moai-foundation-core - Core execution rules
  • builder-skill-uvscript - UV script examples

Commands:

  • /moai:1-plan - SPEC generation with decision framework
  • /builder:generate-skill - Skill creation workflow

---

Version: 1.0.0

Status: Active

Last Updated: 2025-12-02

More from this repository10

🎯
moai-domain-adb🎯Skill

Automates Android device interactions through comprehensive ADB scripting, enabling game bot development, device management, and computer vision workflows.

🎯
moai-toolkit-codegen🎯Skill

Generates AI-powered code scaffolding for MoAI agents, skills, commands, and tests using enterprise-grade Context7 patterns and UV CLI standards.

🎯
moai-foundation-uiux🎯Skill

moai-foundation-uiux skill from rdmptv/adbautoplayer

🎯
moai-lang-unified🎯Skill

Unifies enterprise programming across 25+ languages with patterns, best practices, and Context7 integration for seamless multi-language development.

🎯
moai-integration-mcp🎯Skill

Orchestrates universal MCP integrations by seamlessly connecting Figma, Notion, Nano-Banana, and custom services with advanced multi-platform workflow automation.

🎯
moai-connector-mcp🎯Skill

Develops and deploys custom MCP servers with FastMCP, enabling type-safe tool, resource, and prompt exposures for AI model interactions.

🎯
macos-resource-optimizer🎯Skill

Optimizes macOS system resources by concurrently executing 40 specialized agents across memory, disk, CPU, and process management domains.

🎯
moai-connector-figma🎯Skill

moai-connector-figma skill from rdmptv/adbautoplayer

🎯
moai-toolkit-essentials🎯Skill

Orchestrates AI-powered development workflows with intelligent debugging, refactoring, performance optimization, and quality enforcement across enterprise projects.

🎯
moai-library-toon🎯Skill

Defines token-efficient YAML-based agent and workflow definitions using BMAD Method patterns, reducing complexity by 40-60% compared to traditional formats.