@drunkcoding/agents-and-skills 0.0.26 → 0.0.27

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.
@@ -12,7 +12,7 @@
12
12
  "name": "tech-graph",
13
13
  "source": "./plugins/tech-graph",
14
14
  "description": "6-step wizard for technical diagrams (SVG/PNG) via fireworks-tech-graph",
15
- "version": "0.0.26",
15
+ "version": "0.0.27",
16
16
  "category": "diagram",
17
17
  "keywords": [
18
18
  "diagram",
@@ -26,7 +26,7 @@
26
26
  "name": "html-effectiveness",
27
27
  "source": "./plugins/html-effectiveness",
28
28
  "description": "Generate self-contained interactive HTML reports from 20 upstream templates via a conversational agent.",
29
- "version": "0.0.26",
29
+ "version": "0.0.27",
30
30
  "category": "reports",
31
31
  "keywords": [
32
32
  "html",
@@ -41,7 +41,7 @@
41
41
  "name": "plugin-validator",
42
42
  "source": "./plugins/plugin-validator",
43
43
  "description": "Orchestrated validator for Claude Code plugins — validates skills, agents, commands, and hooks across every plugin under plugins/**.",
44
- "version": "0.0.26",
44
+ "version": "0.0.27",
45
45
  "category": "tooling",
46
46
  "keywords": [
47
47
  "validation",
@@ -57,7 +57,7 @@
57
57
  "name": "team-share",
58
58
  "source": "./plugins/team-share",
59
59
  "description": "Share Claude plugin settings with a team, scaffold CLAUDE.md when needed, refresh the Understand-Anything graph, and stage the onboarding artifacts for review.",
60
- "version": "0.0.26",
60
+ "version": "0.0.27",
61
61
  "category": "tooling",
62
62
  "keywords": [
63
63
  "onboarding",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drunkcoding/agents-and-skills",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Personal collection of Claude Code skills and agents, installable via `npx skills`.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "html-effectiveness",
3
3
  "displayName": "HTML Effectiveness Reports",
4
- "version": "0.0.26",
4
+ "version": "0.0.27",
5
5
  "description": "Generate self-contained interactive HTML reports from 20 upstream templates via a conversational agent.",
6
6
  "author": {
7
7
  "name": "Steven Hoang"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "plugin-validator",
3
3
  "displayName": "Plugin Validator",
4
- "version": "0.0.26",
4
+ "version": "0.0.27",
5
5
  "description": "Orchestrated validator for Claude Code plugins — validates skills, agents, commands, and hooks across every plugin under plugins/**.",
6
6
  "author": {
7
7
  "name": "Steven Hoang"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "team-share",
3
3
  "displayName": "Team Share",
4
- "version": "0.0.26",
4
+ "version": "0.0.27",
5
5
  "description": "Share Claude plugin settings with a team, scaffold CLAUDE.md when needed, refresh the Understand-Anything graph, and stage the onboarding artifacts for review.",
6
6
  "author": {
7
7
  "name": "Steven Hoang"
@@ -91,6 +91,69 @@ Notes:
91
91
  - The plugin must already be available in the `claude-plugins-official` marketplace (it is already listed in `enabledPlugins` in the repo settings).
92
92
  - If the team prefers a custom `CLAUDE.md` template, commit one *before* running this command so the guard `[ -f CLAUDE.md ]` skips the plugin step.
93
93
 
94
+ ### 1c — Inject the Understand-Anything code-research section into `CLAUDE.md`
95
+
96
+ Goal: every teammate's AI assistant knows to use the Understand-Anything commands when doing code research, without duplicating the section on re-runs.
97
+
98
+ ```bash
99
+ # Only append when the section marker is not already present (idempotent).
100
+ if grep -qF '## Code research with Understand-Anything' CLAUDE.md 2>/dev/null; then
101
+ echo "✅ Understand-Anything section already in CLAUDE.md — skipping."
102
+ else
103
+ cat >> CLAUDE.md << 'EOF'
104
+
105
+ ## Code research with Understand-Anything
106
+
107
+ This project uses the [Understand-Anything](https://github.com/Egonex-AI/Understand-Anything) plugin to maintain an interactive knowledge graph of the codebase. **Always prefer these commands over raw grep/glob when researching code structure, relationships, or logic:**
108
+
109
+ | Goal | Command |
110
+ |------|---------|
111
+ | Explore the full codebase graph | `/understand` |
112
+ | Ask a free-form question about the code | `/understand-chat <question>` |
113
+ | Deep-dive into a specific file or function | `/understand-explain <path/symbol>` |
114
+ | See impact of your current changes before committing | `/understand-diff` |
115
+ | Open the interactive visual dashboard | `/understand-dashboard` |
116
+ | Extract business-domain knowledge (domains, flows, steps) | `/understand-domain` |
117
+ | Generate an onboarding guide for new teammates | `/understand-onboard` |
118
+
119
+ The knowledge graph lives in `.understand-anything/knowledge-graph.json` and is kept up-to-date automatically on every commit (auto-update is enabled). Re-run `/understand` after large refactors to force a full rebuild, or pass `--force` to rebuild from scratch.
120
+ EOF
121
+ echo "✅ Understand-Anything code-research section appended to CLAUDE.md."
122
+ fi
123
+ ```
124
+
125
+ Notes:
126
+ - The section is appended at the end of `CLAUDE.md` so it does not disturb existing content.
127
+ - The marker string `## Code research with Understand-Anything` is used as the idempotency guard — do not rename the heading without updating the guard.
128
+ - If `MIRRORS.md` / `AGENTS.md` or other agent-config files exist alongside `CLAUDE.md` (e.g. for non-Claude runtimes), apply the same append to them so all agent runtimes get the guidance. The loop below covers `AGENTS.md` and `MIRRORS.md` — add more filenames to the `for` list if the project uses additional agent-config files.
129
+
130
+ ```bash
131
+ # Mirror to AGENTS.md / MIRRORS.md if they exist (non-Claude runtimes).
132
+ for f in AGENTS.md MIRRORS.md; do
133
+ if [ -f "$f" ] && ! grep -qF '## Code research with Understand-Anything' "$f" 2>/dev/null; then
134
+ cat >> "$f" << 'EOF'
135
+
136
+ ## Code research with Understand-Anything
137
+
138
+ This project uses the [Understand-Anything](https://github.com/Egonex-AI/Understand-Anything) plugin to maintain an interactive knowledge graph of the codebase. **Always prefer these commands over raw grep/glob when researching code structure, relationships, or logic:**
139
+
140
+ | Goal | Command |
141
+ |------|---------|
142
+ | Explore the full codebase graph | `/understand` |
143
+ | Ask a free-form question about the code | `/understand-chat <question>` |
144
+ | Deep-dive into a specific file or function | `/understand-explain <path/symbol>` |
145
+ | See impact of your current changes before committing | `/understand-diff` |
146
+ | Open the interactive visual dashboard | `/understand-dashboard` |
147
+ | Extract business-domain knowledge (domains, flows, steps) | `/understand-domain` |
148
+ | Generate an onboarding guide for new teammates | `/understand-onboard` |
149
+
150
+ The knowledge graph lives in `.understand-anything/knowledge-graph.json` and is kept up-to-date automatically on every commit (auto-update is enabled). Re-run `/understand` after large refactors to force a full rebuild, or pass `--force` to rebuild from scratch.
151
+ EOF
152
+ echo "✅ Understand-Anything section also appended to $f."
153
+ fi
154
+ done
155
+ ```
156
+
94
157
  ---
95
158
 
96
159
  ## Step 2 — Build / refresh the knowledge graph (auto-update on)
@@ -122,7 +185,9 @@ git lfs install
122
185
  git lfs track ".understand-anything/*.json"
123
186
 
124
187
  # Stage — but DO NOT commit. A human reviews and commits.
125
- git add .gitattributes .gitignore .claude/settings.json .understand-anything/
188
+ git add .gitattributes .gitignore .claude/settings.json .understand-anything/ CLAUDE.md
189
+ # Also stage AGENTS.md / MIRRORS.md if they were modified.
190
+ for f in AGENTS.md MIRRORS.md; do [ -f "$f" ] && git add "$f"; done
126
191
 
127
192
  git status
128
193
  git lfs ls-files # confirm the graph json is LFS-tracked
@@ -134,7 +199,8 @@ git lfs ls-files # confirm the graph json is LFS-tracked
134
199
 
135
200
  Summarize for the user:
136
201
  - Which plugins/marketplaces were written into `.claude/settings.json` (call out any private ones).
137
- - `CLAUDE.md` status: already existed vs created by `claude-code-setup`.
202
+ - `CLAUDE.md` status: already existed vs created by `claude-code-setup`; Understand-Anything section added vs already present.
203
+ - `AGENTS.md` status (if applicable): Understand-Anything section added vs already present / not found.
138
204
  - Graph status: created vs incrementally updated; `autoUpdate` on/off.
139
205
  - What is staged and confirmed LFS-tracked.
140
206
  - Remind them: **review, then commit yourself** (e.g. `git commit -m "chore: share team onboarding (claude settings + CLAUDE.md + understand graph)"`). The auto-update hook keeps the graph fresh on every future commit.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tech-graph",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Step-by-step wizard for generating technical diagrams as SVG+PNG.",
5
5
  "author": {
6
6
  "name": "steven"