Skip to content

fix: address meta-feedback issues from #22#23

Merged
KyleAMathews merged 3 commits intomainfrom
fix/meta-feedback-22
Mar 3, 2026
Merged

fix: address meta-feedback issues from #22#23
KyleAMathews merged 3 commits intomainfrom
fix/meta-feedback-22

Conversation

@KyleAMathews
Copy link
Collaborator

@KyleAMathews KyleAMathews commented Mar 3, 2026

Summary

Addresses all actionable bugs and improvements from the Durable Streams meta-feedback test run.

Scanner: derive config from standard package.json fields

  • Packages with a skills/ directory no longer need an explicit intent config field
  • repo is derived from repository, docs from homepage
  • Explicit intent field still takes priority when present

Scaffold CLI fixes

  • npx intentnpx @tanstack/intent in all scaffold output
  • Added explicit _artifacts/ exclusion instructions ("!skills/_artifacts" in files array)

Monorepo support across scaffold + all meta skills

  • Scaffold now explains the full monorepo layout: domain map artifacts at repo root, skills per-package
  • Each package needs: @tanstack/intent devDep, bin entry + shim, skills in files array
  • Domain discovery: notes monorepo artifact placement at repo root
  • Tree generator: adds package field to skill tree YAML schema
  • Generate skill: writes to per-package skills directory when package field is present

Domain discovery improvements

  • Flexible domain count: replaced rigid "4–7 domains" with complexity-driven guidance
  • Grouping validation step: "Would a developer working on a single feature need to load skills from multiple domains? If so, merge them."
  • Peer dependency reading: new Phase 1b reads peer dependency docs for framework-integration failure modes (SSR, component lifecycle, connection limits, singleton patterns)
  • Code pattern pairs: wrong_pattern and correct_pattern fields added to failure mode YAML schema

Generator & validator

  • Budget-aware generator: Step 2 now instructs proactive reference file planning before hitting the 500-line limit
  • Better validation message: 500-line error now says "Rewrite for conciseness: move API tables to references/, trim verbose examples..." instead of just stating the limit

Test plan

  • All 130 existing tests pass
  • Build succeeds
  • Scanner still warns on packages with skills/ but no repository or intent field
  • Existing scanner tests (explicit intent field) still work

🤖 Generated with Claude Code

Closes #22

Scanner: derive intent config from repository/homepage fields when
explicit intent field is absent, reducing config boilerplate.

Scaffold: fix npx command references to use @tanstack/intent, add
monorepo guidance, include _artifacts exclusion instructions.

Domain discovery: add wrong_pattern/correct_pattern to failure mode
schema, add peer dependency reading to Phase 1, make domain count
flexible instead of fixed 4-7, add grouping validation step.

Generator: add line budget awareness instruction to Step 2.

Validator: improve 500-line error message to guide agents toward
rewriting for conciseness.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@tanstack/intent@23

commit: 24db6c7

autofix-ci bot and others added 2 commits March 3, 2026 22:44
Scaffold now explains the monorepo layout: domain map artifacts at repo
root, skills written per-package, each package needs @tanstack/intent
devDep, bin entry, and shim.

Domain discovery: notes monorepo artifact placement at repo root.
Tree generator: adds package field to skill tree YAML schema.
Generate skill: writes to per-package skills directory when package
field is present.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@KyleAMathews KyleAMathews merged commit 0f7c5d3 into main Mar 3, 2026
4 checks passed
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.

[meta-feedback] intent meta skills

1 participant