getaura 0.1.6 → 0.1.7
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/.claude-plugin/plugin.json +8 -0
- package/README.md +1 -1
- package/dist/index.js +743 -291
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
- package/plugin/skills/fix/SKILL.md +20 -0
- package/plugin/skills/next/SKILL.md +19 -0
- package/plugin/skills/scan/SKILL.md +16 -0
- package/plugin/skills/setup/SKILL.md +16 -0
- package/templates/skills/aura/SKILL.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "getaura",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Aura helps you and your coding agent follow best practices while you vibe code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"templates",
|
|
12
|
-
"README.md"
|
|
12
|
+
"README.md",
|
|
13
|
+
".claude-plugin",
|
|
14
|
+
"plugin"
|
|
13
15
|
],
|
|
14
16
|
"engines": {
|
|
15
17
|
"node": ">=22"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: fix
|
|
3
|
+
description: Fix the most serious Aura finding, or the one the user names, through a pull request they review.
|
|
4
|
+
argument-hint: "[action or finding id]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
allowed-tools: Bash
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Fix: $ARGUMENTS
|
|
10
|
+
|
|
11
|
+
If the user named nothing to fix, run `aura next --json` (or `npx getaura next --json` if `aura` isn't found) and take the first step. Otherwise use the action or finding the user named.
|
|
12
|
+
|
|
13
|
+
Follow the step's `delivery`:
|
|
14
|
+
|
|
15
|
+
- `pr`: run `aura apply <action> --yes`. Tell the user a pull request was opened and what to check before merging.
|
|
16
|
+
- `agent-fix`: run `aura fix <action> --yes` to have Aura's agent make the change in a pull request. If that fails because there's no pilot key, run `aura fix <action> --agent` and complete the task file it writes yourself: on a new branch `aura/<id>`, keep the change small, run the tests, lint and type check, then open a pull request with `gh pr create` and a plain-language description.
|
|
17
|
+
- `guide`: run `aura guide <topic>` and walk the user through it step by step. These are things they do in a dashboard, not in the code.
|
|
18
|
+
- `checklist`: run `aura inventory --json`, show the user which services and accounts Aura found, and ask them to run `aura inventory` in their own terminal to record who owns each account.
|
|
19
|
+
|
|
20
|
+
Afterwards, run `aura scan --json` and tell the user the new score. Never disable, weaken or ignore a check to raise the score, and never repeat a secret value.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: next
|
|
3
|
+
description: Show Aura's recommended next steps for this repo and let the user pick which to do.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
allowed-tools: Bash
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Run `aura next --json` from the repository root. If `aura` isn't found, run `npx getaura next --json` instead.
|
|
9
|
+
|
|
10
|
+
Show the steps as a short numbered list, most important first. For each: the title, why it matters in one plain sentence, how many points it's worth, and what doing it involves (a pull request to review, Aura's agent making a fix, a guide to follow, or a few questions).
|
|
11
|
+
|
|
12
|
+
Ask the user which ones they want done. For each one they choose, follow its `delivery`:
|
|
13
|
+
|
|
14
|
+
- `pr`: run `aura apply <action id> --yes` and tell the user what to check in the pull request.
|
|
15
|
+
- `agent-fix`: run `aura fix <action id> --yes` (without a pilot key, `aura fix <action id> --agent`, then complete the task file it writes).
|
|
16
|
+
- `guide`: run `aura guide <topic>` and walk the user through it.
|
|
17
|
+
- `checklist`: run `aura inventory --json`, show the user which services and accounts Aura found, and ask them to run `aura inventory` in their own terminal to record who owns each account.
|
|
18
|
+
|
|
19
|
+
Afterwards, run `aura scan --json` and tell the user the new score.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: scan
|
|
3
|
+
description: Check this repo's Aura score and explain what Aura found, in plain language.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
allowed-tools: Bash
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Run `aura scan --json` from the repository root. If `aura` isn't found, run `npx getaura scan --json` instead.
|
|
9
|
+
|
|
10
|
+
Then tell the user, in plain language for a non-technical founder:
|
|
11
|
+
|
|
12
|
+
1. The Aura score (0–100) and its label, and the score for each category.
|
|
13
|
+
2. The most serious findings first: what could happen to the business or its users, not just the technical term. Group the rest instead of listing everything.
|
|
14
|
+
3. One clear recommendation for what to do next, and offer to do it (`/aura:fix`).
|
|
15
|
+
|
|
16
|
+
Never print, quote or repeat a secret value, even partly; refer to it by file and line. Say "Aura found…" for Aura's results and "I think…" for your own view.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: setup
|
|
3
|
+
description: Set Aura up in this repo, or refresh its setup.
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
allowed-tools: Bash
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Run `npx getaura@latest init --yes --agent claude` from the repository root and follow the steps it prints:
|
|
9
|
+
|
|
10
|
+
- **Sign-in link**: ask the user to open it and paste their pilot key in the browser. Never ask for the key in chat. If the command stops while waiting, run it again once they've finished: it carries on with the same link.
|
|
11
|
+
- **Product brief questions**: suggest answers from the code and let the user confirm or correct them, save them as it describes, and run the command it gives.
|
|
12
|
+
- **The `aura` command**: if it says to install it, run that command so the user can type `aura scan` from now on.
|
|
13
|
+
|
|
14
|
+
If a command fails because the network or writing outside the project is blocked (sandboxed agents such as Codex), ask the user to approve running it with network access. Aura needs the network for sign-in and npm, and writes its settings to `~/.aura`.
|
|
15
|
+
|
|
16
|
+
Finish by telling the user their Aura score and the most important next step.
|
|
@@ -55,7 +55,7 @@ Always use the non-interactive flags below so nothing waits for input.
|
|
|
55
55
|
- `pr`: run the step's command (`aura apply <action> --yes`). Tell the user a PR was opened and what to check.
|
|
56
56
|
- `agent-fix`: run `aura fix <id> --agent`, then complete the task file yourself (see below), or run `aura fix <id> --yes` if the user prefers Aura's agent.
|
|
57
57
|
- `guide`: run `aura guide <topic>` and walk the user through it. These steps happen in vendor dashboards, so the user does them.
|
|
58
|
-
- `checklist`: run `aura inventory
|
|
58
|
+
- `checklist`: run `aura inventory --json`, show the user which services and accounts Aura found, and ask them to run `aura inventory` in their own terminal to record who owns each account.
|
|
59
59
|
3. After any change, run `aura scan --json` again and tell the user the new score.
|
|
60
60
|
|
|
61
61
|
## Task files
|
|
@@ -66,7 +66,7 @@ When `.aura/tasks/<id>.md` exists, it is your brief. Follow it exactly:
|
|
|
66
66
|
2. Make the change the task describes. Keep it small and focused on that task.
|
|
67
67
|
3. Run the tests, lint and typecheck. Fix anything you broke.
|
|
68
68
|
4. Commit, push and open a PR with `gh pr create`. Write the PR body in plain language: what changed, why it matters, and what the user should check before merging.
|
|
69
|
-
5. Run `aura scan` to confirm the finding is gone.
|
|
69
|
+
5. Run `aura scan --json` to confirm the finding is gone.
|
|
70
70
|
|
|
71
71
|
## Rules
|
|
72
72
|
|