@doxbrix/doxloop 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/CHANGELOG.md +34 -0
- package/LICENSE +93 -0
- package/README.md +576 -0
- package/SECURITY.md +15 -0
- package/assets/brand/README.md +8 -0
- package/assets/brand/doxloop-favicon.png +0 -0
- package/assets/brand/doxloop-logo-dark.png +0 -0
- package/assets/brand/doxloop-logo-light.png +0 -0
- package/assets/doxbrix-preview.css +6672 -0
- package/dist/agents.d.ts +26 -0
- package/dist/agents.d.ts.map +1 -0
- package/dist/agents.js +258 -0
- package/dist/agents.js.map +1 -0
- package/dist/args.d.ts +8 -0
- package/dist/args.d.ts.map +1 -0
- package/dist/args.js +95 -0
- package/dist/args.js.map +1 -0
- package/dist/artifact-deploy.d.ts +8 -0
- package/dist/artifact-deploy.d.ts.map +1 -0
- package/dist/artifact-deploy.js +240 -0
- package/dist/artifact-deploy.js.map +1 -0
- package/dist/auth.d.ts +17 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +245 -0
- package/dist/auth.js.map +1 -0
- package/dist/author.d.ts +30 -0
- package/dist/author.d.ts.map +1 -0
- package/dist/author.js +195 -0
- package/dist/author.js.map +1 -0
- package/dist/capture.d.ts +10 -0
- package/dist/capture.d.ts.map +1 -0
- package/dist/capture.js +299 -0
- package/dist/capture.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +558 -0
- package/dist/cli.js.map +1 -0
- package/dist/deploy.d.ts +22 -0
- package/dist/deploy.d.ts.map +1 -0
- package/dist/deploy.js +136 -0
- package/dist/deploy.js.map +1 -0
- package/dist/doctor.d.ts +18 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/doctor.js +222 -0
- package/dist/doctor.js.map +1 -0
- package/dist/doxbrix-markdown.d.ts +20 -0
- package/dist/doxbrix-markdown.d.ts.map +1 -0
- package/dist/doxbrix-markdown.js +873 -0
- package/dist/doxbrix-markdown.js.map +1 -0
- package/dist/errors.d.ts +8 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -0
- package/dist/fs.d.ts +6 -0
- package/dist/fs.d.ts.map +1 -0
- package/dist/fs.js +77 -0
- package/dist/fs.js.map +1 -0
- package/dist/generator-api.d.ts +69 -0
- package/dist/generator-api.d.ts.map +1 -0
- package/dist/generator-api.js +6 -0
- package/dist/generator-api.js.map +1 -0
- package/dist/generator-manager.d.ts +13 -0
- package/dist/generator-manager.d.ts.map +1 -0
- package/dist/generator-manager.js +155 -0
- package/dist/generator-manager.js.map +1 -0
- package/dist/generator-runtime.d.ts +24 -0
- package/dist/generator-runtime.d.ts.map +1 -0
- package/dist/generator-runtime.js +265 -0
- package/dist/generator-runtime.js.map +1 -0
- package/dist/generators.d.ts +21 -0
- package/dist/generators.d.ts.map +1 -0
- package/dist/generators.js +202 -0
- package/dist/generators.js.map +1 -0
- package/dist/preview.d.ts +21 -0
- package/dist/preview.d.ts.map +1 -0
- package/dist/preview.js +691 -0
- package/dist/preview.js.map +1 -0
- package/dist/progress.d.ts +19 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/progress.js +70 -0
- package/dist/progress.js.map +1 -0
- package/dist/project.d.ts +37 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +499 -0
- package/dist/project.js.map +1 -0
- package/dist/sync.d.ts +7 -0
- package/dist/sync.d.ts.map +1 -0
- package/dist/sync.js +221 -0
- package/dist/sync.js.map +1 -0
- package/dist/types.d.ts +141 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/validation.d.ts +4 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +478 -0
- package/dist/validation.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/docs/agent-compatibility.md +41 -0
- package/docs/ci-and-automation.md +56 -0
- package/docs/doxbrix-http-api.md +182 -0
- package/docs/generator-authoring.md +59 -0
- package/docs/generator-selection.md +25 -0
- package/docs/project-format.md +97 -0
- package/docs/security-model.md +90 -0
- package/docs/troubleshooting.md +103 -0
- package/package.json +87 -0
- package/skills/doxloop-authoring/SKILL.md +381 -0
- package/skills/doxloop-authoring/agents/openai.yaml +4 -0
- package/skills/doxloop-authoring/assets/screenshot-highlight.js +83 -0
- package/skills/doxloop-authoring/references/accessibility.md +54 -0
- package/skills/doxloop-authoring/references/audience-flavors.md +93 -0
- package/skills/doxloop-authoring/references/branding.md +50 -0
- package/skills/doxloop-authoring/references/documentation-types.md +236 -0
- package/skills/doxloop-authoring/references/domain-ai-ml.md +67 -0
- package/skills/doxloop-authoring/references/domain-api-platform.md +68 -0
- package/skills/doxloop-authoring/references/domain-cli-tool.md +65 -0
- package/skills/doxloop-authoring/references/domain-data-platform.md +65 -0
- package/skills/doxloop-authoring/references/domain-developer-library.md +63 -0
- package/skills/doxloop-authoring/references/domain-ecommerce.md +63 -0
- package/skills/doxloop-authoring/references/domain-infrastructure-devops.md +67 -0
- package/skills/doxloop-authoring/references/domain-payments-fintech.md +69 -0
- package/skills/doxloop-authoring/references/domain-saas.md +71 -0
- package/skills/doxloop-authoring/references/domain-security-identity.md +65 -0
- package/skills/doxloop-authoring/references/editorial-style.md +105 -0
- package/skills/doxloop-authoring/references/examples-and-evidence.md +71 -0
- package/skills/doxloop-authoring/references/navigation-architecture.md +152 -0
- package/skills/doxloop-authoring/references/project-format.md +119 -0
- package/skills/doxloop-authoring/references/quality.md +122 -0
- package/skills/doxloop-authoring/references/reference-sites.md +207 -0
- package/skills/doxloop-authoring/references/screenshots.md +251 -0
- package/skills/doxloop-authoring/references/template-routing.md +94 -0
- package/skills/doxloop-authoring/references/type-administrator-guide.md +59 -0
- package/skills/doxloop-authoring/references/type-api-reference.md +66 -0
- package/skills/doxloop-authoring/references/type-architecture-concepts.md +61 -0
- package/skills/doxloop-authoring/references/type-cli-manual.md +61 -0
- package/skills/doxloop-authoring/references/type-deployment-operations.md +64 -0
- package/skills/doxloop-authoring/references/type-developer-portal.md +69 -0
- package/skills/doxloop-authoring/references/type-getting-started.md +59 -0
- package/skills/doxloop-authoring/references/type-integration-guide.md +59 -0
- package/skills/doxloop-authoring/references/type-migration-release.md +66 -0
- package/skills/doxloop-authoring/references/type-sdk-guide.md +63 -0
- package/skills/doxloop-authoring/references/type-troubleshooting-kb.md +63 -0
- package/skills/doxloop-authoring/references/type-user-guide.md +59 -0
- package/skills/doxloop-doxbrix/SKILL.md +83 -0
- package/skills/doxloop-doxbrix/agents/openai.yaml +4 -0
- package/skills/doxloop-doxbrix/references/api-endpoints.md +128 -0
- package/skills/doxloop-doxbrix/references/components.md +137 -0
- package/skills/doxloop-doxbrix/references/manifest.md +117 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# Documentation types and applicability
|
|
2
|
+
|
|
3
|
+
Use this reference during discovery, planning, and review. Select documentation
|
|
4
|
+
types from reader needs and source evidence. Do not create every type by default.
|
|
5
|
+
After selecting the relevant types, use the matching expert type playbooks linked
|
|
6
|
+
from `SKILL.md` for deeper investigation, structure, and senior quality gates.
|
|
7
|
+
Apply audience flavor within the selected domain/type combination rather than
|
|
8
|
+
treating audience as its own document template.
|
|
9
|
+
|
|
10
|
+
## Contract for every page
|
|
11
|
+
|
|
12
|
+
Give every page one identifiable reader job or reference purpose. Include:
|
|
13
|
+
|
|
14
|
+
- an outcome-focused title and description;
|
|
15
|
+
- the intended outcome in the opening;
|
|
16
|
+
- prerequisites before the point where readers need them;
|
|
17
|
+
- verified instructions, facts, or examples appropriate to the page type;
|
|
18
|
+
- expected results and limitations where they affect completion;
|
|
19
|
+
- recovery guidance only when supported by evidence;
|
|
20
|
+
- a useful next step or related destination.
|
|
21
|
+
|
|
22
|
+
Omit a section when it has no reader need. Do not add empty headings to satisfy
|
|
23
|
+
a template.
|
|
24
|
+
|
|
25
|
+
## Foundational pages
|
|
26
|
+
|
|
27
|
+
### Overview
|
|
28
|
+
|
|
29
|
+
Explain what the product is, who it serves, its primary outcomes, and how its
|
|
30
|
+
major capabilities fit together.
|
|
31
|
+
|
|
32
|
+
Use when the source exposes more than one reader-visible capability or when a
|
|
33
|
+
new reader needs orientation before choosing a workflow.
|
|
34
|
+
|
|
35
|
+
### Installation
|
|
36
|
+
|
|
37
|
+
Cover supported installation methods, prerequisites, platform or runtime
|
|
38
|
+
requirements, configuration needed before first use, and installation
|
|
39
|
+
verification.
|
|
40
|
+
|
|
41
|
+
Use when package metadata, build files, installers, or tests establish a
|
|
42
|
+
supported installation path.
|
|
43
|
+
|
|
44
|
+
### Quickstart
|
|
45
|
+
|
|
46
|
+
Lead a new reader through the shortest verified path to a meaningful result.
|
|
47
|
+
Show inputs, commands or code, expected output, and the next useful action.
|
|
48
|
+
|
|
49
|
+
Use for every product that has an executable first-success workflow.
|
|
50
|
+
|
|
51
|
+
## Learning and task pages
|
|
52
|
+
|
|
53
|
+
### Tutorial
|
|
54
|
+
|
|
55
|
+
Teach a complete workflow while introducing concepts in the order the reader
|
|
56
|
+
needs them. Tutorials optimize for learning and confidence.
|
|
57
|
+
|
|
58
|
+
Use when readers must combine multiple capabilities or understand a sequence
|
|
59
|
+
before working independently.
|
|
60
|
+
|
|
61
|
+
Keep the learning path controlled and reproducible. Deliver a meaningful
|
|
62
|
+
working result, introduce concepts only when needed, and avoid optional branches
|
|
63
|
+
that prevent the learner from knowing whether they succeeded.
|
|
64
|
+
|
|
65
|
+
### How-to guide
|
|
66
|
+
|
|
67
|
+
Help an informed reader complete one concrete task. State prerequisites, give
|
|
68
|
+
ordered steps, show success, and include evidence-backed recovery guidance.
|
|
69
|
+
|
|
70
|
+
Use for distinct, repeatable reader jobs supported by public interfaces or
|
|
71
|
+
tests.
|
|
72
|
+
|
|
73
|
+
Assume the reader is already oriented. Address one practical goal, allow
|
|
74
|
+
relevant variation, and avoid turning the guide into a lesson or exhaustive
|
|
75
|
+
reference.
|
|
76
|
+
|
|
77
|
+
### Examples and recipes
|
|
78
|
+
|
|
79
|
+
Provide small, verified solutions for common variants, integrations, or usage
|
|
80
|
+
patterns without duplicating full guides.
|
|
81
|
+
|
|
82
|
+
Use when tests, fixtures, or examples demonstrate multiple useful ways to apply
|
|
83
|
+
the same interface.
|
|
84
|
+
|
|
85
|
+
### User-interface workflow
|
|
86
|
+
|
|
87
|
+
Guide readers through a stable visible workflow using exact labels, permissions,
|
|
88
|
+
states, and outcomes. Use screenshots only when they materially reduce
|
|
89
|
+
ambiguity, keep them current, and provide equivalent text instructions.
|
|
90
|
+
|
|
91
|
+
Use when public UI source, routes, accessible labels, tests, or approved product
|
|
92
|
+
captures establish the workflow.
|
|
93
|
+
|
|
94
|
+
## Understanding pages
|
|
95
|
+
|
|
96
|
+
### Concept
|
|
97
|
+
|
|
98
|
+
Explain a mental model, lifecycle, relationship, or design constraint needed to
|
|
99
|
+
use the product correctly. Connect the explanation to observable behavior.
|
|
100
|
+
|
|
101
|
+
Use when readers must make decisions that procedures alone cannot answer.
|
|
102
|
+
|
|
103
|
+
Explain the mental model, consequences, relationships, and tradeoffs. Connect
|
|
104
|
+
each abstraction to reader-observable behavior and link to tasks or reference
|
|
105
|
+
instead of embedding long procedures.
|
|
106
|
+
|
|
107
|
+
### Architecture
|
|
108
|
+
|
|
109
|
+
Explain reader-relevant components, boundaries, and data or control flow.
|
|
110
|
+
|
|
111
|
+
Use only when the architecture is public, stable, and necessary for operators,
|
|
112
|
+
integrators, or advanced users. Do not expose internal-only implementation.
|
|
113
|
+
|
|
114
|
+
## Reference pages
|
|
115
|
+
|
|
116
|
+
### API or SDK reference
|
|
117
|
+
|
|
118
|
+
Document supported public endpoints, exports, parameters, return values,
|
|
119
|
+
errors, authentication requirements, and verified examples.
|
|
120
|
+
|
|
121
|
+
Use when routes, schemas, public types, generated specifications, or tests
|
|
122
|
+
establish a supported programmatic interface.
|
|
123
|
+
|
|
124
|
+
Define the reference scope and cover it consistently. Include types, required
|
|
125
|
+
and optional values, defaults, return or response behavior, errors,
|
|
126
|
+
authentication, limits, and verified examples when the interface supports them.
|
|
127
|
+
|
|
128
|
+
In a Doxbrix project, use the native endpoint contract from
|
|
129
|
+
`$doxloop-doxbrix`: one `<ApiEndpoint>` per HTTP operation with nested `<Param>`
|
|
130
|
+
and `<Response>` children. Do not flatten endpoint reference into Markdown
|
|
131
|
+
tables or generic request and response code blocks.
|
|
132
|
+
|
|
133
|
+
### CLI reference
|
|
134
|
+
|
|
135
|
+
Document commands, arguments, flags, defaults, exit behavior, and examples.
|
|
136
|
+
|
|
137
|
+
Use when the product exposes a command-line interface.
|
|
138
|
+
|
|
139
|
+
### Configuration reference
|
|
140
|
+
|
|
141
|
+
Document supported keys, types, defaults, environment behavior, precedence,
|
|
142
|
+
constraints, and examples.
|
|
143
|
+
|
|
144
|
+
Use when configuration schemas, parsers, defaults, or tests provide evidence.
|
|
145
|
+
|
|
146
|
+
### Data model
|
|
147
|
+
|
|
148
|
+
Document public resources, fields, relationships, identifiers, lifecycle states,
|
|
149
|
+
and invariants needed to use an API, SDK, or integration correctly.
|
|
150
|
+
|
|
151
|
+
Use when schemas, public types, migrations, or contract tests establish a stable
|
|
152
|
+
reader-visible model.
|
|
153
|
+
|
|
154
|
+
### Events and webhooks
|
|
155
|
+
|
|
156
|
+
Document event names, delivery and retry behavior, signatures, ordering,
|
|
157
|
+
payloads, failure handling, and verified examples.
|
|
158
|
+
|
|
159
|
+
Use when public event schemas, webhook routes, tests, or retry configuration
|
|
160
|
+
provide evidence.
|
|
161
|
+
|
|
162
|
+
## Operational and lifecycle pages
|
|
163
|
+
|
|
164
|
+
### Authentication and security
|
|
165
|
+
|
|
166
|
+
Explain supported authentication flows, permissions, credential handling, and
|
|
167
|
+
security boundaries without exposing secrets or internal controls.
|
|
168
|
+
|
|
169
|
+
Use when readers must authenticate, authorize, or make security-sensitive
|
|
170
|
+
choices.
|
|
171
|
+
|
|
172
|
+
### Deployment and operations
|
|
173
|
+
|
|
174
|
+
Cover supported deployment, health verification, monitoring, backup, upgrade,
|
|
175
|
+
and recovery workflows.
|
|
176
|
+
|
|
177
|
+
Use for services or applications with evidence-backed operator responsibilities.
|
|
178
|
+
|
|
179
|
+
### Troubleshooting
|
|
180
|
+
|
|
181
|
+
Map observable symptoms to likely supported causes, diagnostics, and recovery
|
|
182
|
+
steps.
|
|
183
|
+
|
|
184
|
+
Use when errors, tests, or established behavior support reliable guidance.
|
|
185
|
+
Never invent likely fixes.
|
|
186
|
+
|
|
187
|
+
### Migration and upgrade
|
|
188
|
+
|
|
189
|
+
Explain reader-visible changes, prerequisites, compatibility concerns, ordered
|
|
190
|
+
steps, and verification.
|
|
191
|
+
|
|
192
|
+
Use when the source contains versioned behavior, deprecations, migrations, or
|
|
193
|
+
upgrade tooling.
|
|
194
|
+
|
|
195
|
+
### Release notes and deprecations
|
|
196
|
+
|
|
197
|
+
Summarize reader-visible additions, changes, fixes, removals, compatibility, and
|
|
198
|
+
required actions for a defined release.
|
|
199
|
+
|
|
200
|
+
Use when version history, release metadata, migrations, or deprecation markers
|
|
201
|
+
provide verified evidence. Do not turn commit messages into unsupported product
|
|
202
|
+
claims.
|
|
203
|
+
|
|
204
|
+
### Support and compatibility
|
|
205
|
+
|
|
206
|
+
State supported versions, platforms, runtimes, browsers, lifecycle status, and
|
|
207
|
+
support boundaries.
|
|
208
|
+
|
|
209
|
+
Use when package metadata, test matrices, release policy, or public
|
|
210
|
+
configuration establishes these commitments.
|
|
211
|
+
|
|
212
|
+
### Versioned documentation
|
|
213
|
+
|
|
214
|
+
Maintain separate versions only when multiple product versions are actively
|
|
215
|
+
supported and reader-visible behavior differs. Make the selected version clear,
|
|
216
|
+
avoid mixing examples across versions, and link migrations between them.
|
|
217
|
+
|
|
218
|
+
### Glossary
|
|
219
|
+
|
|
220
|
+
Define domain terms only when several pages depend on the same non-obvious
|
|
221
|
+
meaning. Prefer definitions near first use when a standalone glossary would not
|
|
222
|
+
improve findability.
|
|
223
|
+
|
|
224
|
+
## Prioritization
|
|
225
|
+
|
|
226
|
+
Group proposed pages using:
|
|
227
|
+
|
|
228
|
+
- **Must have**: required for the primary reader to understand, start, and
|
|
229
|
+
complete the product's main supported workflows.
|
|
230
|
+
- **Next**: important for repeated use, broader capabilities, confident
|
|
231
|
+
decisions, or common recovery.
|
|
232
|
+
- **Later**: valuable for advanced, less common, or lifecycle-specific needs.
|
|
233
|
+
|
|
234
|
+
For every proposed page, name its reader, outcome, documentation type, and
|
|
235
|
+
supporting source evidence. Omit a type when it has no distinct reader need or
|
|
236
|
+
cannot be verified.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# AI and machine-learning expertise
|
|
2
|
+
|
|
3
|
+
Use when readers configure, train, evaluate, deploy, or consume models, agents,
|
|
4
|
+
embeddings, classifiers, generators, or other probabilistic systems.
|
|
5
|
+
|
|
6
|
+
## Think like a senior AI product documentation lead
|
|
7
|
+
|
|
8
|
+
Separate interface contract from probabilistic behavior. Document inputs,
|
|
9
|
+
outputs, controls, limits, evaluation, observability, and human oversight. Make
|
|
10
|
+
variability and failure visible without turning the guide into a research paper.
|
|
11
|
+
|
|
12
|
+
## Investigate
|
|
13
|
+
|
|
14
|
+
- model or capability identifiers, versions, availability, and lifecycle;
|
|
15
|
+
- accepted input modalities, formats, sizes, preprocessing, and encoding;
|
|
16
|
+
- output schema, streaming, termination, structured output, and validation;
|
|
17
|
+
- configurable sampling, tools, retrieval, memory, context, and safety controls;
|
|
18
|
+
- latency, quotas, token or usage accounting, batching, and concurrency when public;
|
|
19
|
+
- determinism limits, seed behavior, confidence, abstention, and error handling;
|
|
20
|
+
- evaluation fixtures, quality metrics, regression tests, and monitoring signals;
|
|
21
|
+
- data handling, retention, training use, access controls, and deletion commitments;
|
|
22
|
+
- prompt injection, unsafe content, tool authority, and human approval boundaries;
|
|
23
|
+
- fallback, model migration, deprecation, and reproducibility evidence.
|
|
24
|
+
|
|
25
|
+
## Design coverage
|
|
26
|
+
|
|
27
|
+
Give readers a verified baseline example and an evaluation loop. Explain how to
|
|
28
|
+
validate outputs before downstream use, bound tool permissions, handle malformed
|
|
29
|
+
or unsafe results, monitor quality drift, and choose evidenced controls. Label
|
|
30
|
+
sample output as illustrative when exact reproduction is not guaranteed.
|
|
31
|
+
|
|
32
|
+
Keep model concepts connected to decisions: quality, latency, cost, context,
|
|
33
|
+
safety, and operational complexity. Document structured schemas and observable
|
|
34
|
+
errors precisely; describe subjective quality with evaluation methods rather
|
|
35
|
+
than unsupported adjectives.
|
|
36
|
+
|
|
37
|
+
## Navigation overlay
|
|
38
|
+
|
|
39
|
+
Insert supported destinations into Getting started, Concepts, Guides, Reference,
|
|
40
|
+
and Operations:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
Models and capabilities
|
|
44
|
+
Inputs, prompting, and context
|
|
45
|
+
Tools, retrieval, and structured output
|
|
46
|
+
Evaluation and quality
|
|
47
|
+
Safety and human oversight
|
|
48
|
+
Limits, latency, and usage
|
|
49
|
+
Monitoring and fallback
|
|
50
|
+
Model versions and migration
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Put evaluation and output validation near the first real workflow, not only in
|
|
54
|
+
advanced operations.
|
|
55
|
+
|
|
56
|
+
## Never assume
|
|
57
|
+
|
|
58
|
+
Do not claim accuracy, fairness, safety, determinism, privacy, data residency,
|
|
59
|
+
training-data exclusion, model identity, context size, retention, or regulatory
|
|
60
|
+
fitness without authoritative evidence. Never present generated output as a
|
|
61
|
+
guaranteed response or recommend unreviewed automation for consequential actions.
|
|
62
|
+
|
|
63
|
+
## Senior quality gate
|
|
64
|
+
|
|
65
|
+
A reader must be able to run the supported capability, validate its output,
|
|
66
|
+
understand material variability and limits, constrain authority, evaluate changes,
|
|
67
|
+
and operate a safe fallback for evidenced failure modes.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# API platform expertise
|
|
2
|
+
|
|
3
|
+
Use when a public API is the product or a primary integration surface. Combine
|
|
4
|
+
with a more specific business domain when the API represents payments,
|
|
5
|
+
commerce, identity, data, or infrastructure.
|
|
6
|
+
|
|
7
|
+
## Think like a senior API documentation lead
|
|
8
|
+
|
|
9
|
+
Document the integration lifecycle, not only endpoints: obtain access, select an
|
|
10
|
+
environment, form a valid request, identify resources, handle asynchronous
|
|
11
|
+
state, recover from failure, test safely, observe production behavior, and
|
|
12
|
+
upgrade without contract surprises.
|
|
13
|
+
|
|
14
|
+
## Investigate
|
|
15
|
+
|
|
16
|
+
- base URLs, environments, media types, version negotiation, and transport;
|
|
17
|
+
- authentication methods, credential scopes, rotation, and test credentials;
|
|
18
|
+
- resource identifiers, ownership, lifecycle states, and concurrency behavior;
|
|
19
|
+
- request headers, validation, defaults, pagination, filtering, sorting, and search;
|
|
20
|
+
- response envelopes, nullability, timestamps, money, units, and unknown fields;
|
|
21
|
+
- error schema, status mapping, retryability, idempotency, and correlation IDs;
|
|
22
|
+
- synchronous versus asynchronous operations, polling, events, and webhooks;
|
|
23
|
+
- rate or usage limits, quotas, batching, caching, and timeout behavior;
|
|
24
|
+
- compatibility, deprecation, changelog, SDK, and specification sources.
|
|
25
|
+
|
|
26
|
+
## Design coverage
|
|
27
|
+
|
|
28
|
+
Give developers a verified first call before exhaustive reference. Use concepts
|
|
29
|
+
to explain authentication, resource relationships, state transitions, delivery
|
|
30
|
+
semantics, and error strategy. Keep task guides for multi-operation outcomes and
|
|
31
|
+
reference pages for lookup. Use one consistent endpoint contract across the
|
|
32
|
+
declared public surface.
|
|
33
|
+
|
|
34
|
+
Examples must use safe placeholders, show the complete required request, include
|
|
35
|
+
an expected response or observable result, and demonstrate error handling where
|
|
36
|
+
production correctness depends on it. Prefer the product's canonical language
|
|
37
|
+
or protocol examples; do not manufacture SDKs.
|
|
38
|
+
|
|
39
|
+
## Navigation overlay
|
|
40
|
+
|
|
41
|
+
Insert supported destinations into Developer portal, Guides, Concepts, and
|
|
42
|
+
Reference:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
Environments and authentication
|
|
46
|
+
Resources and lifecycle
|
|
47
|
+
Common integration workflows
|
|
48
|
+
Pagination, idempotency, and concurrency
|
|
49
|
+
Events and webhooks
|
|
50
|
+
Errors and limits
|
|
51
|
+
Testing and production readiness
|
|
52
|
+
Versioning and deprecations
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Keep exact operations in API reference and multi-operation outcomes in Guides.
|
|
56
|
+
|
|
57
|
+
## Never assume
|
|
58
|
+
|
|
59
|
+
Do not invent rate limits, retry rules, idempotency guarantees, ordering,
|
|
60
|
+
exactly-once delivery, field stability, authentication scopes, sandbox parity,
|
|
61
|
+
version lifetime, or backward compatibility. An OpenAPI file is strong contract
|
|
62
|
+
evidence but may not prove operational limits or delivery semantics.
|
|
63
|
+
|
|
64
|
+
## Senior quality gate
|
|
65
|
+
|
|
66
|
+
A developer must be able to make a valid first request, understand the core
|
|
67
|
+
resource model, implement supported failure handling, and locate every contract
|
|
68
|
+
element promised by the reference scope without reverse-engineering examples.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# CLI tool expertise
|
|
2
|
+
|
|
3
|
+
Use when readers operate or automate a product through commands, subcommands,
|
|
4
|
+
arguments, flags, standard streams, or process exit status.
|
|
5
|
+
|
|
6
|
+
## Think like a senior CLI documentation maintainer
|
|
7
|
+
|
|
8
|
+
Treat interactive use, scripts, and CI as distinct contexts. A command contract
|
|
9
|
+
includes invocation syntax, input sources, precedence, output destination and
|
|
10
|
+
format, prompts, side effects, exit behavior, and cleanup—not just a flag list.
|
|
11
|
+
|
|
12
|
+
## Investigate
|
|
13
|
+
|
|
14
|
+
- installation, executable names, shells, platforms, and runtime prerequisites;
|
|
15
|
+
- command hierarchy, aliases, positional arguments, required and repeatable options;
|
|
16
|
+
- defaults, environment variables, config files, and precedence rules;
|
|
17
|
+
- stdin, stdout, stderr, TTY detection, colors, prompts, and non-interactive mode;
|
|
18
|
+
- text and machine-readable output schemas and stability commitments;
|
|
19
|
+
- exit status, partial success, retries, cancellation, signals, and cleanup;
|
|
20
|
+
- filesystem effects, overwrite behavior, idempotency, dry-run, and confirmation;
|
|
21
|
+
- authentication, credential lookup, context/profile selection, and redaction;
|
|
22
|
+
- completion, help, diagnostics, compatibility, and deprecation behavior.
|
|
23
|
+
|
|
24
|
+
## Design coverage
|
|
25
|
+
|
|
26
|
+
Provide installation and a verified first command. Organize task guides around
|
|
27
|
+
outcomes and reference around the command tree. For every command, document
|
|
28
|
+
syntax, purpose, arguments, options, defaults, input, output, side effects, exit
|
|
29
|
+
behavior, examples, and consequential limitations when supported.
|
|
30
|
+
|
|
31
|
+
Examples for automation must avoid prompts, show quoting safely, distinguish
|
|
32
|
+
stdout from stderr when relevant, and check exit status or structured output.
|
|
33
|
+
Use the product's real help output as evidence but rewrite it into reader-focused
|
|
34
|
+
documentation rather than dumping it unchanged.
|
|
35
|
+
|
|
36
|
+
## Navigation overlay
|
|
37
|
+
|
|
38
|
+
Insert supported destinations into Getting started, Guides, and Command
|
|
39
|
+
reference:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
Installation and authentication
|
|
43
|
+
Common workflows
|
|
44
|
+
Configuration and precedence
|
|
45
|
+
Command hierarchy
|
|
46
|
+
Input, output, and exit status
|
|
47
|
+
Automation and non-interactive use
|
|
48
|
+
Diagnostics and troubleshooting
|
|
49
|
+
Upgrade and release notes
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Keep task sequences separate from exhaustive command lookup.
|
|
53
|
+
|
|
54
|
+
## Never assume
|
|
55
|
+
|
|
56
|
+
Do not infer option precedence, shell portability, overwrite safety, atomicity,
|
|
57
|
+
stable JSON, exit codes, retry behavior, or non-interactive suitability from an
|
|
58
|
+
option name. Never show secrets directly on command lines when a safer supported
|
|
59
|
+
input exists.
|
|
60
|
+
|
|
61
|
+
## Senior quality gate
|
|
62
|
+
|
|
63
|
+
A reader must be able to install the executable, complete the primary task both
|
|
64
|
+
interactively and in supported automation, predict side effects and output, and
|
|
65
|
+
handle documented failure through exit status or diagnostics.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Data-platform expertise
|
|
2
|
+
|
|
3
|
+
Use when the product ingests, stores, transforms, queries, serves, governs, or
|
|
4
|
+
observes data through connectors, pipelines, warehouses, lakes, catalogs, or BI.
|
|
5
|
+
|
|
6
|
+
## Think like a senior data-platform documentation architect
|
|
7
|
+
|
|
8
|
+
Trace data from source to consumer. For each stage, identify ownership, schema,
|
|
9
|
+
freshness, quality, state, failure, replay, and observability. Separate control
|
|
10
|
+
plane configuration from data plane movement when the product exposes both.
|
|
11
|
+
|
|
12
|
+
## Investigate
|
|
13
|
+
|
|
14
|
+
- connectors, credentials, network prerequisites, source and destination support;
|
|
15
|
+
- datasets, namespaces, schemas, types, identifiers, and evolution behavior;
|
|
16
|
+
- full, incremental, CDC, batch, streaming, checkpoint, and watermark semantics;
|
|
17
|
+
- transformation ordering, dependencies, materialization, and execution state;
|
|
18
|
+
- scheduling, concurrency, retries, backfill, replay, and partial-failure handling;
|
|
19
|
+
- quality checks, freshness, lineage, metadata, ownership, and alerting;
|
|
20
|
+
- query behavior, partitioning, limits, caching, exports, and downstream contracts;
|
|
21
|
+
- access control, secrets, sensitive data, retention, deletion, and audit evidence;
|
|
22
|
+
- environment promotion, versioning, compatibility, cost or usage signals.
|
|
23
|
+
|
|
24
|
+
## Design coverage
|
|
25
|
+
|
|
26
|
+
Start with one bounded source-to-result path and show how to verify records,
|
|
27
|
+
schema, and freshness. Use concepts for execution state, incremental behavior,
|
|
28
|
+
schema evolution, lineage, and failure domains. Give operators runbooks for
|
|
29
|
+
stalled, late, rejected, duplicated, or incomplete data only when diagnostics
|
|
30
|
+
and recovery are evidenced.
|
|
31
|
+
|
|
32
|
+
Document who owns schema changes and how downstream compatibility is checked.
|
|
33
|
+
Make destructive reprocessing, replacement, truncation, or backfill behavior
|
|
34
|
+
explicit before steps that can duplicate or lose data.
|
|
35
|
+
|
|
36
|
+
## Navigation overlay
|
|
37
|
+
|
|
38
|
+
Insert supported destinations following data flow:
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
Connectors and credentials
|
|
42
|
+
Datasets, schemas, and types
|
|
43
|
+
Pipelines and execution
|
|
44
|
+
Transformations and dependencies
|
|
45
|
+
Incremental processing and backfill
|
|
46
|
+
Data quality, freshness, and lineage
|
|
47
|
+
Query and delivery
|
|
48
|
+
Monitoring and recovery
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Order navigation from source to consumer; keep control-plane configuration and
|
|
52
|
+
data-plane behavior distinct when readers operate them differently.
|
|
53
|
+
|
|
54
|
+
## Never assume
|
|
55
|
+
|
|
56
|
+
Do not infer exactly-once delivery, ordering, transactional boundaries, zero
|
|
57
|
+
data loss, freshness, automatic schema compatibility, encryption, retention,
|
|
58
|
+
lineage completeness, or recovery guarantees. A successful job status does not
|
|
59
|
+
necessarily prove complete or correct data unless the product defines it so.
|
|
60
|
+
|
|
61
|
+
## Senior quality gate
|
|
62
|
+
|
|
63
|
+
A reader must be able to configure a supported flow, validate data correctness
|
|
64
|
+
and freshness, understand schema and execution semantics, diagnose evidenced
|
|
65
|
+
failure states, and recover without accidental duplication or loss.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Developer library expertise
|
|
2
|
+
|
|
3
|
+
Use for reusable packages, frameworks, modules, or SDKs consumed from application
|
|
4
|
+
code.
|
|
5
|
+
|
|
6
|
+
## Think like a senior library documentation maintainer
|
|
7
|
+
|
|
8
|
+
Teach the smallest correct mental model: how the package is installed, imported,
|
|
9
|
+
initialized, called, composed, configured, observed, and upgraded. Distinguish
|
|
10
|
+
the stable public API from implementation exports and generated internals.
|
|
11
|
+
|
|
12
|
+
## Investigate
|
|
13
|
+
|
|
14
|
+
- package metadata, supported runtimes, module formats, peer dependencies, and engines;
|
|
15
|
+
- documented entry points, exports maps, public types, generics, and overloads;
|
|
16
|
+
- initialization, configuration, defaults, lifecycle, cleanup, and concurrency;
|
|
17
|
+
- sync or async behavior, cancellation, streaming, retries, and error types;
|
|
18
|
+
- mutability, nullability, ownership, resource use, and thread or process safety;
|
|
19
|
+
- framework adapters, plugins, extension points, and compatibility matrices;
|
|
20
|
+
- tests and fixtures showing canonical use, edge cases, and failure contracts;
|
|
21
|
+
- deprecations, replacement APIs, versioning, and migration evidence.
|
|
22
|
+
|
|
23
|
+
## Design coverage
|
|
24
|
+
|
|
25
|
+
Start with a complete minimal program that uses the supported public entry point.
|
|
26
|
+
Explain the central abstraction before presenting variants. Organize guides by
|
|
27
|
+
developer outcome and reference by the library's public namespace. Show types
|
|
28
|
+
when they reduce ambiguity; explain runtime behavior that types cannot express.
|
|
29
|
+
|
|
30
|
+
Examples must compile or be traceable to contract tests. Include imports,
|
|
31
|
+
initialization, cleanup, and error handling needed for correctness. Do not make
|
|
32
|
+
snippets deceptively short by hiding essential setup.
|
|
33
|
+
|
|
34
|
+
## Navigation overlay
|
|
35
|
+
|
|
36
|
+
Insert supported destinations into Getting started, Guides, Concepts, and
|
|
37
|
+
Reference:
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
Installation and compatibility
|
|
41
|
+
Initialization and configuration
|
|
42
|
+
Core abstractions and lifecycle
|
|
43
|
+
Common usage patterns
|
|
44
|
+
Framework adapters and extension points
|
|
45
|
+
Public API reference
|
|
46
|
+
Errors and debugging
|
|
47
|
+
Upgrades and deprecations
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Organize reference by the stable public namespace, never by source folders.
|
|
51
|
+
|
|
52
|
+
## Never assume
|
|
53
|
+
|
|
54
|
+
Do not document every exported symbol as supported. Do not infer browser,
|
|
55
|
+
runtime, framework, thread-safety, performance, serialization, or semantic
|
|
56
|
+
versioning guarantees without evidence. Do not describe internal classes merely
|
|
57
|
+
because they are reachable in source.
|
|
58
|
+
|
|
59
|
+
## Senior quality gate
|
|
60
|
+
|
|
61
|
+
A developer must be able to choose the correct entry point, run the first
|
|
62
|
+
example, understand object or function lifecycle, handle documented failures,
|
|
63
|
+
and locate consistent reference for the declared public surface.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# E-commerce expertise
|
|
2
|
+
|
|
3
|
+
Use when the product manages catalog, pricing, carts, checkout, orders,
|
|
4
|
+
inventory, fulfillment, returns, or commerce integrations.
|
|
5
|
+
|
|
6
|
+
## Think like a senior commerce documentation lead
|
|
7
|
+
|
|
8
|
+
Model the customer journey and the operational order lifecycle separately, then
|
|
9
|
+
show where they meet. Make scope explicit across store, channel, market,
|
|
10
|
+
location, customer, and order. Treat price, availability, payment, tax,
|
|
11
|
+
fulfillment, and returns as related but independently verified concerns.
|
|
12
|
+
|
|
13
|
+
## Investigate
|
|
14
|
+
|
|
15
|
+
- products, variants, collections, attributes, media, publication, and identifiers;
|
|
16
|
+
- price lists, currencies, discounts, promotions, tax inputs, and rounding;
|
|
17
|
+
- inventory source, reservation, allocation, availability, and oversell behavior;
|
|
18
|
+
- cart and checkout lifecycle, customer identity, address, shipping, and payment handoff;
|
|
19
|
+
- order states, edits, cancellation, fulfillment, tracking, return, exchange, and refund;
|
|
20
|
+
- channels, stores, locales, markets, warehouses, and configuration scope;
|
|
21
|
+
- import/export, synchronization, events, webhooks, and external system ownership;
|
|
22
|
+
- permissions, personally identifiable data, retention, and safe test fixtures.
|
|
23
|
+
|
|
24
|
+
## Design coverage
|
|
25
|
+
|
|
26
|
+
Use lifecycle-oriented concepts for catalog publication and orders. Give
|
|
27
|
+
merchants and operators task guides for daily work; give integrators contract
|
|
28
|
+
guidance for synchronization, identifiers, state mapping, and recovery. State
|
|
29
|
+
which system is authoritative for each shared object when evidence establishes it.
|
|
30
|
+
|
|
31
|
+
Use realistic but fictional products, customers, addresses, and amounts. Explain
|
|
32
|
+
how readers verify availability, totals, order state, and fulfillment outcomes.
|
|
33
|
+
|
|
34
|
+
## Navigation overlay
|
|
35
|
+
|
|
36
|
+
Insert supported destinations by the commerce lifecycle:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
Catalog and publication
|
|
40
|
+
Pricing, discounts, and tax inputs
|
|
41
|
+
Inventory and availability
|
|
42
|
+
Cart and checkout
|
|
43
|
+
Orders and order changes
|
|
44
|
+
Fulfillment and tracking
|
|
45
|
+
Returns, exchanges, and refunds
|
|
46
|
+
Channels, markets, and integrations
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Keep merchant operations separate from customer tasks and integration contracts.
|
|
50
|
+
|
|
51
|
+
## Never assume
|
|
52
|
+
|
|
53
|
+
Do not invent tax calculation, discount stacking, inventory consistency,
|
|
54
|
+
reservation duration, payment behavior, return eligibility, refund timing,
|
|
55
|
+
shipping promises, marketplace ownership, or privacy compliance. A visible UI
|
|
56
|
+
label does not prove the underlying accounting or fulfillment semantics.
|
|
57
|
+
|
|
58
|
+
## Senior quality gate
|
|
59
|
+
|
|
60
|
+
Readers must be able to predict how a supported catalog change becomes visible,
|
|
61
|
+
how an order moves through evidenced states, which actor owns each operational
|
|
62
|
+
step, and how to diagnose mismatches without creating duplicate orders or
|
|
63
|
+
incorrect inventory.
|