Skip to main content

documentation

Defines public README, maintainer-document, and agent-instruction structure, source-of-truth boundaries, concise prose, formatting, and voice for @samchon/graph. Use before writing, modifying, renaming, or moving repository Markdown documentation, CLI or MCP examples, benchmark methodology, language-support instructions, AGENTS.md, or SKILL.md files.

Source facts

Repository
samchon/compiler-knowledge-graph
Last source activity
July 20, 2026 at 07:53
Detected SKILL.md language
English
Stars
6
Forks
3

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
documentation
description
Defines public README, maintainer-document, and agent-instruction structure, source-of-truth boundaries, concise prose, formatting, and voice for @samchon/graph. Use before writing, modifying, renaming, or moving repository Markdown documentation, CLI or MCP examples, benchmark methodology, language-support instructions, AGENTS.md, or SKILL.md files.
# Documentation ## Public README The root `README.md` is the canonical public document for package users. Start with what `@samchon/graph` is, the problem it solves, installation, the smallest MCP setup, language-server prerequisites, benchmark evidence, and the common operational path. Keep public prose direct and practical. Explain internal ranking, protocol, or indexer details only when a user needs them to interpret the contract or benchmark honestly. `packages/graph/README.md` is ignored and copied from the root during package build. Never edit it directly. If the package copy is stale, rebuild after updating the root source. ## Contract Synchronization The README embeds and explains the public MCP application contract, and `test_readme_embeds_the_exact_application_contract.ts` guards that relationship. The TypeScript block sourced from `packages/graph/src/structures/ISamchonGraphApplication.ts` must remain byte-for-byte synchronized with the contract region that the test selects. When changing `ISamchonGraphApplication`, request/result unions, tool descriptions, supported languages, CLI forms, or trust claims: 1. Update the owning TypeScript types and JSDoc first. 2. Update the root README's exact contract excerpt and surrounding explanation. 3. Run the focused README contract test and the relevant public-surface tests. Do not weaken the test, hand-edit generated package output, or leave examples describing a schema the server no longer accepts. ## Maintainer Documents - `tests/experiment/README.md` explains real-language-server smoke experiments and their external prerequisites. - `tests/benchmark/README.md` introduces the benchmark architecture and zero-spend versus paid lanes. - `tests/benchmark/graph/README.md` owns detailed runner flags, reproducibility, and publication acceptance. - `.agents/skills/` owns agent workflows and durable repository contracts; it points to source and READMEs rather than duplicating them. Keep one audience and task per document. Put user setup in the root README, experiment operation beside the experiment, and benchmark methodology beside the harness. ## Agent Instructions `AGENTS.md` and `SKILL.md` files are operational documents for humans and agents. Keep only the product-wide contract in `AGENTS.md`, the always-applicable procedure in `SKILL.md`, and conditional detail in a linked sibling document. Concise and clear means: - Include the context needed to act correctly. Do not make the reader infer prerequisites, exceptions, reasons, or stop conditions merely to shorten the document. - State each rule at its owning document and link to it elsewhere. Remove repeated wording, not necessary substance, and preserve rationale when it prevents a plausible mistake. - Give each paragraph one job. Separate purpose, rule, rationale, procedure, and consequence when combining them obscures the action. - Use structure to compress meaning: ordered lists for procedures, bullets for choices and checks, tables for repeated mappings, and code blocks for exact commands. Do not hide a workflow inside one long sentence. - State the rule before its reason. Use a negative rule only when it prevents a named failure that the affirmative rule does not already exclude. - Link to READMEs, source comments, benchmark manifests, and other owning documents instead of paraphrasing them. ## Prose Layout Preserve the surrounding document's line-wrapping convention. The public README generally keeps prose compact, while maintainer READMEs contain hard-wrapped paragraphs. Follow the surrounding file unless the task explicitly changes formatting policy. Do not reflow unrelated paragraphs just to impose a different style, and do not claim a formatter policy the repository does not have. Keep structural line breaks for headings, paragraphs, list items, tables, block quotes, and fenced code. Verify shell examples from the repository root unless the text explicitly changes directories. ## Voice Write in the plain, direct voice of the human-authored docs in this repository. Do not write like an AI assistant. - No emoji or ornamental headings. - Avoid AI-cliche phrasing such as "let's dive in", "whether you're X or Y", "it's worth noting", and filler adjectives such as "seamless", "powerful", "robust", or "effortless". - Do not add a wrap-up sentence that merely restates the paragraph. State the fact and stop. - Distinguish measured evidence from extrapolation. Name the harness, model, corpus, sample count, and limitations for benchmark claims.
View on GitHub