@aiiware/aii 0.5.4 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -0
- package/bin/aii +730 -376
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,6 +69,8 @@ In agent mode, use these commands:
|
|
|
69
69
|
/memory reload Hot-reload instructions without restart
|
|
70
70
|
/hooks View configured hooks
|
|
71
71
|
/hooks reload Hot-reload hooks without restart
|
|
72
|
+
/skills List available skills
|
|
73
|
+
/commit Generate commit message and commit
|
|
72
74
|
/exit Exit the session
|
|
73
75
|
```
|
|
74
76
|
|
|
@@ -227,6 +229,74 @@ Extend agent behavior with custom scripts. Create `.aii/hooks.json` to run scrip
|
|
|
227
229
|
|
|
228
230
|
Hooks let you add validation, logging, or approval gates. See the [hooks documentation](https://aiiware.com/docs/hooks) for details.
|
|
229
231
|
|
|
232
|
+
## Skills (v0.6.0)
|
|
233
|
+
|
|
234
|
+
Skills are reusable agent prompts that extend Aii with specialized capabilities.
|
|
235
|
+
|
|
236
|
+
### Invoking Skills
|
|
237
|
+
|
|
238
|
+
**Slash commands** (explicit):
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
/commit # Generate commit message and execute
|
|
242
|
+
/commit --dry-run # Preview commit message only
|
|
243
|
+
/review-pr 123 # Review a pull request
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
**Natural language** (the agent invokes skills automatically):
|
|
247
|
+
|
|
248
|
+
```text
|
|
249
|
+
> commit my changes
|
|
250
|
+
> review the latest PR
|
|
251
|
+
> generate a commit message for these updates
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### Built-in Skills
|
|
255
|
+
|
|
256
|
+
| Skill | Description |
|
|
257
|
+
|--------------|------------------------------------------|
|
|
258
|
+
| `/commit` | Generate conventional commit messages |
|
|
259
|
+
| `/review-pr` | Review PRs with quality checklist |
|
|
260
|
+
|
|
261
|
+
### Installing Skills
|
|
262
|
+
|
|
263
|
+
Install skills from GitHub repositories:
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
# Shorthand format (owner/repo/skill-name)
|
|
267
|
+
/skills install aiiware/skills/code-review # Install to project (.aii/skills/)
|
|
268
|
+
/skills install aiiware/skills/refactor --user # Install globally (~/.aii/skills/)
|
|
269
|
+
|
|
270
|
+
# Absolute GitHub URL format
|
|
271
|
+
/skills install https://github.com/aiiware/skills/tree/main/code-review
|
|
272
|
+
/skills install https://github.com/aiiware/skills/tree/main/refactor --user
|
|
273
|
+
|
|
274
|
+
# Management commands
|
|
275
|
+
/skills uninstall code-review # Uninstall a skill
|
|
276
|
+
/skills # List all skills
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
**Shorthand format**: `owner/repo/skill-name` resolves to `github.com/owner/repo/skill-name/SKILL.md`
|
|
280
|
+
|
|
281
|
+
**URL format**: Use absolute GitHub URLs when you need to install from a specific branch or path.
|
|
282
|
+
|
|
283
|
+
### Creating Custom Skills
|
|
284
|
+
|
|
285
|
+
Create skills in `.aii/skills/my-skill/SKILL.md`:
|
|
286
|
+
|
|
287
|
+
```markdown
|
|
288
|
+
---
|
|
289
|
+
name: my-skill
|
|
290
|
+
description: Does something useful
|
|
291
|
+
allowed-tools: Bash Read Grep
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
# My Skill
|
|
295
|
+
|
|
296
|
+
Instructions for the agent...
|
|
297
|
+
Use $ARGUMENTS for user input.
|
|
298
|
+
```
|
|
299
|
+
|
|
230
300
|
## System Commands
|
|
231
301
|
|
|
232
302
|
```bash
|
|
@@ -244,6 +314,7 @@ aii --version # Show version
|
|
|
244
314
|
- **Multiple Providers**: Claude, GPT, Gemini, DeepSeek
|
|
245
315
|
- **Prompt Templates**: Pre-built templates for common tasks
|
|
246
316
|
- **Project Instructions**: Teach the agent your conventions with AGENTS.md
|
|
317
|
+
- **Skills System**: Extend with reusable agent skills (`/commit`, `/review-pr`)
|
|
247
318
|
- **Input History**: Navigate previous inputs with arrow keys
|
|
248
319
|
- **Cancellation**: Press Esc to cancel any request
|
|
249
320
|
|