Install treemon-cli skill to ~/.copilot and update SKILL.md guidance#73
Merged
Conversation
- Extend Install-Skill in treemon.ps1 to also copy SKILL.md into ~/.copilot/skills/treemon-cli/ when ~/.copilot exists, mirroring the existing Claude block. The 'no supported AI tool directories found' warning now lists both targets. - Update src/Cli/skill/SKILL.md to add the 'Default workflow when this skill is explicitly invoked' section, expand the 'When to use' list, and tweak the 'tm worktrees' description.
6fc4563 to
6e47994
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Two related gaps in how the
treemon-cliskill is shipped:Install-Skillintreemon.ps1only installedSKILL.mdto~/.claude/skills/treemon-cli/. The GitHub Copilot CLI uses the same skill format under~/.copilot/skills/, but installs there had to be done by hand.~/.copilot/skills/treemon-cli/SKILL.md(adding a "Default workflow when this skill is explicitly invoked" section) had drifted from the repo source of truth atsrc/Cli/skill/SKILL.md.Changes
treemon.ps1/Install-Skill— Add a second install block for~/.copilot/skills/treemon-cli/, mirroring the existing.claudeblock. Same shape, sameJoin-Pathstyle, same$installedarray (now also collects"GitHub Copilot CLI"). The "no supported AI tool directories found" warning now lists both~/.claude/skills/and~/.copilot/skills/as missing instead of only Claude.src/Cli/skill/SKILL.md— Port the pending manual edit into the repo source:## Default workflow when this skill is explicitly invokedsection describing the explicit-invocation workflow (pick branch name → write prompt file →tm new→tm launch→ report back).### When the user did NOT invoke this skill explicitlysubsection clarifying auto-load behaviour.tm worktreesdescription to mention looking up a freshly created worktree's path.treemon.ps1 deployalready callsInstall-Skill, so deploys now pick up the Copilot destination automatically.Tests
treemon.ps1 install-skillreports installs for both clients, andGet-FileHashon all three locations matches:No F# changes, so no
dotnet build/dotnet testruns were required.