@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.
Files changed (152) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/LICENSE +93 -0
  3. package/README.md +576 -0
  4. package/SECURITY.md +15 -0
  5. package/assets/brand/README.md +8 -0
  6. package/assets/brand/doxloop-favicon.png +0 -0
  7. package/assets/brand/doxloop-logo-dark.png +0 -0
  8. package/assets/brand/doxloop-logo-light.png +0 -0
  9. package/assets/doxbrix-preview.css +6672 -0
  10. package/dist/agents.d.ts +26 -0
  11. package/dist/agents.d.ts.map +1 -0
  12. package/dist/agents.js +258 -0
  13. package/dist/agents.js.map +1 -0
  14. package/dist/args.d.ts +8 -0
  15. package/dist/args.d.ts.map +1 -0
  16. package/dist/args.js +95 -0
  17. package/dist/args.js.map +1 -0
  18. package/dist/artifact-deploy.d.ts +8 -0
  19. package/dist/artifact-deploy.d.ts.map +1 -0
  20. package/dist/artifact-deploy.js +240 -0
  21. package/dist/artifact-deploy.js.map +1 -0
  22. package/dist/auth.d.ts +17 -0
  23. package/dist/auth.d.ts.map +1 -0
  24. package/dist/auth.js +245 -0
  25. package/dist/auth.js.map +1 -0
  26. package/dist/author.d.ts +30 -0
  27. package/dist/author.d.ts.map +1 -0
  28. package/dist/author.js +195 -0
  29. package/dist/author.js.map +1 -0
  30. package/dist/capture.d.ts +10 -0
  31. package/dist/capture.d.ts.map +1 -0
  32. package/dist/capture.js +299 -0
  33. package/dist/capture.js.map +1 -0
  34. package/dist/cli.d.ts +3 -0
  35. package/dist/cli.d.ts.map +1 -0
  36. package/dist/cli.js +558 -0
  37. package/dist/cli.js.map +1 -0
  38. package/dist/deploy.d.ts +22 -0
  39. package/dist/deploy.d.ts.map +1 -0
  40. package/dist/deploy.js +136 -0
  41. package/dist/deploy.js.map +1 -0
  42. package/dist/doctor.d.ts +18 -0
  43. package/dist/doctor.d.ts.map +1 -0
  44. package/dist/doctor.js +222 -0
  45. package/dist/doctor.js.map +1 -0
  46. package/dist/doxbrix-markdown.d.ts +20 -0
  47. package/dist/doxbrix-markdown.d.ts.map +1 -0
  48. package/dist/doxbrix-markdown.js +873 -0
  49. package/dist/doxbrix-markdown.js.map +1 -0
  50. package/dist/errors.d.ts +8 -0
  51. package/dist/errors.d.ts.map +1 -0
  52. package/dist/errors.js +15 -0
  53. package/dist/errors.js.map +1 -0
  54. package/dist/fs.d.ts +6 -0
  55. package/dist/fs.d.ts.map +1 -0
  56. package/dist/fs.js +77 -0
  57. package/dist/fs.js.map +1 -0
  58. package/dist/generator-api.d.ts +69 -0
  59. package/dist/generator-api.d.ts.map +1 -0
  60. package/dist/generator-api.js +6 -0
  61. package/dist/generator-api.js.map +1 -0
  62. package/dist/generator-manager.d.ts +13 -0
  63. package/dist/generator-manager.d.ts.map +1 -0
  64. package/dist/generator-manager.js +155 -0
  65. package/dist/generator-manager.js.map +1 -0
  66. package/dist/generator-runtime.d.ts +24 -0
  67. package/dist/generator-runtime.d.ts.map +1 -0
  68. package/dist/generator-runtime.js +265 -0
  69. package/dist/generator-runtime.js.map +1 -0
  70. package/dist/generators.d.ts +21 -0
  71. package/dist/generators.d.ts.map +1 -0
  72. package/dist/generators.js +202 -0
  73. package/dist/generators.js.map +1 -0
  74. package/dist/preview.d.ts +21 -0
  75. package/dist/preview.d.ts.map +1 -0
  76. package/dist/preview.js +691 -0
  77. package/dist/preview.js.map +1 -0
  78. package/dist/progress.d.ts +19 -0
  79. package/dist/progress.d.ts.map +1 -0
  80. package/dist/progress.js +70 -0
  81. package/dist/progress.js.map +1 -0
  82. package/dist/project.d.ts +37 -0
  83. package/dist/project.d.ts.map +1 -0
  84. package/dist/project.js +499 -0
  85. package/dist/project.js.map +1 -0
  86. package/dist/sync.d.ts +7 -0
  87. package/dist/sync.d.ts.map +1 -0
  88. package/dist/sync.js +221 -0
  89. package/dist/sync.js.map +1 -0
  90. package/dist/types.d.ts +141 -0
  91. package/dist/types.d.ts.map +1 -0
  92. package/dist/types.js +2 -0
  93. package/dist/types.js.map +1 -0
  94. package/dist/validation.d.ts +4 -0
  95. package/dist/validation.d.ts.map +1 -0
  96. package/dist/validation.js +478 -0
  97. package/dist/validation.js.map +1 -0
  98. package/dist/version.d.ts +3 -0
  99. package/dist/version.d.ts.map +1 -0
  100. package/dist/version.js +5 -0
  101. package/dist/version.js.map +1 -0
  102. package/docs/agent-compatibility.md +41 -0
  103. package/docs/ci-and-automation.md +56 -0
  104. package/docs/doxbrix-http-api.md +182 -0
  105. package/docs/generator-authoring.md +59 -0
  106. package/docs/generator-selection.md +25 -0
  107. package/docs/project-format.md +97 -0
  108. package/docs/security-model.md +90 -0
  109. package/docs/troubleshooting.md +103 -0
  110. package/package.json +87 -0
  111. package/skills/doxloop-authoring/SKILL.md +381 -0
  112. package/skills/doxloop-authoring/agents/openai.yaml +4 -0
  113. package/skills/doxloop-authoring/assets/screenshot-highlight.js +83 -0
  114. package/skills/doxloop-authoring/references/accessibility.md +54 -0
  115. package/skills/doxloop-authoring/references/audience-flavors.md +93 -0
  116. package/skills/doxloop-authoring/references/branding.md +50 -0
  117. package/skills/doxloop-authoring/references/documentation-types.md +236 -0
  118. package/skills/doxloop-authoring/references/domain-ai-ml.md +67 -0
  119. package/skills/doxloop-authoring/references/domain-api-platform.md +68 -0
  120. package/skills/doxloop-authoring/references/domain-cli-tool.md +65 -0
  121. package/skills/doxloop-authoring/references/domain-data-platform.md +65 -0
  122. package/skills/doxloop-authoring/references/domain-developer-library.md +63 -0
  123. package/skills/doxloop-authoring/references/domain-ecommerce.md +63 -0
  124. package/skills/doxloop-authoring/references/domain-infrastructure-devops.md +67 -0
  125. package/skills/doxloop-authoring/references/domain-payments-fintech.md +69 -0
  126. package/skills/doxloop-authoring/references/domain-saas.md +71 -0
  127. package/skills/doxloop-authoring/references/domain-security-identity.md +65 -0
  128. package/skills/doxloop-authoring/references/editorial-style.md +105 -0
  129. package/skills/doxloop-authoring/references/examples-and-evidence.md +71 -0
  130. package/skills/doxloop-authoring/references/navigation-architecture.md +152 -0
  131. package/skills/doxloop-authoring/references/project-format.md +119 -0
  132. package/skills/doxloop-authoring/references/quality.md +122 -0
  133. package/skills/doxloop-authoring/references/reference-sites.md +207 -0
  134. package/skills/doxloop-authoring/references/screenshots.md +251 -0
  135. package/skills/doxloop-authoring/references/template-routing.md +94 -0
  136. package/skills/doxloop-authoring/references/type-administrator-guide.md +59 -0
  137. package/skills/doxloop-authoring/references/type-api-reference.md +66 -0
  138. package/skills/doxloop-authoring/references/type-architecture-concepts.md +61 -0
  139. package/skills/doxloop-authoring/references/type-cli-manual.md +61 -0
  140. package/skills/doxloop-authoring/references/type-deployment-operations.md +64 -0
  141. package/skills/doxloop-authoring/references/type-developer-portal.md +69 -0
  142. package/skills/doxloop-authoring/references/type-getting-started.md +59 -0
  143. package/skills/doxloop-authoring/references/type-integration-guide.md +59 -0
  144. package/skills/doxloop-authoring/references/type-migration-release.md +66 -0
  145. package/skills/doxloop-authoring/references/type-sdk-guide.md +63 -0
  146. package/skills/doxloop-authoring/references/type-troubleshooting-kb.md +63 -0
  147. package/skills/doxloop-authoring/references/type-user-guide.md +59 -0
  148. package/skills/doxloop-doxbrix/SKILL.md +83 -0
  149. package/skills/doxloop-doxbrix/agents/openai.yaml +4 -0
  150. package/skills/doxloop-doxbrix/references/api-endpoints.md +128 -0
  151. package/skills/doxloop-doxbrix/references/components.md +137 -0
  152. package/skills/doxloop-doxbrix/references/manifest.md +117 -0
@@ -0,0 +1,69 @@
1
+ # Developer-portal playbook
2
+
3
+ Use when developers need an integrated documentation experience spanning
4
+ onboarding, concepts, implementation tasks, contract reference, and production
5
+ operation of an API, SDK, extension platform, or developer tool.
6
+
7
+ ## Architect the journey
8
+
9
+ Organize around developer maturity:
10
+
11
+ 1. evaluate fit and prerequisites;
12
+ 2. obtain access and reach first success;
13
+ 3. understand the minimum domain and resource model;
14
+ 4. complete common end-to-end integrations;
15
+ 5. look up exact contracts;
16
+ 6. test, debug, secure, observe, and ship;
17
+ 7. maintain compatibility and migrate.
18
+
19
+ Do not make the landing page a feature inventory. Route readers by their next
20
+ job. Keep task guides outcome-based and reference exhaustive within its declared
21
+ scope. Cross-link concepts at the decision point rather than duplicating them.
22
+
23
+ ## Expected coverage
24
+
25
+ Select evidence-backed modules for environments, credentials, first request or
26
+ program, core resources, common workflows, errors, limits, events, test strategy,
27
+ security, observability, compatibility, changelog, and support. Include SDK or
28
+ CLI material only when those surfaces are supported.
29
+
30
+ Use consistent examples, identifiers, fictional data, and terminology across
31
+ the portal. Evolve a small canonical scenario from quickstart through advanced
32
+ guides so readers can transfer understanding without copying one oversized sample.
33
+
34
+ ## Production-readiness lens
35
+
36
+ Where supported, cover credential lifecycle, retries, idempotency, timeouts,
37
+ concurrency, pagination, asynchronous state, logging and correlation, sandbox
38
+ differences, versioning, and safe failure. Do not label an integration
39
+ production-ready when these concerns are unknown.
40
+
41
+ ## Standard navigation
42
+
43
+ Promote substantial API, SDK, or changelog surfaces to top navigation. Use this
44
+ left-navigation order:
45
+
46
+ ```text
47
+ Overview
48
+ Getting started
49
+ Core concepts
50
+ Developer guides
51
+ SDKs
52
+ API reference
53
+ Events and webhooks
54
+ Errors and limits
55
+ Testing
56
+ Production readiness
57
+ Troubleshooting
58
+ Migration guides
59
+ Changelog
60
+ ```
61
+
62
+ Omit unsupported surfaces and merge SDKs or API reference into a single
63
+ Reference group when they are small.
64
+
65
+ ## Senior quality gate
66
+
67
+ A developer can assess fit, reach first success, build the primary supported
68
+ integration, locate a consistent contract, and prepare for evidenced production
69
+ failure and change without reverse-engineering the source.
@@ -0,0 +1,59 @@
1
+ # Getting-started playbook
2
+
3
+ Use when a reader needs a controlled path from a clean state to first meaningful
4
+ value. This playbook can produce an installation page, quickstart, or short
5
+ onboarding sequence depending on complexity.
6
+
7
+ ## Define first success
8
+
9
+ Choose an outcome that proves the product is working for the primary reader—not
10
+ merely that files were installed or a process started. Bound the path to one
11
+ supported environment and the minimum required decisions. Move optional branches
12
+ after success.
13
+
14
+ ## Build the path
15
+
16
+ 1. State the result and expected time or effort only when evidenced.
17
+ 2. List supported prerequisites and required access.
18
+ 3. Install or connect using the canonical supported method.
19
+ 4. Configure only values needed for this path, using safe placeholders.
20
+ 5. Perform the smallest complete workflow.
21
+ 6. Show the observable success result.
22
+ 7. Give recovery for evidenced common failures.
23
+ 8. Link to the next task, concept, and reference needed for real use.
24
+
25
+ Explain each new concept only at the moment it becomes necessary. Keep commands
26
+ and code complete enough to run. When setup differs materially by platform,
27
+ runtime, role, or deployment model, choose a declared primary path and link to
28
+ verified alternatives rather than interleaving every branch.
29
+
30
+ ## Evidence and verification
31
+
32
+ Trace prerequisites to package or platform metadata, steps to public interfaces,
33
+ and expected results to tests, fixtures, or safe execution. Test from a clean or
34
+ representative state when feasible. Do not call a path quick if it omits required
35
+ security, cleanup, or initialization.
36
+
37
+ ## Standard navigation
38
+
39
+ Contribute this block under Documentation:
40
+
41
+ ```text
42
+ Getting started
43
+ Overview
44
+ Prerequisites
45
+ Installation or access
46
+ Initial configuration
47
+ Quickstart
48
+ Verify the result
49
+ Next steps
50
+ ```
51
+
52
+ For a compact site, keep Overview at the site root and flatten the remaining
53
+ pages when the group would contain fewer than two useful destinations.
54
+
55
+ ## Senior quality gate
56
+
57
+ A qualified new reader can follow the path without hidden knowledge, recognize
58
+ success, recover from supported setup failures, and understand where to go next.
59
+ The path leaves no unsafe credential, sample data, or process state unexplained.
@@ -0,0 +1,59 @@
1
+ # Integration-guide playbook
2
+
3
+ Use for a bounded connection between the documented product and another named
4
+ system, protocol, platform, or workflow.
5
+
6
+ ## Define the integration contract
7
+
8
+ Identify both systems, supported versions, direction of control and data,
9
+ prerequisites, authentication on each side, object mapping, trigger, delivery
10
+ semantics, ownership, and completion. State which system is authoritative for
11
+ each shared field or state when evidence supports it.
12
+
13
+ ## Build the guide
14
+
15
+ 1. Explain supported outcome, topology, and limitations.
16
+ 2. List access, versions, network, credentials, and test-data prerequisites.
17
+ 3. Configure the provider side and verify access.
18
+ 4. Configure the consumer side and verify the connection.
19
+ 5. Map identifiers, fields, states, or events explicitly.
20
+ 6. Run one safe end-to-end test.
21
+ 7. Verify results in both systems.
22
+ 8. Cover retries, duplicates, partial failure, monitoring, and disablement when supported.
23
+
24
+ Use a mapping table only when several exact fields or states require comparison.
25
+ Keep provider-specific terminology distinct from product terminology. Show
26
+ secret-handling boundaries without exposing credential values.
27
+
28
+ ## Operational ownership
29
+
30
+ Document who rotates credentials, responds to failure, replays or reconciles
31
+ data, upgrades either side, and collects escalation evidence when public behavior
32
+ defines those responsibilities. State sandbox or test-environment differences.
33
+
34
+ ## Standard navigation
35
+
36
+ Promote `Integrations` when the product maintains several integrations. For one
37
+ integration, contribute this block under Guides or Integrations:
38
+
39
+ ```text
40
+ Integration overview
41
+ Prerequisites
42
+ How the integration works
43
+ Configure the integration
44
+ Data and object mapping
45
+ Integration workflows
46
+ Test the integration
47
+ Operate the integration
48
+ Maintain or remove it
49
+ Troubleshooting
50
+ ```
51
+
52
+ For an integration catalog, repeat the bounded block per provider while sharing
53
+ common authentication, event, and troubleshooting concepts where identical.
54
+
55
+ ## Senior quality gate
56
+
57
+ A qualified integrator can establish the connection, prove end-to-end behavior,
58
+ understand mapping and ownership, detect failure, and disable or recover the
59
+ integration without duplicates, silent loss, or unsupported assumptions.
@@ -0,0 +1,66 @@
1
+ # Migration-and-release playbook
2
+
3
+ Use when readers must understand a defined release or move safely between
4
+ versions, interfaces, schemas, configurations, or deployment models.
5
+
6
+ ## Build from a verified change inventory
7
+
8
+ Classify reader-visible changes as added, changed, fixed, deprecated, removed,
9
+ security-relevant, or operational. For each change, identify affected readers,
10
+ old behavior, new behavior, required action, compatibility, timing, and evidence.
11
+ Do not convert commit messages directly into release claims.
12
+
13
+ ## Migration procedure
14
+
15
+ Include:
16
+
17
+ - supported source and target versions;
18
+ - who must migrate and who is unaffected;
19
+ - prerequisites, backups, permissions, capacity, and downtime when evidenced;
20
+ - deprecated or removed behavior and supported replacement;
21
+ - ordered code, data, configuration, or operational changes;
22
+ - compatibility window and mixed-version behavior when supported;
23
+ - verification of behavior and data after migration;
24
+ - rollback or roll-forward conditions supported by the product;
25
+ - cleanup and next-version considerations.
26
+
27
+ Separate upgrade mechanics from application or integration changes when
28
+ different owners perform them. Give reusable transformations or mapping tables
29
+ for repeated renamed fields, flags, endpoints, or states.
30
+
31
+ ## Release notes
32
+
33
+ Lead with reader impact and action. Group changes consistently; link to updated
34
+ guidance; distinguish breaking changes from new optional capability; and avoid
35
+ internal implementation detail, issue-list dumps, and marketing language.
36
+
37
+ ## Standard navigation
38
+
39
+ Promote `Release notes` when maintained. Keep actionable migration ahead of
40
+ chronology:
41
+
42
+ ```text
43
+ Release overview
44
+ Supported versions
45
+ What's new
46
+ Breaking changes
47
+ Migration guides
48
+ Choose a path
49
+ Prepare
50
+ Migrate
51
+ Verify
52
+ Roll back or roll forward
53
+ Deprecations
54
+ Compatibility
55
+ Release notes
56
+ Versions, newest first
57
+ ```
58
+
59
+ For versioned sites, link each source version directly to its supported target
60
+ migration instead of making readers infer a multi-hop path.
61
+
62
+ ## Senior quality gate
63
+
64
+ An affected reader can determine whether action is required, execute the change
65
+ in the correct order, verify compatibility and outcome, and recover using only
66
+ supported paths. Unaffected readers are not alarmed by ambiguous scope.
@@ -0,0 +1,63 @@
1
+ # SDK-guide playbook
2
+
3
+ Use when a supported language SDK or client library needs onboarding, idiomatic
4
+ task guidance, and public-symbol reference.
5
+
6
+ ## Design for the language ecosystem
7
+
8
+ Follow the package manager, import style, naming, async model, error conventions,
9
+ resource management, and code-formatting norms evidenced by the SDK. Do not
10
+ transliterate examples mechanically between languages; verify each SDK surface.
11
+
12
+ ## Expected coverage
13
+
14
+ - supported language and runtime versions;
15
+ - installation and version selection;
16
+ - client construction, configuration, authentication, and cleanup;
17
+ - a complete first call and expected typed result;
18
+ - core resource or service groupings;
19
+ - common workflows with idiomatic examples;
20
+ - pagination, streaming, async, cancellation, retries, and timeouts when supported;
21
+ - exception or result-error hierarchy and recovery;
22
+ - test doubles, sandbox use, logging, and debugging when public;
23
+ - public classes, functions, methods, properties, types, defaults, and deprecations;
24
+ - upgrade and compatibility guidance.
25
+
26
+ Explain server behavior in shared concepts and SDK behavior in language-specific
27
+ guides. Keep cross-language examples semantically aligned without hiding real
28
+ differences.
29
+
30
+ ## Example discipline
31
+
32
+ Compile or execute examples when safe. Include imports, credential placeholders,
33
+ initialization, awaited operations, disposal, and error handling required for
34
+ correctness. Use one coherent sample domain and avoid global mutable state unless
35
+ the supported API requires it.
36
+
37
+ ## Standard navigation
38
+
39
+ Promote `SDKs` when several maintained language SDKs exist. Use this block:
40
+
41
+ ```text
42
+ SDK overview
43
+ Getting started
44
+ Install the SDK
45
+ Configure credentials
46
+ Initialize the client
47
+ Make the first call
48
+ SDK guides
49
+ Language SDKs
50
+ SDK reference
51
+ Testing and debugging
52
+ Compatibility and upgrades
53
+ Release notes
54
+ ```
55
+
56
+ Create a separate language subtree only when its lifecycle or behavior differs
57
+ materially; otherwise keep shared concepts outside language-specific reference.
58
+
59
+ ## Senior quality gate
60
+
61
+ A developer can install the correct version, initialize the client safely, use
62
+ idiomatic types and lifecycle, handle supported failures, and locate the stable
63
+ public SDK surface without consulting implementation code.
@@ -0,0 +1,63 @@
1
+ # Troubleshooting knowledge-base playbook
2
+
3
+ Use when source evidence supports reliable diagnosis from observable symptoms.
4
+ Do not create speculative fix lists.
5
+
6
+ ## Write from symptom to resolution
7
+
8
+ Title each article with the observable symptom or failed outcome. Start with the
9
+ scope and safety impact, then use this sequence:
10
+
11
+ 1. confirm the symptom and affected scope;
12
+ 2. collect the least invasive diagnostic evidence;
13
+ 3. check likely causes in a discriminating order;
14
+ 4. apply one supported recovery at a time;
15
+ 5. verify restoration of the original outcome;
16
+ 6. collect escalation evidence when recovery fails.
17
+
18
+ Use decision tables or branches only when a signal clearly distinguishes the
19
+ next action. Put destructive, security-sensitive, or data-changing recovery
20
+ behind prerequisites, warnings, backup, and explicit target checks.
21
+
22
+ ## Evidence sources
23
+
24
+ Prefer documented errors, public diagnostics, contract tests, support fixtures,
25
+ health endpoints, logs, exit behavior, and reproducible failure tests. Error text
26
+ alone may be unstable; pair it with an error code, state, or reader-observable
27
+ condition when available.
28
+
29
+ ## Avoid weak articles
30
+
31
+ Do not tell readers to retry, restart, reinstall, clear caches, delete state,
32
+ disable security, or contact support unless evidence establishes when and why.
33
+ Do not list many plausible causes without a way to distinguish them. Never ask
34
+ readers to publish secrets or personal data in diagnostic output.
35
+
36
+ ## Standard navigation
37
+
38
+ Promote `Troubleshooting` only when the knowledge base is a major destination.
39
+ Organize the left navigation by observable symptom family:
40
+
41
+ ```text
42
+ Troubleshooting overview
43
+ Collect diagnostics
44
+ Installation problems
45
+ Authentication and access problems
46
+ Configuration problems
47
+ Connectivity problems
48
+ Workflow problems
49
+ Integration problems
50
+ Performance or capacity problems
51
+ Error reference
52
+ Recovery
53
+ Get support
54
+ ```
55
+
56
+ Omit unsupported families. Put individual articles under the symptom a reader
57
+ would recognize, not the internal component suspected of causing it.
58
+
59
+ ## Senior quality gate
60
+
61
+ The article lets a reader recognize that it applies, diagnose safely, choose a
62
+ supported recovery based on evidence, verify success, and escalate with useful
63
+ redacted information when the issue remains.
@@ -0,0 +1,59 @@
1
+ # User-guide playbook
2
+
3
+ Use for recurring end-user workflows through a UI or other user-facing control
4
+ surface. Pair with an administrator guide when shared configuration and daily
5
+ work have different owners.
6
+
7
+ ## Build around user jobs
8
+
9
+ Identify the user's start state, goal, required access, primary objects, and
10
+ observable completion. Organize navigation by recognizable tasks and lifecycle,
11
+ not by internal service or screen implementation. Give each page one primary job.
12
+
13
+ ## Procedure contract
14
+
15
+ For each workflow:
16
+
17
+ 1. state what the reader will accomplish;
18
+ 2. state role, prerequisites, and required starting state;
19
+ 3. use exact visible labels and ordered actions;
20
+ 4. explain consequential choices before the action;
21
+ 5. show the resulting visible state;
22
+ 6. provide evidence-backed recovery or reversal;
23
+ 7. link to the next likely job.
24
+
25
+ Use screenshots for orientation, dense configuration, or state confirmation when
26
+ they materially reduce ambiguity. Keep text complete without the image. Account
27
+ for empty, loading, permission-denied, validation, and completed states supported
28
+ by evidence.
29
+
30
+ ## Findability and support
31
+
32
+ Use user vocabulary, stable object names, and symptom language. Keep conceptual
33
+ explanations short and connected to decisions. Link administrators to settings
34
+ they own rather than instructing an end user to perform unauthorized actions.
35
+
36
+ ## Standard navigation
37
+
38
+ Use `Help center` or `Documentation` as the primary top-navigation label. Use
39
+ this left-navigation block:
40
+
41
+ ```text
42
+ Welcome
43
+ Get started
44
+ Common tasks
45
+ Manage your work
46
+ Collaboration
47
+ Personal settings
48
+ Troubleshooting
49
+ What's new
50
+ ```
51
+
52
+ Replace generic task groups with product vocabulary and order them by frequency
53
+ and lifecycle. Keep organization-wide settings in an administrator journey.
54
+
55
+ ## Senior quality gate
56
+
57
+ A qualified user can find the task by goal, complete it using current labels,
58
+ recognize success, understand the effect of consequential choices, and recover
59
+ or escalate without guessing or requiring an image.
@@ -0,0 +1,83 @@
1
+ ---
2
+ name: doxloop-doxbrix
3
+ description: Author and maintain documentation in native Doxbrix format, including the versioned spaces-and-navigation docs.json manifest, application-derived colors, fonts, and logos, MDX page frontmatter, rich components, and interactive API reference pages built with ApiEndpoint, Param, and Response. Use with doxloop-authoring whenever .doxloop/project.json selects the doxbrix generator, when creating or editing Doxbrix pages, API endpoint reference, or themes, or when reviewing Doxbrix presentation, component, and navigation correctness.
4
+ ---
5
+
6
+ # Doxloop Doxbrix Format
7
+
8
+ Produce documentation that renders natively in Doxbrix. Use this skill together
9
+ with `$doxloop-authoring`; that skill owns discovery, consultation, coverage, and
10
+ writing quality.
11
+
12
+ ## Read before editing
13
+
14
+ 1. Read `.doxloop/project.json` and confirm `generator` is `doxbrix` or absent.
15
+ 2. Read [references/manifest.md](references/manifest.md).
16
+ 3. Read [references/components.md](references/components.md) before authoring
17
+ rich layouts.
18
+ 4. Inspect existing `docs.json` and pages for established theme, terminology,
19
+ paths, and component patterns.
20
+
21
+ When creating or changing HTTP API reference, also read
22
+ [references/api-endpoints.md](references/api-endpoints.md) and follow its
23
+ contract exactly.
24
+
25
+ If the generator is not `doxbrix`, stop and use its installed Doxloop format
26
+ skill instead.
27
+
28
+ ## Author native Doxbrix content
29
+
30
+ - Write `.mdx` when using Doxbrix components.
31
+ - Include `title` and an outcome-focused `description` in frontmatter.
32
+ - Use standard Markdown for ordinary prose.
33
+ - Use a rich component only when it communicates the content more clearly.
34
+ - Use `<Steps>` for sequential procedures, `<CodeGroup>` for alternative
35
+ commands, `<Accordion>` for compact FAQs, and `<CardGroup>` for purposeful
36
+ navigation.
37
+ - Use the six Doxbrix callout types accurately: `<Info>`, `<Note>`, `<Tip>`,
38
+ `<Check>`, `<Warning>`, and `<Danger>`.
39
+ - Use one native `<ApiEndpoint>` block per HTTP operation, with a `<Param>` for
40
+ every verified parameter and a `<Response>` for every documented status.
41
+ Never replace the native endpoint block with Markdown tables or standalone
42
+ request and response code fences.
43
+ - Keep component tags balanced and put nested block content on separate lines.
44
+ - Use root-relative page links that match manifest page files.
45
+
46
+ Do not emit Docusaurus directives such as `:::tip`, Docusaurus theme imports, or
47
+ `sidebars.js` entries in a Doxbrix project.
48
+
49
+ ## Maintain navigation
50
+
51
+ Implement the semantic top/left navigation plan composed by
52
+ `$doxloop-authoring`. Map major reader surfaces to Doxbrix spaces or supported
53
+ site links and map left-navigation groups to nested `docs.json` nodes. Preserve
54
+ the planned labels, order, hierarchy, and routes unless Doxbrix requires a
55
+ documented adaptation; do not copy empty template groups.
56
+
57
+ Treat `docs/docs.json` as the canonical manifest for new Doxloop projects.
58
+ Legacy projects may keep `docs.json` at the project root. Add every
59
+ reader-facing page exactly once under a relevant space and navigation group.
60
+ Assign meaningful named icons to spaces and primary group, page, link, and API
61
+ nodes. Choose icons by reader meaning, keep the vocabulary consistent, and
62
+ preserve visible text labels; icons supplement labels rather than replace them.
63
+ Preserve supported link, label, divider, and API nodes.
64
+
65
+ ## Apply captured branding
66
+
67
+ Use the identity and any confirmed external design profile gathered through
68
+ `$doxloop-authoring` and [references/manifest.md](references/manifest.md):
69
+
70
+ - write colors, mode, fonts, logos, favicon, and backgrounds under `theme`;
71
+ - copy public logos and licensed local font files into the documentation content
72
+ directory and use root-relative paths;
73
+ - provide separate light and dark assets when the application does;
74
+ - preserve readable contrast and use fallbacks for fonts that cannot be copied.
75
+
76
+ Do not invent missing brand values or reference files outside the documentation
77
+ project.
78
+
79
+ ## Verify
80
+
81
+ Run `doxloop test` and `doxloop preview --open`. Confirm rich blocks, navigation,
82
+ page title, description, code highlighting, and responsive layout render in the
83
+ Doxbrix preview.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Doxloop Doxbrix Format"
3
+ short_description: "Author native Doxbrix docs, API endpoints, and components"
4
+ default_prompt: "Use $doxloop-doxbrix to author documentation in native Doxbrix MDX and navigation format, using ApiEndpoint with Param and Response for HTTP API reference."
@@ -0,0 +1,128 @@
1
+ # Doxbrix API endpoint reference
2
+
3
+ Use this contract for every HTTP operation documented in a Doxbrix project.
4
+ The native reader turns this structure into the method/path bar, Try it action,
5
+ grouped parameters, generated request example, and response tabs.
6
+
7
+ - [Page contract](#page-contract)
8
+ - [Canonical syntax](#canonical-syntax)
9
+ - [Verification](#verification)
10
+
11
+ ## Page contract
12
+
13
+ - Prefer one endpoint page and one `<ApiEndpoint>` block per operation.
14
+ - Use the page title for the operation name, such as `List projects`.
15
+ - Open with one short sentence describing the observable behavior.
16
+ - Put `method`, `path`, `baseUrl`, `summary`, and `description` on
17
+ `<ApiEndpoint>`.
18
+ - Add one `<Param>` for every verified path, query, header, or body parameter.
19
+ - Add one `<Response>` for the successful status and each important verified
20
+ error status.
21
+ - Keep example values realistic but visibly non-secret.
22
+ - Use raw JSON inside `<Response>` without an additional fenced code block.
23
+ - Get every name, type, required flag, default, limit, status, and example shape
24
+ from OpenAPI, public schemas, route contracts, or tests. Invent nothing.
25
+
26
+ ## Canonical syntax
27
+
28
+ ```mdx
29
+ ---
30
+ title: List projects
31
+ description: List the projects available to the current API key.
32
+ ---
33
+
34
+ Lists the projects in your workspace that the API key can access.
35
+ Results use cursor pagination.
36
+
37
+ <ApiEndpoint
38
+ method="GET"
39
+ path="/projects"
40
+ baseUrl="https://api.example.com/v1"
41
+ summary="List projects"
42
+ description="Returns a page of projects."
43
+ >
44
+ <Param
45
+ name="Authorization"
46
+ in="header"
47
+ type="string"
48
+ required
49
+ example="Bearer api_test_example"
50
+ >
51
+ Bearer token sent in the `Authorization` header.
52
+ </Param>
53
+ <Param
54
+ name="limit"
55
+ in="query"
56
+ type="integer"
57
+ example="50"
58
+ >
59
+ Maximum results per page. Defaults to 50; maximum 100.
60
+ </Param>
61
+ <Param
62
+ name="cursor"
63
+ in="query"
64
+ type="string"
65
+ example="next_page_cursor"
66
+ >
67
+ Pagination cursor returned by the previous response.
68
+ </Param>
69
+ <Response
70
+ status={200}
71
+ contentType="application/json"
72
+ description="Projects listed"
73
+ >
74
+ {
75
+ "data": [
76
+ {
77
+ "id": "prj_01H9",
78
+ "name": "Acme Docs"
79
+ }
80
+ ],
81
+ "nextCursor": null
82
+ }
83
+ </Response>
84
+ <Response
85
+ status={401}
86
+ contentType="application/json"
87
+ description="Authentication failed"
88
+ >
89
+ {
90
+ "error": {
91
+ "code": "unauthorized",
92
+ "message": "Provide a valid API key."
93
+ }
94
+ }
95
+ </Response>
96
+ </ApiEndpoint>
97
+ ```
98
+
99
+ Use only supported values:
100
+
101
+ - `method`: `GET`, `POST`, `PUT`, `PATCH`, or `DELETE`;
102
+ - `in`: `path`, `query`, `header`, or `body`;
103
+ - `required`: prefer a bare boolean attribute when true; `{true}` is also
104
+ accepted; omit it when false;
105
+ - `status`: a numeric expression such as `{200}`;
106
+ - `contentType`: normally `application/json`, when verified.
107
+
108
+ For every `{placeholder}` in `path`, add a matching required path parameter:
109
+
110
+ ```mdx
111
+ <Param name="projectId" in="path" type="string" required example="prj_01H9">
112
+ Project identifier.
113
+ </Param>
114
+ ```
115
+
116
+ Do not use a Markdown parameter table, a prose-only endpoint, or separate cURL
117
+ and response fences in place of `<ApiEndpoint>`. The reader generates the
118
+ request presentation from the block attributes and parameter examples.
119
+
120
+ ## Verification
121
+
122
+ Run `doxloop test`, then inspect the page in `doxloop preview --open`. Confirm:
123
+
124
+ - the method and path appear in the endpoint bar;
125
+ - header, path, and query parameters appear in their proper sections;
126
+ - required and type badges are correct;
127
+ - the request example uses the verified base URL and parameter examples;
128
+ - success and error statuses appear as response tabs with valid example bodies.