agentboot 0.1.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/.github/ISSUE_TEMPLATE/persona-request.md +62 -0
- package/.github/ISSUE_TEMPLATE/quality-feedback.md +67 -0
- package/.github/workflows/cla.yml +25 -0
- package/.github/workflows/validate.yml +49 -0
- package/.idea/agentboot.iml +9 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CLA.md +98 -0
- package/CLAUDE.md +230 -0
- package/CONTRIBUTING.md +168 -0
- package/LICENSE +191 -0
- package/NOTICE +4 -0
- package/PERSONAS.md +156 -0
- package/README.md +172 -0
- package/agentboot.config.json +207 -0
- package/bin/agentboot.js +17 -0
- package/core/gotchas/README.md +35 -0
- package/core/instructions/baseline.instructions.md +133 -0
- package/core/instructions/security.instructions.md +186 -0
- package/core/personas/code-reviewer/SKILL.md +175 -0
- package/core/personas/code-reviewer/persona.config.json +11 -0
- package/core/personas/security-reviewer/SKILL.md +233 -0
- package/core/personas/security-reviewer/persona.config.json +11 -0
- package/core/personas/test-data-expert/SKILL.md +234 -0
- package/core/personas/test-data-expert/persona.config.json +10 -0
- package/core/personas/test-generator/SKILL.md +262 -0
- package/core/personas/test-generator/persona.config.json +10 -0
- package/core/traits/audit-trail.md +182 -0
- package/core/traits/confidence-signaling.md +172 -0
- package/core/traits/critical-thinking.md +129 -0
- package/core/traits/schema-awareness.md +132 -0
- package/core/traits/source-citation.md +174 -0
- package/core/traits/structured-output.md +199 -0
- package/docs/ci-cd-automation.md +548 -0
- package/docs/claude-code-reference/README.md +21 -0
- package/docs/claude-code-reference/agentboot-coverage.md +484 -0
- package/docs/claude-code-reference/feature-inventory.md +906 -0
- package/docs/cli-commands-audit.md +112 -0
- package/docs/cli-design.md +924 -0
- package/docs/concepts.md +1117 -0
- package/docs/config-schema-audit.md +121 -0
- package/docs/configuration.md +645 -0
- package/docs/delivery-methods.md +758 -0
- package/docs/developer-onboarding.md +342 -0
- package/docs/extending.md +448 -0
- package/docs/getting-started.md +298 -0
- package/docs/knowledge-layer.md +464 -0
- package/docs/marketplace.md +822 -0
- package/docs/org-connection.md +570 -0
- package/docs/plans/architecture.md +2429 -0
- package/docs/plans/design.md +2018 -0
- package/docs/plans/prd.md +1862 -0
- package/docs/plans/stack-rank.md +261 -0
- package/docs/plans/technical-spec.md +2755 -0
- package/docs/privacy-and-safety.md +807 -0
- package/docs/prompt-optimization.md +1071 -0
- package/docs/test-plan.md +972 -0
- package/docs/third-party-ecosystem.md +496 -0
- package/domains/compliance-template/README.md +173 -0
- package/domains/compliance-template/traits/compliance-aware.md +228 -0
- package/examples/enterprise/agentboot.config.json +184 -0
- package/examples/minimal/agentboot.config.json +46 -0
- package/package.json +63 -0
- package/repos.json +1 -0
- package/scripts/cli.ts +1069 -0
- package/scripts/compile.ts +1000 -0
- package/scripts/dev-sync.ts +149 -0
- package/scripts/lib/config.ts +137 -0
- package/scripts/lib/frontmatter.ts +61 -0
- package/scripts/sync.ts +687 -0
- package/scripts/validate.ts +421 -0
- package/tests/REGRESSION-PLAN.md +705 -0
- package/tests/TEST-PLAN.md +111 -0
- package/tests/cli.test.ts +705 -0
- package/tests/pipeline.test.ts +608 -0
- package/tests/validate.test.ts +278 -0
- package/tsconfig.json +62 -0
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# Contributing to AgentBoot
|
|
2
|
+
|
|
3
|
+
AgentBoot is a community project. This document explains what we are building together,
|
|
4
|
+
what belongs in the core versus a domain layer, and the quality bar for contributions.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## What is in scope
|
|
9
|
+
|
|
10
|
+
### New core personas
|
|
11
|
+
A persona belongs in core if it addresses a universal development concern — something
|
|
12
|
+
any engineering team in any industry would benefit from. Good examples: an architecture
|
|
13
|
+
reviewer, a documentation reviewer, a dependency audit persona.
|
|
14
|
+
|
|
15
|
+
A persona does NOT belong in core if it assumes specific frameworks, compliance regimes,
|
|
16
|
+
business domains, or organizational structures. Those belong in a domain layer.
|
|
17
|
+
|
|
18
|
+
### New core traits
|
|
19
|
+
Traits are behavioral building blocks. A trait belongs in core if it describes a
|
|
20
|
+
reusable cognitive stance or output discipline that is domain-agnostic — the way
|
|
21
|
+
`critical-thinking` or `structured-output` are. If the trait only makes sense in the
|
|
22
|
+
context of a specific domain, it belongs in a domain layer instead.
|
|
23
|
+
|
|
24
|
+
### Domain templates
|
|
25
|
+
New domain templates under `domains/` are welcome. A domain template shows teams in
|
|
26
|
+
a specific vertical (healthcare, fintech, defense, government) how to build a compliance
|
|
27
|
+
layer on top of AgentBoot core without modifying core itself. Domain templates must
|
|
28
|
+
be generic enough that any team in that vertical can use them as a starting point.
|
|
29
|
+
They must not include real regulatory text, proprietary content, or org-specific rules.
|
|
30
|
+
|
|
31
|
+
### Bug fixes
|
|
32
|
+
Any defect in a persona, trait, instruction fragment, build script, sync script, or
|
|
33
|
+
CI configuration is in scope.
|
|
34
|
+
|
|
35
|
+
### Documentation
|
|
36
|
+
Improvements to any file under `docs/`, the main `README.md`, or inline documentation
|
|
37
|
+
inside trait and persona files are always welcome.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## What is NOT in scope
|
|
42
|
+
|
|
43
|
+
- **Org-specific personas.** A persona built for one company's engineering standards is
|
|
44
|
+
not useful to anyone else. Fork the repo or use the `extend` field in
|
|
45
|
+
`agentboot.config.json` to keep it private.
|
|
46
|
+
- **Proprietary domain content.** Do not contribute traits or personas that contain
|
|
47
|
+
internal compliance rules, internal coding standards, or references to non-public
|
|
48
|
+
specifications.
|
|
49
|
+
- **Opinions about coding styles.** AgentBoot ships agnostic on tabs vs. spaces,
|
|
50
|
+
semicolons, naming conventions, etc. Personas that enforce any particular style
|
|
51
|
+
convention belong in org forks, not in core.
|
|
52
|
+
- **Tool-specific integrations that are not widely applicable.** An integration with
|
|
53
|
+
a niche internal tool is not core material.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## How to propose a new persona
|
|
58
|
+
|
|
59
|
+
**Issue first, then PR.** Do not open a PR for a new persona without a corresponding
|
|
60
|
+
issue that has been acknowledged by a maintainer.
|
|
61
|
+
|
|
62
|
+
1. Open an issue using the [Persona Request](.github/ISSUE_TEMPLATE/persona-request.md)
|
|
63
|
+
template.
|
|
64
|
+
2. Describe the use case clearly. What problem does this persona solve? What does a
|
|
65
|
+
team look like before and after deploying it?
|
|
66
|
+
3. List the traits it would compose. If it requires a new trait, say so and explain why
|
|
67
|
+
existing traits are insufficient.
|
|
68
|
+
4. Provide an example invocation — a realistic prompt a developer would give it and
|
|
69
|
+
the output they would expect.
|
|
70
|
+
5. Explain why this belongs in core rather than a domain extension (see scope rules above).
|
|
71
|
+
6. Wait for maintainer acknowledgment before writing code. This prevents wasted effort
|
|
72
|
+
on proposals that don't fit the project direction.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Trait design principles
|
|
77
|
+
|
|
78
|
+
Traits are the foundation of AgentBoot's composability. Bad traits make the whole system
|
|
79
|
+
worse. Good traits follow these principles:
|
|
80
|
+
|
|
81
|
+
**Generic, not specific.** A trait describes a cognitive stance or output discipline, not
|
|
82
|
+
a checklist of domain rules. `critical-thinking` is a stance. "Check that HIPAA audit
|
|
83
|
+
logs are present" is a domain rule and belongs in a domain layer.
|
|
84
|
+
|
|
85
|
+
**Composable, not monolithic.** A trait does one thing. If you are writing a trait that
|
|
86
|
+
covers two unrelated concerns, split it. Traits that try to do everything end up doing
|
|
87
|
+
nothing well.
|
|
88
|
+
|
|
89
|
+
**No domain assumptions.** A trait must not assume any particular framework, language,
|
|
90
|
+
industry, compliance regime, or organizational structure. If your trait works for a
|
|
91
|
+
Spring Boot API team but not for a React frontend team, it is not a core trait.
|
|
92
|
+
|
|
93
|
+
**Configurable where it matters.** Look at `critical-thinking` as the model: the trait
|
|
94
|
+
defines the behavior at each weight level, and the persona that composes it sets the
|
|
95
|
+
weight. Traits that have meaningful axes of variation should expose them in frontmatter
|
|
96
|
+
rather than hardcoding a single behavior.
|
|
97
|
+
|
|
98
|
+
**Negative space matters.** Every trait must include a "what not to do" section. Personas
|
|
99
|
+
that lack this section tend to produce output that is exhaustive but not useful.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Persona quality bar
|
|
104
|
+
|
|
105
|
+
A persona is not ready to merge until it meets all of these requirements.
|
|
106
|
+
|
|
107
|
+
**Frontmatter.** Every persona file must include a YAML frontmatter block with:
|
|
108
|
+
- `id`: the slash-command identifier (e.g., `review-code`)
|
|
109
|
+
- `name`: human-readable display name
|
|
110
|
+
- `version`: semantic version starting at `1.0.0`
|
|
111
|
+
- `traits`: list of trait IDs with weights where applicable
|
|
112
|
+
- `scope`: one of `file`, `pr`, `repo`, `session`
|
|
113
|
+
- `output_format`: one of `structured`, `prose`, or `mixed`
|
|
114
|
+
|
|
115
|
+
**System prompt.** The persona must have a clear, complete system prompt that defines
|
|
116
|
+
its role, its operating assumptions, and its mandate. The system prompt should not be
|
|
117
|
+
a list of rules — it should read like a job description.
|
|
118
|
+
|
|
119
|
+
**Output format specification.** The persona must specify exactly what its output looks
|
|
120
|
+
like. If the output is structured, show the schema. If it is prose, describe the
|
|
121
|
+
sections. Ambiguous output specs lead to inconsistent persona behavior across models.
|
|
122
|
+
|
|
123
|
+
**What-not-to-do section.** Every persona must have a section describing anti-patterns —
|
|
124
|
+
things the persona must not do, tempting behaviors that would make it less useful, and
|
|
125
|
+
scope boundaries it must not cross.
|
|
126
|
+
|
|
127
|
+
**Example.** Every new persona must include at least one worked example: a realistic
|
|
128
|
+
input and the expected output. This is the primary way reviewers verify that the persona
|
|
129
|
+
does what it claims.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Contributor License Agreement
|
|
134
|
+
|
|
135
|
+
First-time contributors must sign our CLA. When you open your first pull request,
|
|
136
|
+
the CLA bot will post a comment with instructions. This is a one-time process that
|
|
137
|
+
takes about 30 seconds — you sign by posting a comment on the PR.
|
|
138
|
+
|
|
139
|
+
The CLA grants the project maintainers the right to relicense your contributions if
|
|
140
|
+
needed for the long-term sustainability of the project. Your contributions remain
|
|
141
|
+
attributed to you. The full agreement is in [`CLA.md`](CLA.md).
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## PR checklist
|
|
146
|
+
|
|
147
|
+
Before opening a PR, verify:
|
|
148
|
+
|
|
149
|
+
- [ ] `npm run validate` passes with no errors
|
|
150
|
+
- [ ] `npm run build` passes with no errors
|
|
151
|
+
- [ ] `PERSONAS.md` is updated if you added or changed a persona
|
|
152
|
+
- [ ] `README.md` is updated if the change affects the project overview
|
|
153
|
+
- [ ] An example is included if you added a new persona
|
|
154
|
+
- [ ] The trait design principles are satisfied if you added a new trait
|
|
155
|
+
- [ ] The persona quality bar is met if you added a new persona
|
|
156
|
+
- [ ] The issue number is referenced in the PR description
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Code of conduct
|
|
161
|
+
|
|
162
|
+
AgentBoot follows the [Contributor Covenant](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)
|
|
163
|
+
version 2.1. By contributing, you agree to uphold these standards. Report violations
|
|
164
|
+
to the project maintainers.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
*Thank you for making AgentBoot better.*
|
package/LICENSE
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
Copyright 2026 Michel Saavedra
|
|
180
|
+
|
|
181
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
+
you may not use this file except in compliance with the License.
|
|
183
|
+
You may obtain a copy of the License at
|
|
184
|
+
|
|
185
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
+
|
|
187
|
+
Unless required by applicable law or agreed to in writing, software
|
|
188
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
+
See the License for the specific language governing permissions and
|
|
191
|
+
limitations under the License.
|
package/NOTICE
ADDED
package/PERSONAS.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# AgentBoot Persona Registry
|
|
2
|
+
|
|
3
|
+
This file is the authoritative registry of all personas shipped with AgentBoot core.
|
|
4
|
+
It is generated automatically by `npm run build` — do not edit it manually.
|
|
5
|
+
If this file is out of date, run `npm run build` and commit the result.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## V1 Personas
|
|
10
|
+
|
|
11
|
+
| Persona | ID | Invocation | Scope | Traits Composed | IDE Available |
|
|
12
|
+
|---|---|---|---|---|---|
|
|
13
|
+
| Code Reviewer | `code-reviewer` | `/review-code` | PR / file | critical-thinking (MEDIUM), structured-output, source-citation, confidence-signaling | Yes |
|
|
14
|
+
| Security Reviewer | `security-reviewer` | `/review-security` | PR / file | critical-thinking (HIGH), structured-output, source-citation, confidence-signaling, audit-trail | Yes |
|
|
15
|
+
| Test Generator | `test-generator` | `/gen-tests` | file | schema-awareness, structured-output, source-citation | Yes |
|
|
16
|
+
| Test Data Expert | `test-data-expert` | `/gen-testdata` | session | schema-awareness, structured-output | Yes |
|
|
17
|
+
|
|
18
|
+
### Code Reviewer
|
|
19
|
+
|
|
20
|
+
Performs code review against your team's standards. Produces severity-tiered findings
|
|
21
|
+
(CRITICAL / WARN / INFO) with source citations. Uses `critical-thinking: MEDIUM` —
|
|
22
|
+
flags clear defects and significant design concerns without opining on style preferences.
|
|
23
|
+
|
|
24
|
+
**Typical invocation:**
|
|
25
|
+
```
|
|
26
|
+
/review-code
|
|
27
|
+
```
|
|
28
|
+
or on a specific file:
|
|
29
|
+
```
|
|
30
|
+
/review-code src/services/payment-service.ts
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Output format:** Structured findings list. Each finding includes: severity, location
|
|
34
|
+
(file + line), description, citation, and recommendation.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
### Security Reviewer
|
|
39
|
+
|
|
40
|
+
Security-focused code review. Uses `critical-thinking: HIGH` — treats absence of
|
|
41
|
+
evidence as a gap, surfaces worst-case scenarios first, never softens findings to
|
|
42
|
+
avoid friction. Covers: authentication, authorization, input validation, cryptographic
|
|
43
|
+
usage, secret handling, injection risks, and dependency vulnerabilities.
|
|
44
|
+
|
|
45
|
+
**Typical invocation:**
|
|
46
|
+
```
|
|
47
|
+
/review-security
|
|
48
|
+
```
|
|
49
|
+
or targeted:
|
|
50
|
+
```
|
|
51
|
+
/review-security src/auth/
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Output format:** Structured findings list. Security findings include an additional
|
|
55
|
+
`cvss_estimate` field (LOW / MEDIUM / HIGH / CRITICAL) and an `exploitability` note.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### Test Generator
|
|
60
|
+
|
|
61
|
+
Generates unit and integration tests from function signatures, class definitions, or
|
|
62
|
+
module exports. Produces tests in the testing framework already used in the repo
|
|
63
|
+
(detected from `package.json` devDependencies and existing test files). Covers: happy
|
|
64
|
+
path, boundary conditions, error cases, and null/undefined handling.
|
|
65
|
+
|
|
66
|
+
**Typical invocation:**
|
|
67
|
+
```
|
|
68
|
+
/gen-tests src/services/user-service.ts
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Output format:** Ready-to-run test file(s) following the repo's existing test
|
|
72
|
+
conventions. Includes a brief explanation of what each test covers and why.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
### Test Data Expert
|
|
77
|
+
|
|
78
|
+
Generates realistic, schema-consistent synthetic test data. Reads the data model from
|
|
79
|
+
TypeScript types, Zod schemas, or database schema files and produces data that is
|
|
80
|
+
structurally valid, type-correct, and diverse enough to exercise edge cases.
|
|
81
|
+
|
|
82
|
+
**Typical invocation:**
|
|
83
|
+
```
|
|
84
|
+
/gen-testdata src/domains/user/user.types.ts
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Output format:** TypeScript constant declarations, JSON fixtures, or SQL INSERT
|
|
88
|
+
statements (detected from context). Each output includes a comment explaining any
|
|
89
|
+
domain assumptions made.
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## IDE Availability
|
|
94
|
+
|
|
95
|
+
All V1 personas are available via Claude Code slash commands (the primary interface).
|
|
96
|
+
All personas that produce structured output also work in editor integrated mode —
|
|
97
|
+
when invoked from within an open file, they automatically scope to the visible file
|
|
98
|
+
context.
|
|
99
|
+
|
|
100
|
+
For GitHub Copilot and Cursor compatibility, see the note about agentskills.io in
|
|
101
|
+
[`README.md`](README.md). Personas compiled from AgentBoot follow the SKILL.md standard
|
|
102
|
+
and work in any agentskills.io-compatible tool.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## V1 Core Traits
|
|
107
|
+
|
|
108
|
+
| Trait | ID | Configurable | Used By |
|
|
109
|
+
|---|---|---|---|
|
|
110
|
+
| Critical Thinking | `critical-thinking` | Yes (HIGH/MEDIUM/LOW) | code-reviewer, security-reviewer |
|
|
111
|
+
| Structured Output | `structured-output` | No | all V1 personas |
|
|
112
|
+
| Source Citation | `source-citation` | No | code-reviewer, security-reviewer, test-generator |
|
|
113
|
+
| Confidence Signaling | `confidence-signaling` | No | code-reviewer, security-reviewer |
|
|
114
|
+
| Audit Trail | `audit-trail` | No | security-reviewer |
|
|
115
|
+
| Schema Awareness | `schema-awareness` | No | test-generator, test-data-expert |
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Personas in the growth pipeline
|
|
120
|
+
|
|
121
|
+
The following personas are under consideration for V2. None are committed or scheduled.
|
|
122
|
+
If you want to work on one, open an issue using the
|
|
123
|
+
[Persona Request](.github/ISSUE_TEMPLATE/persona-request.md) template.
|
|
124
|
+
|
|
125
|
+
- **Architecture Reviewer** — Reviews structural decisions, dependency direction, and
|
|
126
|
+
bounded context violations. Candidate scope: PR / ADR file.
|
|
127
|
+
- **Documentation Reviewer** — Checks that public APIs, complex functions, and
|
|
128
|
+
architectural decisions are documented adequately. Candidate scope: PR / file.
|
|
129
|
+
- **Dependency Auditor** — Audits `package.json` / `pom.xml` / `go.mod` for outdated,
|
|
130
|
+
vulnerable, or license-incompatible dependencies. Candidate scope: session.
|
|
131
|
+
- **Incident Analyst** — Given a log dump or error trace, identifies root cause, blast
|
|
132
|
+
radius, and remediation path. Candidate scope: session.
|
|
133
|
+
- **Database Reviewer** — Reviews schema migrations for safety, reversibility, and
|
|
134
|
+
performance risks. Candidate scope: PR / migration file.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## How to contribute a persona
|
|
139
|
+
|
|
140
|
+
1. Read [`docs/concepts.md`](docs/concepts.md) to understand what a persona is and how
|
|
141
|
+
it composes traits.
|
|
142
|
+
2. Read [`CONTRIBUTING.md`](CONTRIBUTING.md) for the quality bar and the issue-first policy.
|
|
143
|
+
3. Open a [Persona Request](.github/ISSUE_TEMPLATE/persona-request.md) issue.
|
|
144
|
+
4. Wait for maintainer acknowledgment before writing code.
|
|
145
|
+
|
|
146
|
+
The quality bar for a merged persona:
|
|
147
|
+
- Complete SKILL.md frontmatter (id, name, version, traits, scope, output_format)
|
|
148
|
+
- Clear system prompt that reads like a job description
|
|
149
|
+
- Explicit output format specification
|
|
150
|
+
- What-not-to-do section
|
|
151
|
+
- At least one worked example
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
*Generated by AgentBoot build. Do not edit manually.*
|
|
156
|
+
*Last updated: 2026-03-17*
|