mbertamini/harnessing-mistica#1604
Draft
brtbrt wants to merge 4 commits into
Draft
Conversation
Guide agents to read only the docs relevant to a task rather than all docs upfront, and provide a tree-style map of the `doc` directory with a one-line description of each entry. (B
…ternal references
brtbrt
force-pushed
the
master
branch
2 times, most recently
from
July 15, 2026 22:54
59b086a to
ac8e28d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
mistica-webserves two audiences from one repo, and until now their AIskills/docs were tangled together:
steps. Should be active while working in this repo, and must NOT ship to consumers.
mistica-reactskill vianpx skills add telefonica/mistica-weband readdoc/llms.mdfromnode_modules.Should ship, but must stay dormant in our own dev sessions.
Mixing them caused two problems:
This PR cleanly separates the two "hats" by directory (controls auto-discovery) and
description:frontmatter (controls activation).What changed
.agents/skills/*doc-internal/*published-skills/mistica-react/doc/*(unchanged)npx skills addin a consumer repoConcretely:
doc-internal/— contributor-only docs (architecture.md,testing-internals.md,release-process.md). Excluded from the package..agents/skills/(author-component,write-acceptance-test). Each references the relevantdoc-internal/*file and isscoped to modifying mistica-web source.
published-skills/mistica-react/, scoped to using thepublished package; it links only to shipped
doc/files.AGENTS.mdwith always-on "you are developing the library" guidance,pointing at
doc-internal/.package.jsonfiles/.npmignoreso.agents/,published-skills/,and
doc-internal/are NOT shipped, whiledoc/still is.published-skills/mistica-react/sonpx skills add telefonica/mistica-webresolves the consumer skill from there.What did NOT change
doc/(llms.md,components.md, …) — untouched except for keepinglinks valid.
(
npx skills add telefonica/mistica-web) — same command, same result for downstreams.How to verify
doc-internal/is reachable via the skills / rootAGENTS.md.npx skills add telefonica/mistica-web→ onlymistica-reactinstalls, and its linksresolve to shipped
doc/files.npm pack --dry-run(oryarn pack) showsdoc/present and.agents/,published-skills/,doc-internal/absent.Reviewer notes
independent — separated by folder, reinforced by mutually-exclusive
description:triggers (USE-the-package vs MODIFY-the-source).
package.jsonfiles/.npmignorediff and thenpm pack --dry-runoutput — that's the guard against shipping internal docs.