@aiiware/aii 0.5.4 → 0.6.1

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.
Files changed (3) hide show
  1. package/README.md +76 -0
  2. package/bin/aii +761 -385
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -65,10 +65,14 @@ In agent mode, use these commands:
65
65
  /context View context window usage
66
66
  /init Generate AGENTS.md for your project
67
67
  /init --with-hooks Generate AGENTS.md + hooks.json template
68
+ /init help Show /init usage and options
69
+ /hooks help Show /hooks usage and options
68
70
  /memory View loaded project instructions
69
71
  /memory reload Hot-reload instructions without restart
70
72
  /hooks View configured hooks
71
73
  /hooks reload Hot-reload hooks without restart
74
+ /skills List available skills
75
+ /commit Generate commit message and commit
72
76
  /exit Exit the session
73
77
  ```
74
78
 
@@ -223,10 +227,81 @@ Extend agent behavior with custom scripts. Create `.aii/hooks.json` to run scrip
223
227
 
224
228
  # View configured hooks
225
229
  /hooks
230
+
231
+ # Show usage and options
232
+ /hooks help
226
233
  ```
227
234
 
228
235
  Hooks let you add validation, logging, or approval gates. See the [hooks documentation](https://aiiware.com/docs/hooks) for details.
229
236
 
237
+ ## Skills (v0.6.0)
238
+
239
+ Skills are reusable agent prompts that extend Aii with specialized capabilities.
240
+
241
+ ### Invoking Skills
242
+
243
+ **Slash commands** (explicit):
244
+
245
+ ```bash
246
+ /commit # Generate commit message and execute
247
+ /commit --dry-run # Preview commit message only
248
+ /review-pr 123 # Review a pull request
249
+ ```
250
+
251
+ **Natural language** (the agent invokes skills automatically):
252
+
253
+ ```text
254
+ > commit my changes
255
+ > review the latest PR
256
+ > generate a commit message for these updates
257
+ ```
258
+
259
+ ### Built-in Skills
260
+
261
+ | Skill | Description |
262
+ |--------------|------------------------------------------|
263
+ | `/commit` | Generate conventional commit messages |
264
+ | `/review-pr` | Review PRs with quality checklist |
265
+
266
+ ### Installing Skills
267
+
268
+ Install skills from GitHub repositories:
269
+
270
+ ```bash
271
+ # Shorthand format (owner/repo/skill-name)
272
+ /skills install aiiware/skills/code-review # Install to project (.aii/skills/)
273
+ /skills install aiiware/skills/refactor --user # Install globally (~/.aii/skills/)
274
+
275
+ # Absolute GitHub URL format
276
+ /skills install https://github.com/aiiware/skills/tree/main/code-review
277
+ /skills install https://github.com/aiiware/skills/tree/main/refactor --user
278
+
279
+ # Management commands
280
+ /skills uninstall code-review # Uninstall a skill
281
+ /skills # List all skills
282
+ ```
283
+
284
+ **Shorthand format**: `owner/repo/skill-name` resolves to `github.com/owner/repo/skill-name/SKILL.md`
285
+
286
+ **URL format**: Use absolute GitHub URLs when you need to install from a specific branch or path.
287
+
288
+ ### Creating Custom Skills
289
+
290
+ Create skills in `.aii/skills/my-skill/SKILL.md`:
291
+
292
+ ```markdown
293
+ ---
294
+ name: my-skill
295
+ description: Does something useful
296
+ allowed-tools: Bash Read Grep
297
+ ---
298
+
299
+ # My Skill
300
+
301
+ Instructions for the agent...
302
+ Use $ARGUMENTS for user input.
303
+ ```
304
+
230
305
  ## System Commands
231
306
 
232
307
  ```bash
@@ -244,6 +319,7 @@ aii --version # Show version
244
319
  - **Multiple Providers**: Claude, GPT, Gemini, DeepSeek
245
320
  - **Prompt Templates**: Pre-built templates for common tasks
246
321
  - **Project Instructions**: Teach the agent your conventions with AGENTS.md
322
+ - **Skills System**: Extend with reusable agent skills (`/commit`, `/review-pr`)
247
323
  - **Input History**: Navigate previous inputs with arrow keys
248
324
  - **Cancellation**: Press Esc to cancel any request
249
325