agentleFS
GoogleKnown publishergoogle/xrblocks/skills/xb-contribute-sdk/SKILL.md

xb-contribute-sdk

Skill481 starsChanged 2 months agoApache-2.0View on GitHub

Complete an XR Blocks SDK change across implementation, runtime wiring, public exports, proof, build output, examples, and canonical documentation. Use when editing the XR Blocks repository rather than an application that consumes it.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ../../AGENTS.md, record the current status and diff, and treat existing changes as user-owned.

    line 12
  2. Very specific:

    Read references/seam-map.md for the selected branch.

    line 26
  3. Distinctive:

    Follow adjacent TypeScript and module-extension conventions.

    line 37
  4. Distinctive:

    Add or adjust the smallest colocated test that fails without the change.

    line 48
  5. Distinctive:

    Update the smallest executable sample or template when developers need a copyable pattern.

    line 59
  6. Distinctive:

    Do not create a skill for a new capability alone.

    line 62
  7. Very specific:

    Run the repository checks required by AGENTS.md in proportion to the change.

    line 69
  8. Very specific:

    Use npm run build:sdk for core SDK output and the full build when addon output or complete packaging is affected.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Contribute to the XR Blocks SDK

Deliver a complete seam: every affected layer tells the same current story.

1. Freeze the worktree and change contract

Read ../../AGENTS.md, record the current status and diff, and treat existing changes as user-owned. Inspect the implementation, adjacent tests, public entry, and nearest executable example.

Classify the change as internal, root-public, or addon-public. List the affected configuration, runtime owner, lifecycle, cleanup, exports, declarations, build output, tests, examples, and manual owner. Mark unused seam elements not applicable.

Complete this step when the opening worktree is accounted for and every seam element has an owner or an explicit not applicable decision.

2. Trace the production seam

Read references/seam-map.md for the selected branch. Trace configuration to construction, registry resolution, lifecycle calls, disposal, public entry, and emitted path. Treat ../../src/xrblocks.ts and addon public entries as import authority. Do not expose an internal helper only because it exists.

Complete this step when every producer, prerequisite, consumer, lifecycle call, cleanup path, public entry, and emitted path is located.

3. Implement the narrow seam

Follow adjacent TypeScript and module-extension conventions. Use declared dependencies and the registry for runtime services. Keep optional feature defaults inert, configure permissions before XR startup, and initialize owners before dependents. Edit source inputs and regenerate build output; do not edit build/ by hand.

Complete this step when the production path satisfies the change contract and the diff contains no unrelated edits.

4. Add proof through the real boundary

Add or adjust the smallest colocated test that fails without the change. Cover new conditions, disabled or unsupported behavior, failure behavior, cleanup, and boundary wiring when they can regress. Run the narrow test before wider checks.

Complete this step when every behavior in the contract has a named assertion through its real public or runtime boundary.

5. Align the one teaching owner

Read references/developer-surfaces.md. Update the smallest executable sample or template when developers need a copyable pattern. Update the one manual page that owns the concept. Update a task skill only when the change alters that skill's process or branch choice. Do not create a skill for a new capability alone.

Complete this step when a developer can discover one working public pattern and no affected authoritative surface teaches the previous behavior.

6. Close the seam

Run the repository checks required by AGENTS.md in proportion to the change. Use npm run build:sdk for core SDK output and the full build when addon output or complete packaging is affected. Build the docs when manuals, TypeDoc inputs, sidebars, or docs components change. Inspect generated changes and compare the final worktree to the opening snapshot.

Finish when all applicable checks pass, intended imports and declarations resolve from emitted paths, every contract row has proof, documentation matches the public implementation, and user-owned changes remain intact.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.