managing-autonomous-development
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.
What this skill does
# 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 1. Check Sugar system status with `/sugar-status` to verify the daemon is running and view queue depth 2. Review pending tasks with `/sugar-review` to see queued work items, their priorities, and estimated complexity 3. Create new tasks with `/sugar-task <description> --type <type> --priority <1-5>` specifying the task description, type, and priority level 4. Validate Sugar configuration before starting autonomous mode: ensure test commands, lint rules, and commit settings are correct 5. Start autonomous execution in safe mode first: `/sugar-run --dry-run --once` to preview what Sugar would do without making changes 6. Monitor execution output for errors, test failures, or unexpected behavior during the dry run 7. Start full autonomous execution with `/sugar-run` when confident in the configuration 8. 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 - Sugar plugin documentation: https://github.com/roboticforce/sugar - Task automation patterns: - Autonomous development best practices: best-practices/
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.