Skip to content

Add domain probes, stub detection, and symptom triage - #33

Merged
5uck1ess merged 3 commits into
mainfrom
supplement-gsd-patterns
Apr 8, 2026
Merged

Add domain probes, stub detection, and symptom triage#33
5uck1ess merged 3 commits into
mainfrom
supplement-gsd-patterns

Conversation

@5uck1ess

@5uck1ess 5uck1ess commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Domain probing patterns (references/domain-probes.md) — 8 domain-specific question sets (auth, real-time, dashboard, API, database, UI, testing, deployment) for surfacing gray areas during /feature brainstorming
  • Stub detection patterns (references/stub-patterns.md) — mechanical grep patterns for catching unfinished work: empty implementations, placeholder text, hardcoded values, skipped tests
  • Symptom triage table (added to debug-checklists.md) — symptom-first lookup that routes to the right domain checklist when the bug category isn't obvious

Inspired by patterns in gsd-build/get-shit-done, adapted to devkit's composable reference-file approach. No new commands — supplements existing workflows via selective reference loading.

Test plan

  • Run /feature with an auth-related request — verify domain probes surface relevant questions
  • Run /self-audit on a repo with TODOs — verify stub patterns reference appears in stale code analysis
  • Run /tri-debug with an ambiguous symptom — verify triage table helps route to correct checklist

5uck1ess added 3 commits April 8, 2026 12:45
- references/domain-probes.md: domain-specific gray-area questions for
  feature brainstorming (auth, API, database, UI, etc.)
- references/stub-patterns.md: mechanical grep patterns for detecting
  unfinished work (empty impls, placeholders, hardcoded values, skipped tests)
- debug-checklists.md: symptom-to-category triage table for routing
  to the right domain checklist when the bug type isn't obvious
- feature.md: reference domain probes in brainstorm step
- self-audit.md: reference stub patterns in stale code section
stub-patterns.md:
- Add false-positive caveat for return nil/null/{}/[]
- Fix grep portability: use -E flag instead of \s for macOS compat
- Remove fragile Python except pipe pattern
- Add *.tsx/*.jsx to TODO, hardcoded-value, and catch-block patterns
- Add overall "matches require manual review" disclaimer

self-audit.md:
- Run stub detection unconditionally, not gated on TODO count

feature.md:
- Support multiple domains per feature (auth + API + UI)
- Skip probing when no domain section matches

debug-checklists.md:
- Merge duplicate Quick Symptom Lookup into Performance Bugs
  checklist to eliminate DRY violation with Symptom Triage table
stub-patterns.md:
- Split return-nothing grep by language (nil→Go, null/undefined→TS/JS, None→Python)
- Fix pass$ regex to use word-boundary pattern (was matching bypass, overpass)
- Add test_ prefix to Python test file exclusion

self-audit.md:
- Align inline TODO grep with stub-patterns.md canonical list (add tsx/jsx/rb/PLACEHOLDER)
- Defer hardcoded secrets check to stub-patterns.md (was inconsistent: missing tsx, no test exclusion)
@5uck1ess
5uck1ess merged commit 22a6f17 into main Apr 8, 2026
3 checks passed
@5uck1ess
5uck1ess deleted the supplement-gsd-patterns branch April 8, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant