mirror of
https://github.com/obra/superpowers.git
synced 2026-04-21 00:49:06 +08:00
feat: echo skill base directory in use-skill
This commit is contained in:
@@ -232,6 +232,8 @@ function runUseSkill(skillName) {
|
|||||||
console.log(`# Supporting tools and docs are in ${skillDirectory}`);
|
console.log(`# Supporting tools and docs are in ${skillDirectory}`);
|
||||||
console.log('# ============================================');
|
console.log('# ============================================');
|
||||||
console.log('');
|
console.log('');
|
||||||
|
console.log(`Base directory for this skill: ${skillDirectory}`);
|
||||||
|
console.log('');
|
||||||
|
|
||||||
// Display the skill content (without frontmatter)
|
// Display the skill content (without frontmatter)
|
||||||
console.log(content);
|
console.log(content);
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
- Explicitly tells the model that using-superpowers is already loaded to prevent redundant skill loading
|
- Explicitly tells the model that using-superpowers is already loaded to prevent redundant skill loading
|
||||||
- Consolidated bootstrap content generation into shared `getBootstrapContent()` helper
|
- Consolidated bootstrap content generation into shared `getBootstrapContent()` helper
|
||||||
- Cleaner single-implementation approach (removed fallback pattern)
|
- Cleaner single-implementation approach (removed fallback pattern)
|
||||||
|
- **Codex Skill Loader**: `superpowers-codex use-skill` now prints `Base directory for this skill: ...`, mirroring Claude Code’s output so agents immediately know where the skill’s tools live (fixes confusion around locating binaries like `codex-subagent`).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user