Skip to content

fix: replace remaining hardcoded lists with dynamic discovery#311

Merged
jpelaez-23blocks merged 1 commit intomainfrom
fix/dynamic-discovery-review-fixes
Mar 24, 2026
Merged

fix: replace remaining hardcoded lists with dynamic discovery#311
jpelaez-23blocks merged 1 commit intomainfrom
fix/dynamic-discovery-review-fixes

Conversation

@jpelaez-23blocks
Copy link
Copy Markdown
Contributor

Summary

Code review of PR #310 found three more hardcoded lists that missed the dynamic discovery treatment:

  • verify-installation.sh skills — hardcoded list of 6 skills, missing agent-identity
  • verify-installation.sh AMP scripts — hardcoded 12 of 14 scripts
  • install-plugin.sh AMP verification — hardcoded 10 of 14 scripts

All three now auto-discover from the plugin directory using the same glob pattern as installation.

Also fixed banner alignment (cosmetic — 3 lines were 1 char short).

Test plan

  • bash -n syntax check on both files
  • yarn test — 545 pass

🤖 Generated with Claude Code

Code review found three more hardcoded lists that missed the dynamic
discovery treatment:
- verify-installation.sh: skill list missing agent-identity
- verify-installation.sh: AMP script list (12 of 14)
- install-plugin.sh: AMP script verification (10 of 14)

All three now auto-discover from the plugin directory, consistent
with how skill installation and verification already work.
Also fixed banner alignment (cosmetic).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jpelaez-23blocks jpelaez-23blocks merged commit 1c03d65 into main Mar 24, 2026
5 checks passed
@jpelaez-23blocks jpelaez-23blocks deleted the fix/dynamic-discovery-review-fixes branch March 24, 2026 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant