agentboot 0.1.0 → 0.3.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.
Files changed (78) hide show
  1. package/README.md +9 -8
  2. package/agentboot.config.json +4 -1
  3. package/package.json +2 -2
  4. package/scripts/cli.ts +465 -18
  5. package/scripts/compile.ts +724 -75
  6. package/scripts/dev-sync.ts +1 -1
  7. package/scripts/lib/config.ts +259 -1
  8. package/scripts/lib/frontmatter.ts +3 -1
  9. package/scripts/validate.ts +12 -7
  10. package/website/docusaurus.config.ts +117 -0
  11. package/website/package-lock.json +18448 -0
  12. package/website/package.json +47 -0
  13. package/website/sidebars.ts +53 -0
  14. package/website/src/css/custom.css +23 -0
  15. package/website/src/pages/index.module.css +23 -0
  16. package/website/src/pages/index.tsx +125 -0
  17. package/website/static/.nojekyll +0 -0
  18. package/website/static/CNAME +1 -0
  19. package/website/static/img/favicon.ico +0 -0
  20. package/website/static/img/logo.svg +1 -0
  21. package/.github/ISSUE_TEMPLATE/persona-request.md +0 -62
  22. package/.github/ISSUE_TEMPLATE/quality-feedback.md +0 -67
  23. package/.github/workflows/cla.yml +0 -25
  24. package/.github/workflows/validate.yml +0 -49
  25. package/.idea/agentboot.iml +0 -9
  26. package/.idea/misc.xml +0 -6
  27. package/.idea/modules.xml +0 -8
  28. package/.idea/vcs.xml +0 -6
  29. package/CLAUDE.md +0 -230
  30. package/CONTRIBUTING.md +0 -168
  31. package/PERSONAS.md +0 -156
  32. package/core/instructions/baseline.instructions.md +0 -133
  33. package/core/instructions/security.instructions.md +0 -186
  34. package/core/personas/code-reviewer/SKILL.md +0 -175
  35. package/core/personas/security-reviewer/SKILL.md +0 -233
  36. package/core/personas/test-data-expert/SKILL.md +0 -234
  37. package/core/personas/test-generator/SKILL.md +0 -262
  38. package/core/traits/audit-trail.md +0 -182
  39. package/core/traits/confidence-signaling.md +0 -172
  40. package/core/traits/critical-thinking.md +0 -129
  41. package/core/traits/schema-awareness.md +0 -132
  42. package/core/traits/source-citation.md +0 -174
  43. package/core/traits/structured-output.md +0 -199
  44. package/docs/ci-cd-automation.md +0 -548
  45. package/docs/claude-code-reference/README.md +0 -21
  46. package/docs/claude-code-reference/agentboot-coverage.md +0 -484
  47. package/docs/claude-code-reference/feature-inventory.md +0 -906
  48. package/docs/cli-commands-audit.md +0 -112
  49. package/docs/cli-design.md +0 -924
  50. package/docs/concepts.md +0 -1117
  51. package/docs/config-schema-audit.md +0 -121
  52. package/docs/configuration.md +0 -645
  53. package/docs/delivery-methods.md +0 -758
  54. package/docs/developer-onboarding.md +0 -342
  55. package/docs/extending.md +0 -448
  56. package/docs/getting-started.md +0 -298
  57. package/docs/knowledge-layer.md +0 -464
  58. package/docs/marketplace.md +0 -822
  59. package/docs/org-connection.md +0 -570
  60. package/docs/plans/architecture.md +0 -2429
  61. package/docs/plans/design.md +0 -2018
  62. package/docs/plans/prd.md +0 -1862
  63. package/docs/plans/stack-rank.md +0 -261
  64. package/docs/plans/technical-spec.md +0 -2755
  65. package/docs/privacy-and-safety.md +0 -807
  66. package/docs/prompt-optimization.md +0 -1071
  67. package/docs/test-plan.md +0 -972
  68. package/docs/third-party-ecosystem.md +0 -496
  69. package/domains/compliance-template/README.md +0 -173
  70. package/domains/compliance-template/traits/compliance-aware.md +0 -228
  71. package/examples/enterprise/agentboot.config.json +0 -184
  72. package/examples/minimal/agentboot.config.json +0 -46
  73. package/tests/REGRESSION-PLAN.md +0 -705
  74. package/tests/TEST-PLAN.md +0 -111
  75. package/tests/cli.test.ts +0 -705
  76. package/tests/pipeline.test.ts +0 -608
  77. package/tests/validate.test.ts +0 -278
  78. package/tsconfig.json +0 -62
@@ -1,342 +0,0 @@
1
- # Developer Onboarding — Agentic Training Assist
2
-
3
- Lightweight help for developers who are new to agentic development. Not an LMS.
4
- Not a course. Just the right tip at the right moment, plus a curated path for
5
- people who want to go deeper.
6
-
7
- ---
8
-
9
- ## Why This Matters
10
-
11
- The #1 barrier to agentic adoption is not tooling — it's humans.
12
-
13
- - Developer installs Claude Code. Opens it. Types "help me". Gets a wall of text.
14
- Closes it. Goes back to their IDE. **Lost them.**
15
- - Developer tries `/review-code`. Gets findings they don't understand. Doesn't know
16
- how to act on them. Stops using it. **Lost them.**
17
- - Developer sees a colleague get 10x value from AI. Tries to replicate it. Types
18
- vague prompts. Gets vague results. Concludes "AI doesn't work for me." **Lost them.**
19
-
20
- AgentBoot personas are useless if developers don't know how to work with them.
21
- A small investment in onboarding — the right tip at the right time — pays for
22
- itself in adoption.
23
-
24
- ---
25
-
26
- ## What AgentBoot Provides (Not What It Builds)
27
-
28
- > **Note:** This document describes the planned onboarding experience. Items marked
29
- > with a phase in the "What AgentBoot Needs to Build" table at the end are not yet
30
- > implemented. The designs here guide implementation.
31
-
32
- AgentBoot is not an LMS. It doesn't build courses, track completions, or issue
33
- certificates. It provides **contextual assists** — tips that appear when and where
34
- they're useful — and **curated links** to external resources for people who want depth.
35
-
36
- ### 1. First-Session Orientation
37
-
38
- When a developer first opens Claude Code in a repo with AgentBoot personas, they
39
- see a brief orientation. This is generated as part of the CLAUDE.md that AgentBoot
40
- syncs:
41
-
42
- ```markdown
43
- ## Welcome — Quick Start
44
-
45
- This repo uses AgentBoot personas for code review, security, and testing.
46
-
47
- Try these now:
48
- /review-code Review your current changes
49
- /review-security Security-focused review
50
- /gen-tests Generate tests for a file
51
-
52
- Tips:
53
- - Be specific: "/review-code src/auth/login.ts" beats "/review-code"
54
- - Personas give structured findings (CRITICAL/ERROR/WARN/INFO)
55
- - You can ask follow-up questions about any finding
56
- - Your conversations are private (see privacy policy)
57
-
58
- New to AI coding tools? Run: /learn
59
- ```
60
-
61
- This is ~80 tokens. It's in the CLAUDE.md so it loads once per session. After a
62
- developer has seen it a few times, it fades into background context (Claude still
63
- knows about it but doesn't repeat it unsolicited).
64
-
65
- ### 2. `/learn` Skill — Contextual Training
66
-
67
- A skill that provides tips based on what the developer is doing right now. Not a
68
- static tutorial — a context-aware assistant.
69
-
70
- ```yaml
71
- ---
72
- name: learn
73
- description: Tips and guidance for working with AI coding tools and AgentBoot personas
74
- argument-hint: "[topic]"
75
- disable-model-invocation: true
76
- ---
77
- ```
78
-
79
- ```
80
- $ /learn
81
-
82
- What would you like to learn about?
83
-
84
- Getting Started
85
- ├── How to write effective prompts
86
- ├── How code review personas work
87
- ├── How to read persona findings
88
- └── Your first AI-assisted PR
89
-
90
- Going Deeper
91
- ├── Customizing personas for your team
92
- ├── Writing your own gotchas rules
93
- ├── Understanding traits and composition
94
- └── Cost optimization tips
95
-
96
- Quick Reference
97
- ├── All available personas (what each one does)
98
- ├── Keyboard shortcuts
99
- ├── Privacy model (what's private, what's not)
100
- └── Getting help
101
-
102
- Or ask me anything: /learn how do I review only one file?
103
- ```
104
-
105
- ```
106
- $ /learn how do I review only one file?
107
-
108
- To review a specific file:
109
-
110
- /review-code src/auth/login.ts
111
-
112
- You can also review a specific function:
113
-
114
- "Review the getUserById function in src/services/user-service.ts
115
- for null safety and error handling"
116
-
117
- Tip: specific requests give better results. Instead of reviewing an
118
- entire file, point to what changed or what concerns you:
119
-
120
- "I just added rate limiting to the login endpoint. Review my
121
- implementation in src/api/auth-controller.ts lines 45-80"
122
- ```
123
-
124
- ```
125
- $ /learn how do I read persona findings?
126
-
127
- Persona findings use severity levels:
128
-
129
- CRITICAL Something that blocks release or violates compliance.
130
- Action: Stop. Fix immediately.
131
- Example: "SQL injection vulnerability in user input handling"
132
-
133
- ERROR Must fix before merge. A bug or significant issue.
134
- Action: Fix before opening PR.
135
- Example: "Missing null check before database call"
136
-
137
- WARN Should address but not blocking. A concern worth noting.
138
- Action: Consider fixing. OK to merge with justification.
139
- Example: "Error handler swallows the exception silently"
140
-
141
- INFO Observation. Not a problem.
142
- Action: Read and acknowledge. No fix needed.
143
- Example: "This function could be simplified with optional chaining"
144
-
145
- Each finding includes:
146
- - Location (file:line)
147
- - Description (what's wrong)
148
- - Suggestion (how to fix)
149
- - Confidence (HIGH/MEDIUM/LOW — how sure the persona is)
150
- - Citation (where the rule comes from)
151
-
152
- If you disagree with a finding, you can ask: "Explain why this is an ERROR.
153
- I think this is intentional because..."
154
- The persona will either clarify or acknowledge the exception.
155
- ```
156
-
157
- ### 3. Contextual Tips (Passive, Low-Cost)
158
-
159
- AgentBoot can generate optional tips that appear in persona output when the system
160
- detects patterns suggesting the developer is new:
161
-
162
- **First invocation of a persona:**
163
- ```
164
- [INFO] First time using /review-code? Tip: ask follow-up questions about
165
- any finding. "Why is this an ERROR?" or "Show me how to fix this."
166
- ```
167
-
168
- **Developer types a vague prompt:**
169
- ```
170
- [TIP] Your prompt "review this" could be more effective as:
171
- "Review src/api/users.ts for the changes I made to the pagination logic."
172
- Specific prompts → specific, useful findings.
173
- ```
174
-
175
- **Developer rephrases the same question:**
176
- ```
177
- [TIP] You might be looking for a more specific answer. Try:
178
- - Pointing to a specific file or function
179
- - Describing what you expected vs. what happened
180
- - Asking for an example instead of an explanation
181
- ```
182
-
183
- These tips are:
184
- - Generated by the persona itself (part of the persona prompt, not a separate system)
185
- - Triggered by pattern matching, not surveillance
186
- - Rate-limited (show max 1 tip per session to avoid annoyance)
187
- - Disable-able by the developer (`/config` → tips: off)
188
-
189
- ### 4. Curated External Resources
190
-
191
- AgentBoot doesn't build training content. It curates links to the best existing
192
- resources, organized by skill level.
193
-
194
- ```
195
- $ /learn resources
196
-
197
- Curated Resources for Agentic Development
198
- ──────────────────────────────────────────
199
-
200
- Beginner (start here)
201
- ├── Anthropic: "Getting Started with Claude Code"
202
- │ https://code.claude.com/docs/en/quickstart
203
- ├── Anthropic: "Common Workflows"
204
- │ https://code.claude.com/docs/en/common-workflows
205
- └── AgentBoot: "Getting Started"
206
- docs/getting-started.md
207
-
208
- Intermediate
209
- ├── Anthropic: "Using CLAUDE.md Files"
210
- │ https://claude.com/blog/using-claude-md-files
211
- ├── Anthropic: "Skills and Agent Skills"
212
- │ https://code.claude.com/docs/en/skills
213
- ├── systemprompt.io: "Claude Code Organisation Rollout Playbook"
214
- │ https://systemprompt.io/guides/claude-code-organisation-rollout
215
- └── AgentBoot: "Extending with Domain Layers"
216
- docs/extending.md
217
-
218
- Advanced
219
- ├── Anthropic: "Hooks Reference"
220
- │ https://code.claude.com/docs/en/hooks
221
- ├── Anthropic: "Demystifying Evals for AI Agents"
222
- │ https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
223
- ├── Trail of Bits: "Claude Code Config"
224
- │ https://github.com/trailofbits/claude-code-config
225
- └── AgentBoot: "Claude Code Feature Inventory"
226
- docs/claude-code-reference/feature-inventory.md
227
-
228
- Cost Management
229
- └── Anthropic: "Manage Costs Effectively"
230
- https://code.claude.com/docs/en/costs
231
- ```
232
-
233
- This list lives in a skill (updatable without rebuilding) and links to external
234
- resources so AgentBoot doesn't have to maintain training content.
235
-
236
- ### 5. Team Onboarding Checklist
237
-
238
- For platform teams rolling out AgentBoot, a generated checklist for new developer
239
- onboarding:
240
-
241
- ```
242
- $ agentboot onboarding-checklist
243
-
244
- New Developer Onboarding Checklist
245
- ───────────────────────────────────
246
-
247
- □ Claude Code installed and authenticated
248
- → Run: claude --version
249
-
250
- □ Org plugin installed (or managed settings active)
251
- → Run: /plugin list | grep acme
252
- → Or: check for .claude/ in your repo
253
-
254
- □ Try your first code review
255
- → Make a small change, then: /review-code
256
- → Read the findings. Ask a follow-up question about one.
257
-
258
- □ Try your first test generation
259
- → Pick a file with low coverage: /gen-tests src/services/user-service.ts
260
-
261
- □ Explore available personas
262
- → Type / in Claude Code to see all available skills
263
- → Try /learn for tips
264
-
265
- □ (Optional) Set up personal preferences
266
- → ~/.claude/CLAUDE.md for personal instructions
267
- → /config to adjust model, theme, etc.
268
-
269
- □ (Optional) Run /insights after your first week
270
- → Private analytics on your usage patterns
271
-
272
- Print this checklist: agentboot onboarding-checklist --format markdown
273
- Share with your team: agentboot onboarding-checklist --format email
274
- ```
275
-
276
- This is generated from the org's actual AgentBoot config — the persona names,
277
- skill invocations, and marketplace info are real, not generic examples.
278
-
279
- ### 6. Org-Authored Tips
280
-
281
- The org's platform team can add custom onboarding content that's specific to their
282
- stack, conventions, and personas. This goes in the personas repo and gets synced:
283
-
284
- ```
285
- org-personas/
286
- └── onboarding/
287
- ├── welcome.md # First-session content (added to CLAUDE.md)
288
- ├── tips.md # Tips for /learn skill
289
- └── resources.md # Org-specific resource links
290
- ```
291
-
292
- ```markdown
293
- <!-- onboarding/tips.md -->
294
-
295
- ## Acme-Specific Tips
296
-
297
- - Our code reviewer checks for our API versioning convention. If you get a
298
- WARN about missing version headers, see: confluence.acme.com/api-versioning
299
-
300
- - The security reviewer is strict about SQL parameterization. This is because
301
- we had a production incident in Q3 2025. It's not optional.
302
-
303
- - For database work, the Postgres gotchas rules activate automatically.
304
- Read them: .claude/rules/gotchas-postgres.md — they'll save you hours.
305
- ```
306
-
307
- This is the "institutional knowledge transfer" that happens when a senior engineer
308
- sits with a new hire — except it's encoded, version-controlled, and available 24/7.
309
-
310
- ---
311
-
312
- ## What This is NOT
313
-
314
- - **Not an LMS.** No courses, modules, progress tracking, or certificates.
315
- - **Not mandatory.** Developers who don't want tips disable them. No tracking of
316
- who completed what.
317
- - **Not a gatekeeper.** Nobody is blocked from using personas until they "complete
318
- training." The personas work from day one; the training helps you get more from them.
319
- - **Not built by AgentBoot.** AgentBoot curates and delivers. The actual training
320
- content comes from Anthropic's docs, community resources, and the org's own
321
- institutional knowledge.
322
-
323
- ---
324
-
325
- ## What AgentBoot Needs to Build
326
-
327
- | Component | Phase | Description |
328
- |-----------|-------|-------------|
329
- | First-session welcome in CLAUDE.md | V1 | ~80 tokens with quick start commands and tips |
330
- | `/learn` skill | V1 | Contextual help, topic browser, "ask me anything" |
331
- | Curated resource links | V1 | Static list in `/learn resources`, updatable |
332
- | Onboarding checklist generator | V1 | `agentboot onboarding-checklist` from org config |
333
- | Contextual tips in persona output | V1.5 | First-invocation hints, vague-prompt nudges |
334
- | Org-authored onboarding content | V1.5 | `onboarding/` directory in personas repo |
335
- | Resource link freshness checking | V2 | Verify external links still work |
336
-
337
- ---
338
-
339
- *See also:*
340
- - [`docs/prompt-optimization.md`](prompt-optimization.md#7-developer-prompt-development-type-2--always-private) — developer prompt development tools
341
- - [`docs/privacy-and-safety.md`](privacy-and-safety.md) — all training tools are private
342
- - [`docs/delivery-methods.md`](delivery-methods.md) — per-segment user journeys