agent-skills-standard 2.6.5 → 2.7.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 CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  **Sync 242 AI coding standards to any project in one command.** Works with Cursor, Claude Code, GitHub Copilot, Gemini, Windsurf, Trae, Kiro, and Roo.
7
7
 
8
- **Current release:** `v2.6.5` — `ags sync` manifest-check fix for repo-root LICENSE/NOTICE; skill validator accepts package directories under `scripts/`; SkillSpector security scanning, pull request evaluation gates, and verified release tags.
8
+ **Current release:** `v2.7.0` — `ags sync` manifest-check fix for repo-root LICENSE/NOTICE; skill validator accepts package directories under `scripts/`; SkillSpector security scanning, pull request evaluation gates, and verified release tags.
9
9
 
10
10
  ```bash
11
11
  npx agent-skills-standard@latest init # detect your stack
@@ -40,6 +40,7 @@ The result: your AI agent reads `AGENTS.md`, follows the router to the right cat
40
40
  | :--------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
41
41
  | `init` | Detects your tech stack (Flutter, React, Go, etc.) and creates a `.skillsrc` config |
42
42
  | `sync` | Fetches skills from the registry, writes to agent folders, generates `_INDEX.md` + `AGENTS.md` |
43
+ | `skills` | Category-first manager: pick categories (and optionally nested skills or a published category release), review once, then save and sync every configured agent |
43
44
  | `mcp` | Manage the optional MCP server integration (status / enable / disable / scope / install / uninstall / snippets) — see [Optional: MCP Runtime Enforcement](#optional-mcp-runtime-enforcement) below |
44
45
  | `validate` | Checks your custom skills against format and token standards |
45
46
  | `feedback` | Submits improvement suggestions to the registry |
@@ -62,6 +63,33 @@ The result: your AI agent reads `AGENTS.md`, follows the router to the right cat
62
63
  - `--force <paths...>`: Overwrite specified user-edited files with upstream versions (a backup is created first).
63
64
  - **Automatic Backups**: Destructive changes (pruning or forced overwrites) automatically snapshot previous files into `.ags/backups/<timestamp>/` (retaining the 3 most recent backups).
64
65
 
66
+ ### Category Manager: `ags skills`
67
+
68
+ `ags skills` adds or removes guidance without editing YAML or remembering release tags, and without a second `sync` run.
69
+
70
+ **Normal flow:**
71
+
72
+ 1. Existing categories are checked; categories the current metadata cannot describe remain checked by default, are marked unavailable, and can be explicitly removed.
73
+ 2. Pick categories. A new category uses its published release automatically; an existing pin is never changed.
74
+ 3. Before the final Apply confirmation, the manager prepares the selection and reviews the exact source commits and effective selected packages. Existing revoked pins keep their ref and show the registry's advisory.
75
+ 4. Confirm Apply once. The command uses that same prepared package set, saves `.skillsrc`, installs skills and managed indexes for every configured agent, and finalizes the lockfile.
76
+
77
+ **Advanced flow (optional):**
78
+
79
+ - `Customize skills in a category` opens that category at its effective ref with its nested skills checked according to the current selection.
80
+ - Search matches skill names and descriptions. Selections outside the current view are never dropped.
81
+ - Category-wide entries gain exact exclusions; allowlists only change their own members. Imported members are listed individually at the declaring category's ref: excluding one adds a qualified exclusion while the declared `category/*` expression stays, and an import already excluded with an exact id can be re-enabled. Qualified identities are never mixed with same-named local skills.
82
+ - `Use the published category release` changes that category's ref explicitly; the full ref change appears in the review before saving.
83
+ - New categories that use the Product Management category start with only the two foundation skills.
84
+
85
+ **Write and failure behavior:**
86
+
87
+ - Cancel, an unchanged selection, and non-TTY invocation write nothing. Non-TTY exits nonzero.
88
+ - A real selection change sets `skills_mode: explicit`, so later ordinary `sync` will not re-add removed categories or excluded detected skills.
89
+ - A preflight failure saves and installs nothing.
90
+ - A failure after saving keeps the saved desired selection, reports the stage, and offers an in-command Retry. If `.skillsrc` changed on disk, the command reloads and asks you to review again instead of overwriting it. If saving failed, the attempted selection was not saved; reopen `ags skills`, review, and Apply again after fixing the reported failure. If installation failed after saving and you decline Retry, run `agent-skills-standard sync` after fixing the reported failure; when sync asks “Do you want to update .skillsrc with these versions?”, answer No to keep the saved refs.
91
+ - Retained files (`custom_overrides`, `prune: false`, edited or unowned files) are reported as "applied with retained files", not as deleted.
92
+
65
93
  ### Restore & Uninstall
66
94
 
67
95
  - `ags restore [--list] [id]`: List backups or restore files from `.ags/backups/<id>` (replace-only; does not delete newer files or modify lockfile).
@@ -104,6 +132,8 @@ registry: https://github.com/HoangNguyen0403/agent-skills-standard
104
132
  agents: [cursor, copilot, claude]
105
133
  workflows_ref: workflows-v1.0.0 # pinned workflows release tag
106
134
  specialists_ref: specialists-v2.0.0 # pinned specialists release tag
135
+ # skills_mode: explicit # set by `ags skills` on a real change:
136
+ # # ordinary sync stops re-adding removed categories
107
137
  skills:
108
138
  react:
109
139
  ref: react-v1.3.1