Deprecate inactive skills
This commit is contained in:
@@ -9,6 +9,7 @@ The domain glossary lives at `$(xdg-user-dir DOCUMENTS)/ai-artifacts/projects/sk
|
||||
Context, ADRs, specs, and tasks live under `$(xdg-user-dir DOCUMENTS)/ai-artifacts/projects/skills/`.
|
||||
- Skill source lives under `skills/<name>/`.
|
||||
Do not edit generated links under `.agents/skills/` or `.claude/skills/` as source.
|
||||
- Deprecated skill source lives under `deprecated/<name>/`.
|
||||
- Run `nix flake check` before considering a repository-wide change complete.
|
||||
The check builds every packaged skill plus the Home Manager module and shell hook.
|
||||
- The dev shell may place Nix-delivered skills into `.agents/skills/` and maintain `.claude/skills` as a compatibility symlink.
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
description: Review a tiny CLI against the 10 AXI principles and produce a report card.
|
||||
---
|
||||
## Prompt
|
||||
There is a small command-line tool named `greet` in the current directory (`./greet`).
|
||||
Review it against the 10 AXI (Agent eXperience Interface) principles by running it black-box, and give me a report card that scores each principle with a concrete verdict and a fix for anything that isn't a clean pass.
|
||||
|
||||
## Hard assertions
|
||||
```sh
|
||||
grep -qiE 'AXI|principle' "$OUTPUT"
|
||||
grep -qiE 'PASS|PARTIAL|FAIL' "$OUTPUT"
|
||||
```
|
||||
|
||||
## Soft criteria
|
||||
- The review scores each of the 10 AXI principles with an explicit verdict grounded in the tool's actual observed output, not in guesses about its source.
|
||||
- Every principle that is not a clean pass carries a concrete, actionable fix.
|
||||
- The review is driven by running the `greet` tool and citing what it emitted, rather than by generic CLI advice.
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# greet: a tiny CLI, deliberately imperfect, for exercising an AXI review.
|
||||
|
||||
usage() {
|
||||
cat <<'EOF'
|
||||
greet — say hello
|
||||
|
||||
USAGE:
|
||||
greet hello <name> print a greeting
|
||||
greet json <name> print the greeting as JSON
|
||||
greet --help show this help
|
||||
EOF
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
--help|-h|help)
|
||||
usage
|
||||
;;
|
||||
hello)
|
||||
if [ -z "$2" ]; then
|
||||
echo "error: missing name" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Hello, $2!"
|
||||
;;
|
||||
json)
|
||||
if [ -z "$2" ]; then
|
||||
echo "error: missing name" >&2
|
||||
exit 1
|
||||
fi
|
||||
printf '{"greeting":"Hello","name":"%s"}\n' "$2"
|
||||
;;
|
||||
"")
|
||||
usage >&2
|
||||
exit 2
|
||||
;;
|
||||
*)
|
||||
echo "error: unknown command '$1'" >&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user