Skip to content

Commit 6d4258e

Browse files
authored
Add markbind skills command to pull MarkBind Skills from GitHub (#2893)
1 parent 3132728 commit 6d4258e

7 files changed

Lines changed: 1330 additions & 8 deletions

File tree

docs/userGuide/cliCommands.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Options:
2828
2929
Setup Commands
3030
init|i [options] [root] init a markbind site
31+
skills Manage AI coding skills for this project
3132
3233
Site Commands
3334
serve|s [options] [root] Build then serve a website from a directory
@@ -73,6 +74,50 @@ Commands:
7374
</div>
7475
<hr><!-- ========================================================================== -->
7576

77+
<div id="markbind-skills">
78+
79+
### `skills` Command
80+
<br>
81+
82+
**Format:** `markbind skills [command] [options]`
83+
84+
**Description:** Manages AI coding skills for the current project.
85+
86+
Use `markbind skills --help` to view all available subcommands.
87+
88+
<panel header="**Subcommands** :fas-cogs:" type="minimal" expanded>
89+
90+
**Subcommands** :fas-cogs:
91+
92+
* `install`<br>
93+
Downloads skills from the MarkBind skills repository and installs them into `.agents/skills`.
94+
During installation, MarkBind prompts you to choose additional agent directories for optional symlinks.
95+
96+
* **Format:** `markbind skills install [options]`
97+
* **Options:**
98+
* `--ref <ref>`: Uses a specific git tag or branch instead of the MarkBind-version-matched ref.
99+
* `--force`: Overwrites existing installed skills.
100+
* **{{ icon_examples }}**
101+
* `markbind skills install` : Installs skills using the default ref for your MarkBind version.
102+
* `markbind skills install --ref v7.0.0` : Installs skills from the `v7.0.0` ref.
103+
* `markbind skills install --force` : Reinstalls skills and overwrites existing installed skills.
104+
105+
* `update`<br>
106+
Re-downloads skills for the current MarkBind version and overwrites the existing installation.
107+
108+
* **Format:** `markbind skills update [options]`
109+
* **Options:**
110+
* `--ref <ref>`: Uses a specific git tag or branch instead of the MarkBind-version-matched ref.
111+
* **{{ icon_examples }}**
112+
* `markbind skills update` : Updates installed skills using the default ref for your MarkBind version.
113+
* `markbind skills update --ref v7.0.0` : Updates installed skills from the `v7.0.0` ref.
114+
115+
</panel>
116+
117+
</div>
118+
119+
<hr><!-- ========================================================================== -->
120+
76121
### `serve` Command
77122
<br>
78123

docs/userGuide/gettingStarted.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ You can add the `--help` flag to any command to show the help screen. <br>
9898
<span id="tip_body">
9999
The `init` command populates the project with the [default project template](https://markbind-init-typical.netlify.app/). Refer to [templates](templates.html) section to learn how to use a different template.
100100
</span>
101+
</include>
102+
103+
<include src="tip.md" boilerplate >
104+
<span id="tip_body">
105+
If you use AI coding assistants, you can install project-level skills using `markbind skills install`. See [CLI Commands: `skills`](cliCommands.html#markbind-skills).
106+
</span>
101107
</include>
102108

103109
</tab>

0 commit comments

Comments
 (0)