Skip to content

Bug: /design skill hangs on longer prompts regardless of flags #408

@doutorprestes

Description

@doutorprestes

/design skill hangs on longer prompts regardless of flags

Environment:

  • Command Code v0.27.0
  • Model: default (taste-1)
  • Platform: Linux (x64), Node v24.15.0
  • Host: local machine

Steps to reproduce:

  1. Run cmd with the /design skill
  2. Submit a comprehensive design review prompt (covering UI audit of a multi-page application)
  3. Command Code hangs indefinitely — no progress, no output, no error
  4. Must be killed externally (SIGKILL)

Observed behavior:

  • /design works reliably with --max-turns 10 and a short prompt (2-3 sentences)
  • With longer prompts (describing a full site review) or without --max-turns limit, the process freezes after the first response
  • The hang is not a timeout — it persists for hours with no CPU activity
  • Occurs regardless of --max-turns, -p (non-interactive), or interactive flags
  • No error logs are written; no crash report

Expected behavior:

  • /design should process prompts of any reasonable length
  • Should handle comprehensive design reviews spanning multiple pages/sections
  • Should either complete, provide partial output, or return a clear error

Impact:
Blocks using /design for meaningful site-wide design audits. Only trivial single-component prompts work.

Additional context:
This was discovered while trying to run a full-site design audit of a React 19 application. The same review was successfully completed using alternative tools (impeccable detector + manual UI audit scripts), confirming the prompt content itself is valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions