jsx-md-authoring
Skill1 starsChanged 6 months agoMITView on GitHub
Use when writing or modifying JSX-MD prompt components, Markdown-rendering primitives, XML intrinsic prompts, or packages/jsx-md and packages/jsx-md-beautiful-mermaid behavior.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-self-checkSkill
- biome-grit-rulesSkill
- biome-toolingSkill
- bun-testSkill
- bun-workspaceSkill
- cleanup-auditSkill
- code-reviewSkill
- dispatch-satelliteSkill
- docs-managementSkill
- docs-readingSkill
- effect-concurrency-lifecycleSkill
- effect-errors-schemaSkill
- effect-observability-timeSkill
- effect-services-layersSkill
- effect-testing-runtimeSkill
- effect-v4Skill
- monorepo-maintenanceSkill
- refactoring-disciplineSkill
- roadmap-managementSkill
- runtime-engineSkill
- server-runtimeSkill
- testing-patternsSkill
- theseus-designSkill
- tool-authoringSkill
- typescript-strictSkill
- ui-layout-disciplineSkill
- theseus-designSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 4 are distinctive, and 8 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.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill for prompt components and Markdown rendering code.
- Distinctive: line 19
Prefer JSX-MD components over inline Markdown strings.
- Very specific: line 20
Use lowercase XML intrinsics for structured LLM prompt sections such as <context>, <instructions>, and <examples>.
- Very specific: line 21
Use Md only as an escape hatch for genuinely undecomposable Markdown.
- Very specific: line 23
Use Codeblock for fenced code and let it choose a safe fence length.
- Very specific: line 24
Keep render() deterministic and synchronous.
- Very specific: line 25
Do not introduce React or DOM runtime assumptions into jsx-md.
- Distinctive: line 26
Use context only for cross-cutting rendering state, not arbitrary global state.
- Very specific: line 31
Use {...} only when JSX syntax requires it, such as backticks, braces, <, >, or apostrophes inside the text.
- Distinctive: line 32
Keep XML attributes primitive and serializable.
- Very specific: line 36
Run bun test in packages/jsx-md for renderer changes.
- Very specific: line 37
Run bun run typecheck after export, type, or JSX runtime changes.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
JSX-MD Authoring
Use this skill for prompt components and Markdown rendering code.
Read First
packages/jsx-md/README.mdpackages/jsx-md/src/primitives.tsxpackages/jsx-md/src/render.tspackages/jsx-md/src/context.ts
Authoring Rules
- Prefer JSX-MD components over inline Markdown strings.
- Use lowercase XML intrinsics for structured LLM prompt sections such as
<context>,<instructions>, and<examples>. - Use
Mdonly as an escape hatch for genuinely undecomposable Markdown. - Escape user-supplied strings with
EscapeorescapeMarkdownwhen they should render literally. - Use
Codeblockfor fenced code and let it choose a safe fence length. - Keep
render()deterministic and synchronous. - Do not introduce React or DOM runtime assumptions into
jsx-md. - Use context only for cross-cutting rendering state, not arbitrary global state.
Text Rules
- Bare JSX text is preferred for plain prose.
- Use
{...}only when JSX syntax requires it, such as backticks, braces,<,>, or apostrophes inside the text. - Keep XML attributes primitive and serializable.
Verification
- Run
bun testinpackages/jsx-mdfor renderer changes. - Run
bun run typecheckafter export, type, or JSX runtime changes.
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
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.

