help

Learn how to use devloop - interactive guide to commands, workflow, and best practices

6 stars

Best use case

help is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Learn how to use devloop - interactive guide to commands, workflow, and best practices

Teams using help should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/help/SKILL.md --create-dirs "https://raw.githubusercontent.com/Zate/cc-plugins/main/plugins/devloop/skills/help/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/help/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How help Compares

Feature / AgenthelpStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Learn how to use devloop - interactive guide to commands, workflow, and best practices

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Devloop Help

Interactive guide to devloop.

## Step 1: Choose Topic

If `$ARGUMENTS` specifies a topic, skip to that section. Otherwise:

```yaml
AskUserQuestion:
  questions:
    - question: "What would you like to learn about?"
      header: "Topic"
      multiSelect: false
      options:
        - label: "Getting Started"
          description: "New to devloop? Start here"
        - label: "Commands"
          description: "What each command does"
        - label: "The Loop"
          description: "The plan -> run -> fresh cycle"
        - label: "Skills & Agents"
          description: "On-demand knowledge and parallel work"
        - label: "Superpowers"
          description: "How devloop works with superpowers plugin"
```

---

# Topic: Getting Started

## What is devloop?

Development workflow where **Claude does the work directly**. No routine agents. Just you, Claude, and the code.

## Quick Start

```bash
/devloop:plan "How should we implement feature X?"  # Plan (or --deep for exploration)
/devloop:run                                        # Execute tasks
/devloop:fresh && /clear                           # Save state, clear context (every fresh_threshold tasks (default 10, configurable in .devloop/local.md))
/devloop:run                                        # Continue execution
```

## First Session

1. Have a task? `/devloop:plan [task]` (or `--deep` for detailed exploration)
2. Claude explores, creates plan
3. You approve
4. `/devloop:run` to implement
5. Every fresh_threshold tasks (default 10, configurable in .devloop/local.md): `/devloop:fresh` then `/clear` then `/devloop:run`
6. Done? `/devloop:ship`

---

# Topic: Commands

## Decision Tree

```
Starting new work?
|-- Unclear requirements  -> /devloop:plan --deep
|-- Small, clear task     -> /devloop:plan --quick
|-- Normal feature        -> /devloop:plan
|-- Have a plan           -> /devloop:run

Mid-workflow?
|-- Context heavy         -> /devloop:fresh -> /clear -> /devloop:run
|-- Ready to commit       -> /devloop:ship
|-- Want review           -> /devloop:review

Returning?
|-- /devloop:run
```

## Command Reference

| Command | Purpose |
|---------|---------|
| `/devloop` | Start new workflow (smart entry point) |
| `/devloop:plan` | Autonomous planning (default mode) |
| `/devloop:plan --deep` | Comprehensive exploration with spike report |
| `/devloop:plan --quick` | Fast path for small, clear tasks |
| `/devloop:plan --from-issue N` | Start from GitHub issue #N |
| `/devloop:run` | Autonomous execution |
| `/devloop:run --interactive` | With checkpoints |
| `/devloop:run --next-issue` | Full issue-to-ship pipeline |
| `/devloop:run-swarm` | Swarm for 10+ tasks |
| `/devloop:fresh` | Save state for clear |
| `/devloop:review` | Code review |
| `/devloop:ship` | Commit & PR |
| `/devloop:archive` | Archive completed plan |
| `/devloop:new` | Create GitHub issue |
| `/devloop:issues` | List GitHub issues |
| `/devloop:statusline` | Configure statusline |
| `/devloop:help` | This guide |

### Migration from Old Commands

| Old Command | New Command |
|-------------|-------------|
| `/devloop:spike` | `/devloop:plan --deep` |
| `/devloop:quick` | `/devloop:plan --quick` |
| `/devloop:from-issue N` | `/devloop:plan --from-issue N` |
| `/devloop:continue` | `/devloop:run --interactive` |
| `/devloop:ralph` | `/devloop:run` |

---

# Topic: The Loop

## Pattern

```
/devloop:plan [topic]    ->  Creates plan
       |
/devloop:run             ->  Implements tasks
       |
After fresh_threshold tasks (default 10, configurable in .devloop/local.md)?
|-- Yes -> /devloop:fresh -> /clear -> /devloop:run
|-- No  -> Continue
```

## Why It Works

- Fresh context = better reasoning
- Plan preserves progress
- Checkpoints keep control
- Sustainable pace

## When to Fresh

- After fresh_threshold tasks (default 10, configurable in .devloop/local.md)
- When responses slow
- After long exploration
- Before taking a break

## State Files

| File | Purpose |
|------|---------|
| `.devloop/plan.md` | Current plan (persists) |
| `.devloop/next-action.json` | Fresh state (consumed) |
| `.devloop/worklog.md` | Work history |

---

# Topic: Skills & Agents

## Skills: On-Demand Knowledge

Load when needed: `Skill: skill-name`

| Skill | Purpose |
|-------|---------|
| `plan-management` | Working with plan.md |
| `local-config` | Project settings via .devloop/local.md |
| `pr-feedback` | Integrate PR review comments |
| `devloop-audit` | Audit devloop against Claude Code updates |

**Don't preload.** Claude loads automatically when needed.

## Agents: Parallel Work Only

**Use for:** parallel implementations, security scans, large exploration (50+ files)
**Don't use for:** writing code, tests, git ops, single files, docs

| Agent | Purpose |
|-------|---------|
| `devloop:engineer` | Exploration, architecture, code review |
| `devloop:qa-engineer` | Test generation |
| `devloop:security-scanner` | OWASP, secrets |
| `devloop:doc-generator` | READMEs, API docs |
| `devloop:swarm-worker` | Parallel task execution |

---

# Topic: Troubleshooting

## Common Issues

**Plan corrupted:** `rm .devloop/plan.md && /devloop`
**Session ended:** `/devloop:run`
**Abandon plan:** `/devloop:archive && /devloop`
**Context heavy:** `/devloop:fresh && /clear && /devloop:run`
**Skill not loading:** Check exact name in skills/INDEX.md
**Progress not saving:** Use `[x]` not `[X]`
**Statusline missing:** `/devloop:statusline`, restart Claude Code

## Claude Code Native Integrations

**LSP tools in agents**: `engineer`, `qa-engineer`, and `security-scanner` agents use LSP for symbol navigation (`goToDefinition`, `findReferences`, `documentSymbol`). Gracefully falls back to Grep/Glob if no LSP server is configured.

**Monitor for long commands**: `run`, `run-epic`, and `run-swarm` use Monitor (not Bash) for test suites, builds, and full-codebase linting to stream output in real-time. Falls back to Bash if Monitor is unavailable.

**Worktree isolation**: `run-swarm --worktrees` runs each worker in an isolated git worktree. Enable via flag or `git.worktree_isolation: true` in `.devloop/local.md`. Off by default.

**Token budget**: `tokens.token_budget` in `.devloop/local.md` caps how many tokens `gather-task-context.sh` collects per task (default: 4000). Lower for leaner context; raise for large codebases.

**Cache-friendly context**: `tokens.cache_friendly_context: true` (default) reorders agent spawn prompts to maximize prompt cache hits, reducing API costs on repeated runs.

## Reset Everything

```bash
rm -rf .devloop/ && /devloop
```

---

# Topic: Automation

## Autonomous Execution

```bash
/devloop:run                      # Up to 50 iterations
/devloop:run --max-iterations 100 # Custom limit
/devloop:run --interactive        # With checkpoints
```

## How It Works

1. `/devloop:run` creates ralph-loop state
2. Claude works on tasks, marks `[x]`
3. When all done, outputs `<promise>ALL PLAN TASKS COMPLETE</promise>`
4. Loop terminates

## Context Guard

Auto-exits at 70% context usage. Configure in `.devloop/local.md`:
```yaml
context_threshold: 80
```

## Stopping Early

- `/cancel-ralph`
- Max iterations reached
- Context guard triggered

---

---

# Topic: Superpowers

## Complement, Not Dependency

Devloop and superpowers are complementary plugins with distinct lanes:

- **Devloop** = Workflow orchestration (plan, run, fresh, ship)
- **Superpowers** = Quality practices (TDD, debugging, verification, code review)

Devloop works fully standalone. Superpowers is optional.

## When to Use Which

| Task | Use |
|------|-----|
| Plan and implement a feature | `/devloop:plan` -> `/devloop:run` |
| Write tests first, then code | `superpowers:test-driven-development` |
| Debug a failing test | `superpowers:systematic-debugging` |
| Quick review of changes | `/devloop:review` |
| Thorough code review | `superpowers:requesting-code-review` |
| Commit and PR | `/devloop:ship` |

## Key Difference

- `/devloop:plan` creates **workflow plans** (task breakdown, phased execution)
- `superpowers:writing-plans` creates **implementation plans** (architecture, design decisions)

Both can coexist. Use devloop for the workflow, superpowers for quality gates within tasks.

---

## Step 3: Offer More

```yaml
AskUserQuestion:
  questions:
    - question: "Learn about another topic?"
      header: "More"
      multiSelect: false
      options:
        - label: "Yes, show topics"
          description: "Return to topic menu"
        - label: "No, I'm good"
          description: "Exit help"
```

If yes, return to Step 1. If no:

> Ready to start? Try `/devloop:plan [task]` or `/devloop:run` if you have a plan.

Related Skills

Example Skill

6
from Zate/cc-plugins

Brief description of what this skill does and the domain expertise it provides.

vulnerability-patterns

6
from Zate/cc-plugins

Index of vulnerability detection pattern skills. Routes to core patterns (universal) and language-specific patterns for security scanning.

vuln-patterns-languages

6
from Zate/cc-plugins

Language-specific vulnerability detection patterns for JavaScript/TypeScript, Python, Go, Java, Ruby, and PHP. Provides regex patterns and grep commands for common security vulnerabilities.

vuln-patterns-core

6
from Zate/cc-plugins

Universal vulnerability detection patterns applicable across all programming languages. Includes hardcoded secrets, SQL/command injection, path traversal, and configuration file patterns.

scan

6
from Zate/cc-plugins

Run a security assessment using deterministic static analysis tools with LLM-powered triage

results

6
from Zate/cc-plugins

View the most recent security scan results without re-running the scan

remediation-library

6
from Zate/cc-plugins

Index of security remediation skills. Routes to specialized skills for injection, cryptography, authentication, and configuration vulnerabilities.

remediation-injection

6
from Zate/cc-plugins

Security fix patterns for injection vulnerabilities (SQL, Command, XSS). Provides language-specific code examples showing vulnerable and secure implementations.

remediation-crypto

6
from Zate/cc-plugins

Security fix patterns for cryptographic vulnerabilities (weak algorithms, insecure randomness, TLS issues). Provides language-specific secure implementations.

remediation-config

6
from Zate/cc-plugins

Security fix patterns for configuration and deployment vulnerabilities (path traversal, debug mode, security headers). Provides language-specific secure implementations.

remediation-auth

6
from Zate/cc-plugins

Security fix patterns for authentication and authorization vulnerabilities (credentials, JWT, deserialization, access control). Provides language-specific secure implementations.

fix

6
from Zate/cc-plugins

Fix or guide remediation for a specific security finding from the latest scan report