agents/projects/code-health/hub/references/discovery_and_batch_selection.md
Follow this workflow to identify candidates to process.
Discovery: Run the unified discovery script candidate_finder.py and
pass the path to the skill's plugin script:
python3 agents/projects/code-health/hub/scripts/candidate_finder.py find --plugin agents/projects/code-health/<skill_name>/scripts/find_candidates.py
Present Candidates/Batch: Output the candidate details or candidate batch to the user. Format the output to list:
Proceed Confirmation: Prompt the user using ask_question. The choices
must include the package name for the "Yes" action and "No, discard this
batch". If the user rejects the batch, repeat this workflow to find the next
candidate batch while excluding the rejected paths.