conductor-dev-pro

SKILL.md

Conductor Dev Pro

Overview

This skill provides the boilerplate files and structure for the Conductor project orchestration framework. It initializes a conductor/ directory with essential documentation and workflow definitions according to the Universal File Resolution Protocol.

Workflow

1. Initialize Conductor

Scaffolds the conductor/ directory in the current project.

  • Trigger: "Initialize conductor", "Setup conductor template", "Add conductor to project"
  • Action:
    1. Create a conductor/ directory at the project root if it doesn't exist.
    2. Copy all template files from assets/conductor-template/ to the conductor/ directory using PowerShell-compatible commands.
    3. Inform the user that the Conductor directory has been initialized.

Implementation Directives

When implementing tracks or tasks under Conductor:

  1. Dynamic Path Resolution: ALWAYS resolve template paths relative to the skill's root directory.
  2. Lint Before Commit: Execute codelinter on all modified files immediately after editing.
  3. Token Efficiency (CRITICAL): Do NOT run unit tests (hvigorw test) or full project build commands (like assembleHap) during the task implementation phase, even if the track plan or project workflow suggests it. This is a strict constraint to save time and tokens. Task-level verification should rely primarily on codelinter and manual/visual verification.
  4. Visual Proof: For UI tasks, save a screenshot to conductor/artifacts/snapshots/[task_id].png.
  5. Idempotent Edits: Before using the replace tool, you MUST use read_file to verify the current content. Ensure that new_string is DIFFERENT from the existing text to avoid "No changes to apply" errors.
  6. Automated Self-Learning Loop:
    • At the start of every track implementation or task, you MUST read conductor/learning.md. If it does not exist, create it with a # Learning Log header.
    • If an error happens, analyze and document the fix in conductor/learning.md.
    • Display Lessons: Proactively notify the user and explicitly display the content of "Lessons Learned" in the chat whenever conductor/learning.md is updated or after resolving errors or complex tasks.
  7. Flexible Checkpointing: Commit changes after every task by default, but allow "Phase-based" commits if requested in the track plan.
  8. Quality Standards: Adhere strictly to the project's product-guidelines.md and prioritize UI performance.
  9. HarmonyOS Context: Read build-profile.json5 for SDK versions and cross-reference with API mapping.
  10. Final Build Verification: ONLY after all phases in a track's plan.md are completed, you MUST execute hvigorw assembleHap as a final verification step to ensure the entire project is in a stable, buildable state before completing the track. Do not execute this command after individual tasks or phases.

Cross-Platform Compatibility

CRITICAL: When performing analysis or file operations, you MUST distinguish between available agent tools (e.g., read_file, grep_search) and shell commands. NEVER attempt to execute an agent tool name as a shell command within run_shell_command.

When performing project analysis or file operations, you MUST use commands compatible with the user's operating system.

  • Windows (PowerShell): Use commands like Get-ChildItem, New-Item -ItemType Directory -Force (for mkdir -p), and avoid Unix-specific pipes like xargs.
  • Unix (Bash): Standard Unix commands are acceptable.
  • Path Resolution: Always use cross-platform path handling. In PowerShell, prefer $HOME over ~ for literal path strings.

Resources

assets/

Contains the template files for the Conductor directory structure:

  • index.md: The entry point and file resolution index.
  • product.md: Product definition and goals.
  • tech-stack.md: Technology stack and architectural decisions.
  • workflow.md: Development workflow and lifecycle.
  • tracks.md: Registry for development tracks.
  • product-guidelines.md: Design and implementation guidelines.
  • code_styleguides/: Directory for language-specific style guides.
  • workflows/: Detailed workflow patterns (e.g., cycle-based).

Reference: HarmonyOS Version to API Level Mapping

Version API Level
4.0 10
4.1 11
5.0.0 12
5.0.1 13
5.0.2 14
5.0.3 15
5.1.0 18
5.1.1 19
6.0 20

Note: If the version string in build-profile.json5 includes a number in parentheses, such as 6.0.0(20), the number in the parentheses is the API Level.

Weekly Installs
1
First Seen
Feb 16, 2026
Installed on
replit1
trae1
trae-cn1
gemini-cli1