Managing Autonomous Development
Overview
Manage Sugar's autonomous development workflows: create development tasks, check system status, review pending work, and start autonomous execution mode. Sugar orchestrates AI-driven development by queuing tasks with type, priority, and execution parameters, then processing them sequentially or in parallel.
Prerequisites
- Sugar plugin installed and configured in the project
- Sugar CLI available in the system PATH (
sugar --version)
- Project repository initialized with Sugar configuration file
- Understanding of task types:
feature, bugfix, refactor, test, chore
- Write access to the project codebase for autonomous execution
Instructions
- Check Sugar system status with
/sugar-status to verify the daemon is running and view queue depth
- Review pending tasks with
/sugar-review to see queued work items, their priorities, and estimated complexity
- Create new tasks with
/sugar-task <description> --type <type> --priority <1-5> specifying the task description, type, and priority level
- Validate Sugar configuration before starting autonomous mode: ensure test commands, lint rules, and commit settings are correct
- Start autonomous execution in safe mode first:
/sugar-run --dry-run --once to preview what Sugar would do without making changes
- Monitor execution output for errors, test failures, or unexpected behavior during the dry run
- Start full autonomous execution with
/sugar-run when confident in the configuration
- Review completed tasks and their outputs: check generated code, test results, and commit messages
Output
- Task creation confirmations with task ID, type, priority, and queue position
- System status reports showing queue depth, active tasks, and execution history
- Task review summaries with descriptions, priorities, and estimated effort
- Execution logs showing task processing, code changes, test results, and commits
- Summary reports of completed autonomous development sessions
Error Handling
| Error |
Cause |
Solution |
Sugar daemon not running |
Sugar service not started or crashed |
Start with sugar start or check logs for crash reason |
Task creation failed: invalid type |
Unsupported task type specified |
Use valid types: feature, bugfix, refactor, test, chore |
Autonomous execution failed: tests failing |
Generated code does not pass project tests |
Review the failing test output; fix the test or adjust the task description for clarity |
Configuration file not found |
Sugar config missing from project root |
Initialize with sugar init to create the configuration file |
Priority out of range |
Priority value not between 1 and 5 |
Use priority 1 (lowest) through 5 (highest/critical) |
Examples
- "Create a new Sugar task: 'Add input validation to the user registration endpoint' with type feature and priority 3."
- "Check the current Sugar system status and list all pending tasks in the queue."
- "Start Sugar autonomous mode in dry-run to preview what changes it would make for the next queued task."
Resources
Source: jeremylongshore/claude-code-plugins-plus-skills → plugins/devops/sugar/skills/managing-autonomous-development/SKILL.md
1---2name: managing-autonomous-development3description: "| Execute enables AI assistant to manage sugar's autonomous development workflows. it allows AI assistant to create tasks, view the status of the system, review pending tasks, and start autonomous execution mode. use this skill when the user asks to create a new develo... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose."4allowed-tools: "Read, Write, Edit, Grep, Glob, Bash(cmd:*)"5category: devops-and-infra6source_repo: jeremylongshore/claude-code-plugins-plus-skills7source_path: "plugins/devops/sugar/skills/managing-autonomous-development/SKILL.md"8source_url: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/HEAD/plugins/devops/sugar/skills/managing-autonomous-development/SKILL.md9metadata:10 source: https://skillmd.com/skills/thedixitjain/managing-autonomous-development11---1213# Managing Autonomous Development1415## Overview1617Manage Sugar's autonomous development workflows: create development tasks, check system status, review pending work, and start autonomous execution mode. Sugar orchestrates AI-driven development by queuing tasks with type, priority, and execution parameters, then processing them sequentially or in parallel.1819## Prerequisites2021- Sugar plugin installed and configured in the project22- Sugar CLI available in the system PATH (`sugar --version`)23- Project repository initialized with Sugar configuration file24- Understanding of task types: `feature`, `bugfix`, `refactor`, `test`, `chore`25- Write access to the project codebase for autonomous execution2627## Instructions28291. Check Sugar system status with `/sugar-status` to verify the daemon is running and view queue depth302. Review pending tasks with `/sugar-review` to see queued work items, their priorities, and estimated complexity313. Create new tasks with `/sugar-task <description> --type <type> --priority <1-5>` specifying the task description, type, and priority level324. Validate Sugar configuration before starting autonomous mode: ensure test commands, lint rules, and commit settings are correct335. Start autonomous execution in safe mode first: `/sugar-run --dry-run --once` to preview what Sugar would do without making changes346. Monitor execution output for errors, test failures, or unexpected behavior during the dry run357. Start full autonomous execution with `/sugar-run` when confident in the configuration368. Review completed tasks and their outputs: check generated code, test results, and commit messages3738## Output3940- Task creation confirmations with task ID, type, priority, and queue position41- System status reports showing queue depth, active tasks, and execution history42- Task review summaries with descriptions, priorities, and estimated effort43- Execution logs showing task processing, code changes, test results, and commits44- Summary reports of completed autonomous development sessions4546## Error Handling4748| Error | Cause | Solution |49|-------|-------|---------|50| `Sugar daemon not running` | Sugar service not started or crashed | Start with `sugar start` or check logs for crash reason |51| `Task creation failed: invalid type` | Unsupported task type specified | Use valid types: `feature`, `bugfix`, `refactor`, `test`, `chore` |52| `Autonomous execution failed: tests failing` | Generated code does not pass project tests | Review the failing test output; fix the test or adjust the task description for clarity |53| `Configuration file not found` | Sugar config missing from project root | Initialize with `sugar init` to create the configuration file |54| `Priority out of range` | Priority value not between 1 and 5 | Use priority 1 (lowest) through 5 (highest/critical) |5556## Examples5758- "Create a new Sugar task: 'Add input validation to the user registration endpoint' with type feature and priority 3."59- "Check the current Sugar system status and list all pending tasks in the queue."60- "Start Sugar autonomous mode in dry-run to preview what changes it would make for the next queued task."6162## Resources6364- Sugar plugin documentation: https://github.com/roboticforce/sugar65- Task automation patterns:66- Autonomous development best practices: best-practices/6768---6970**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `plugins/devops/sugar/skills/managing-autonomous-development/SKILL.md`