waypoint-codex 0.4.0 → 0.5.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/README.md CHANGED
@@ -60,6 +60,7 @@ repo/
60
60
  - `observability-audit`
61
61
  - `ux-states-audit`
62
62
  - `docs-sync`
63
+ - `code-guide-audit`
63
64
  - `workspace-compress`
64
65
  - `pre-pr-hygiene`
65
66
  - `pr-review`
package/dist/src/core.js CHANGED
@@ -454,6 +454,7 @@ export function doctorRepository(projectRoot) {
454
454
  "observability-audit",
455
455
  "ux-states-audit",
456
456
  "docs-sync",
457
+ "code-guide-audit",
457
458
  "workspace-compress",
458
459
  "pre-pr-hygiene",
459
460
  "pr-review",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waypoint-codex",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Codex-native repository operating system: scaffolding, docs routing, repo-local skills, doctor, and sync.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: code-guide-audit
3
+ description: Audit a specific feature, file set, or implementation slice against the coding guide and report only coding-guide-related violations or risks in that scope. Use after building a feature, when the user wants a coding-guide compliance check, before review on a targeted area, or when validating whether a change follows rules like no silent fallbacks, strong boundary validation, frontend reuse, explicit state handling, and behavior-focused verification.
4
+ ---
5
+
6
+ # Code Guide Audit
7
+
8
+ Use this skill for a targeted audit against the coding guide, not for a whole-repo hygiene sweep.
9
+
10
+ This skill owns one job: inspect the specific code the user points at, map it against the coding guide, and report only guide-related findings in that scope.
11
+
12
+ ## Step 1: Load The Right Scope
13
+
14
+ - Read `.waypoint/docs/code-guide.md`.
15
+ - Read only the files, routes, tests, contracts, and nearby docs needed to understand the specific feature or slice under review.
16
+ - If the scope is ambiguous, resolve it to a concrete file set, feature path, or commit-sized change surface before auditing.
17
+
18
+ Do not expand into a whole-repo audit unless the user explicitly asks for that.
19
+
20
+ ## Step 2: Translate The Guide Into Checks
21
+
22
+ Audit only for rules that actually apply to the scoped code.
23
+
24
+ Look for:
25
+
26
+ - stale compatibility layers, shims, aliases, or migration-only branches
27
+ - weak typing, avoidable `any`, recreated shared types, or unsafe casts
28
+ - silent fallbacks, swallowed errors, degraded paths, or missing required-config failures
29
+ - missing validation at input, config, API, file, queue, or database boundaries
30
+ - speculative abstractions that hide the actual behavior
31
+ - unclear state transitions, weak transaction boundaries, missing idempotency, or weak persistence invariants
32
+ - frontend code that ignored reusable components or broke the existing design language
33
+ - missing loading, empty, or error states
34
+ - optimistic UI without rollback or invalidation
35
+ - missing observability at important failure or state boundaries
36
+ - regression tests that assert implementation details instead of behavior
37
+
38
+ Skip rules that genuinely do not apply, but say that you skipped them.
39
+
40
+ ## Step 3: Keep The Audit Narrow
41
+
42
+ - Report only coding-guide findings for the requested scope.
43
+ - Do not drift into generic architecture advice, repo-wide cleanup, docs sync, or PR readiness unless the finding is directly required by the guide.
44
+ - If you notice issues outside scope, mention them only if they are severe enough that ignoring them would mislead the user about this audit.
45
+
46
+ This skill is narrower than `pre-pr-hygiene`. Use that other skill for broader ship-readiness.
47
+
48
+ ## Step 4: Verify Evidence
49
+
50
+ Ground each finding in the actual code.
51
+
52
+ - Read the real implementation before calling something a violation.
53
+ - When relevant, inspect the nearest tests, contracts, schemas, or reused components to confirm the gap.
54
+ - Do not invent verification that you did not run.
55
+
56
+ If the user asked for a pure audit, stop at findings. If they asked for fixes too, fix the clear issues and then verify the changed area.
57
+
58
+ ## Step 5: Report The Result
59
+
60
+ Summarize the scoped result in review style:
61
+
62
+ - findings first, ordered by severity
63
+ - each finding tied back to the relevant coding-guide rule
64
+ - include exact file references
65
+ - then note any skipped guide areas or residual uncertainty
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Code Guide Audit"
3
+ short_description: "Audit scoped code against the coding guide"
4
+ default_prompt: "Use this skill to audit a specific feature, file set, or implementation slice against the coding guide and report only guide-related violations or risks in that scope."
@@ -68,6 +68,7 @@ Do not document every trivial implementation detail. Document the non-obvious, d
68
68
  - `observability-audit` when production debugging signals look weak
69
69
  - `ux-states-audit` when async/data-driven UI likely lacks loading, empty, or error states
70
70
  - `docs-sync` when routed docs may be stale, missing, or inconsistent with the codebase
71
+ - `code-guide-audit` when a specific feature or file set needs a targeted coding-guide compliance check
71
72
  - `workspace-compress` after meaningful chunks, before stopping, and before review when the live handoff needs compression
72
73
  - `pre-pr-hygiene` before pushing or opening/updating a PR for substantial work
73
74
  - `pr-review` once a PR has active review comments or automated review in progress
@@ -35,6 +35,7 @@ Working rules:
35
35
  - Update `.waypoint/docs/` when behavior or durable project knowledge changes, and refresh `last_updated` on touched routable docs
36
36
  - Use the repo-local skills Waypoint ships for structured workflows when relevant
37
37
  - Use `docs-sync` when the docs may be stale or a change altered shipped behavior, contracts, routes, or commands
38
+ - Use `code-guide-audit` for a targeted coding-guide compliance pass on a specific feature, file set, or change slice
38
39
  - If optional reviewer roles are present and you make a commit, run `code-reviewer` and `code-health-reviewer` in parallel before calling the work done
39
40
  - Before pushing or opening/updating a PR for substantial work, use `pre-pr-hygiene`
40
41
  - Use `pr-review` once a PR has active review comments or automated review in progress