Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Problem loading superpowers due to slash in branch

Open robw-adobe opened this issue 6 months ago • 2 comments

Before opening, please confirm:

Operating System

darwin

Kiro Version

0.12.184

Bug Description

The bug

Kiro's "Import from GitHub" parsed https://github.com/gaumondp/superpowers-kiro/tree/feat/kiro-support/.kiro-power by splitting on the first / after /tree/. That works for single-segment branch names but breaks for branches with slashes like feat/kiro-support. The result:

field wrong value Kiro stored correct value name -kiro-power superpowers repositoryBranch feat feat/kiro-support pathInRepo kiro-support/.kiro-power .kiro-power The branch feat doesn't exist, so the clone failed and the power never appeared as installable.

What I changed

Rewrote that entry in ~/.kiro/powers/registries/user-added.json with the correct values, and renamed it to superpowers so the entry has a sensible name. Other entries are untouched.

Next steps for you

In Kiro, open the Powers panel and refresh / reconnect (or reload the window). The superpowers entry should now be visible. Click Install. Kiro will clone gaumondp/superpowers-kiro at branch feat/kiro-support and pull in POWER.md . Heads up: the INSTALL.md for that fork says you may also need to copy the skills from obra/superpowers/skills/ into ~/.kiro/skills/ for the skill-driven workflow to work. The .kiro-power POWER.md file is just the power's documentation; the skills it references live in the parent repo's skills/ directory. Worth filing a bug with Kiro about the URL parser not handling branches that contain slashes.

Steps to Reproduce

  1. open powers and add a new power via URL and use https://github.com/gaumondp/superpowers-kiro/tree/feat/kiro-support/.kiro-power
  2. You will see a toast that says it is installed, but nothing is.
  3. The user.json will have the wrong name for the superpowers.

Expected Behavior

Should show the installed power, and/or not add garbage that doesn't display

Conversation ID

25dea8bf-b9f9-4cba-80bb-be982605a1a1 25dea8bf-b9f9-4cba-80bb-be982605a1a1 25dea8bf-b9f9-4cba-80bb-be982605a1a1 25dea8bf-b9f9-4cba-80bb-be982605a1a1 25dea8bf-b9f9-4cba-80bb-be982605a1a1

Additional Context

No response

robw-adobe avatar May 16 '26 01:05 robw-adobe

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues report problems with power installation from GitHub repositories, with similar failure patterns where installation appears to succeed but the power doesn't actually get installed properly

github-actions[bot] avatar May 16 '26 01:05 github-actions[bot]

This issue has been automatically closed as it appears to be a duplicate of #5932.

If you believe this is incorrect, please comment on this issue and a maintainer will review it.

github-actions[bot] avatar May 20 '26 00:05 github-actions[bot]