List files that would be analyzed for documentation.
<execution> ## STRICT RULES - VIOLATION IS FORBIDDEN- •Run ONLY this exact command:
npx agents-reverse-engineer@latest discover $ARGUMENTS - •DO NOT add ANY flags the user did not explicitly type
- •If user typed nothing after
/are-discover, run with ZERO flags
Steps
- •
Display version: Read
.claude/ARE-VERSIONand show the user:agents-reverse-engineer vX.Y.Z - •
Run the discover command in the background using
run_in_background: true:bashnpx agents-reverse-engineer@latest discover $ARGUMENTS
- •
Monitor progress by polling
.agents-reverse-engineer/progress.log:- •Wait ~10 seconds (use
sleep 10in Bash), then use the Read tool to read.agents-reverse-engineer/progress.log(use theoffsetparameter to read only the last ~20 lines for long files) - •Show the user a brief progress update
- •Check whether the background task has completed using
TaskOutputwithblock: false - •Repeat until the background task finishes
- •Important: Keep polling even if progress.log doesn't exist yet (the command takes a few seconds to start writing)
- •Wait ~10 seconds (use
- •
On completion, read the full background task output and report number of files found.