Skip to content

Commit 9989534

Browse files
committed
Document skill install/remove commands in the readme
Covers home and local install paths, confirmation, -y/--yes, and remove.
1 parent e3473c1 commit 9989534

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

readme.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,33 @@ dnx go -- clean --all
123123
Unused download locations and published binaries are periodically cleaned up
124124
in a detached background process. Apps you run regularly are never affected.
125125

126+
## Agent skill
127+
128+
`go#` ships a bundled [agent skill](skills/go-sharp/SKILL.md) that teaches coding
129+
agents how to author and run file-based C# apps with `dnx go`. Install it for
130+
global use or into the current repo:
131+
132+
```console
133+
# Install to ~/.agents/skills/go-sharp/SKILL.md (prompts for confirmation)
134+
dnx go -- skill
135+
136+
# Install for the current project under .agents/skills/go-sharp/SKILL.md
137+
dnx go -- skill .
138+
139+
# Skip the confirmation prompt
140+
dnx go -- skill -y
141+
dnx go -- skill . --yes
142+
143+
# Remove a previously installed skill (same path rules as install)
144+
dnx go -- skill remove
145+
dnx go -- skill remove .
146+
dnx go -- skill remove -y
147+
```
148+
149+
With no directory, the skill is written under the user home directory. Pass a
150+
base directory (commonly `.`) to install under that location instead. Either
151+
form overwrites an existing install.
152+
126153
## Performance
127154

128155
The main advantage of `go#` is **fast unchanged re-runs**.

0 commit comments

Comments
 (0)