Skip to content

Update tree-generator v3.0: Electric SQL feedback#6

Merged
LadyBluenotes merged 8 commits into
planfrom
tree-generator-electric-feedback
Feb 25, 2026
Merged

Update tree-generator v3.0: Electric SQL feedback#6
LadyBluenotes merged 8 commits into
planfrom
tree-generator-electric-feedback

Conversation

@KyleAMathews
Copy link
Copy Markdown
Collaborator

Summary

  • Add skill type enumeration table with 6 types (core, sub-skill, framework, lifecycle, composition, security)
  • Add flat vs nested structure decision — criteria for when to use each layout, with full directory examples
  • Make router skill optional — agents can discover skills via CLI list/show when the skill set is small
  • Formalize alternative checklist/audit body template for security and go-live skills that don't fit Setup → Core Patterns → Common Mistakes
  • Update validation tables with new constraints

Addresses gaps 1, 2, 4, 6 from Electric SQL test feedback. Gaps 3 (migration workflow) and 5 (source synthesis) were intentionally deferred.

Test plan

  • Verify skill type table covers all types from domain-discovery v3.0
  • Verify flat vs nested criteria align with domain-discovery output shape
  • Verify checklist body template is usable for security-type skills
  • Run tree-generator against a library with checklist-style skills to validate the new template

🤖 Generated with Claude Code

KyleAMathews and others added 7 commits February 25, 2026 08:59
Incorporates feedback from TanStack DB testing (discussions #2 and #3):

domain-discovery:
- Cross-domain failure modes with `domains` list for semi-lattice coverage
- Tensions section for design conflicts between domains
- AI-agent-specific failure mode interview questions (Phase 3c)
- Composition discovery from package.json peer deps (Phase 2h)
- Subsystem and reference candidate flagging per domain (Phase 2c)
- Relaxed interview batching for yes/no confirmations
- Failure mode status tracking (active/fixed-but-legacy-risk/removed)
- Strengthened GitHub issue scanning for architectural positions

tree-generator:
- Source repository layout for npm distribution in monorepos
- package.json `files` array guidance for shipping skills
- Framework-integration domain decomposition per adapter package
- Adapter-heavy domain guidance (per-adapter reference files)
- Cross-domain failure modes written into all relevant SKILL files
- Tension notes with cross-references between involved skills
- Failure mode status handling (skip removed, annotate legacy-risk)
- Content-based reference file heuristics (not just length overflow)
- Dense API surface and schema validation reference file triggers

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove phantom package_map.yaml references from tree-generator
- Fix Phase 3f → 3e cross-reference in domain-discovery
- Fix metadata.sources → sources in validation table
- Add failure mode → Common Mistake mapping note
- Clarify cross-domain failure mode canonical location (list once, tag with domains)
- Add skill_spec.md structural template
- Compress plausible/silent/grounded definition in tree-generator
- Add quality warning to compressed domain-discovery fallback
- Clarify "no concept explanations" means external concepts only
- Add composition skill cross-reference to domain-discovery Phase 2h

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add domain-discovery and tree-generator meta-skills (v2.1)
…ring

Major changes based on Electric SQL test run feedback (discussion #2):

Phase reordering:
- Phase 1: Quick scan (~10 min orientation) instead of exhaustive read
- Phase 2: High-level maintainer interview to extract task map FIRST
- Phase 3: Deep read informed by maintainer's mental model
- Phase 4: Detail interview (gap-targeted, AI-agent, composition)
- Phase 5: Finalize artifacts

Output unit shift:
- Domains are now an intermediate conceptual grouping, not the output
- Skills are the output: task-focused, each matching a developer moment
- Skills emerge from intersection of domains × developer tasks
- YAML schema restructured: skills are top-level with domain reference

New skill types:
- lifecycle skills (quickstart, go-live) suggested when docs support them
- composition skills promoted from footnotes to full skills

Other improvements:
- Monorepo heuristic: identify 2-3 core packages, read deeply
- GitHub issues fallback: FAQ.md, TROUBLESHOOTING.md when no web access
- tree-generator updated to consume new schema shape

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rewrite domain-discovery to v3.0: task-focused skills, new phase ordering
…ist body

Incorporate Electric SQL test feedback (discussion #3):
- Add skill type enumeration table (core, sub-skill, framework, lifecycle, composition, security)
- Add flat vs nested structure decision with criteria and both directory layouts
- Make router skill optional with guidance on when CLI routing suffices
- Formalize alternative body template for checklist/audit skills (security, go-live)
- Add validation checks for new constraints

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@LadyBluenotes LadyBluenotes changed the base branch from main to plan February 25, 2026 18:24
@LadyBluenotes LadyBluenotes merged commit 372c233 into plan Feb 25, 2026
1 of 3 checks passed
@LadyBluenotes LadyBluenotes deleted the tree-generator-electric-feedback branch March 9, 2026 18:13
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.

2 participants