cratis-discoverability
Check Cratis content before publishing for search and AI answers without sacrificing readability. Use when reviewing discoverability, SEO, AEO or GEO; writing fact blocks or download claims; editing package/repo metadata; checking docs titles, descriptions or LLM export budgets; or reviewing founder/company JSON-LD and member profile indexing. Not for page voice and structure (cratis-documentation-writing), llms.txt design (cratis-llm-friendly-documentation), distribution plans (cratis-developer-marketing) or length decisions (cratis-content-length).
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cratis-discoverability
- license
- MIT
- description
- Check Cratis content before publishing for search and AI answers without sacrificing readability. Use when reviewing discoverability, SEO, AEO or GEO; writing fact blocks or download claims; editing package/repo metadata; checking docs titles, descriptions or LLM export budgets; or reviewing founder/company JSON-LD and member profile indexing. Not for page voice and structure (cratis-documentation-writing), llms.txt design (cratis-llm-friendly-documentation), distribution plans (cratis-developer-marketing) or length decisions (cratis-content-length).
02 资源文件 7
- 许可证LICENSE201 B
- 参考文档references/entities.md4.3 KB
- 参考文档references/facts-and-adoption.md3.5 KB
- 参考文档references/package-metadata.md3.7 KB
- 参考文档references/page-checklist.md5.7 KB
- 参考文档references/structured-data.md3.3 KB
- 脚本scripts/verify-discoverability.mjs6.0 KB
03 SKILL.md 正文
<!-- cratis-ai-managed: skills/cratis-discoverability/SKILL.md -->
Discoverability before you publish
Discoverability is a property of good content: a clear definition, an honest title, one name per thing and working links. The always-on rule is discoverability.md; this skill is the procedure to run on the finished draft. If a fix makes the page worse to read, drop the fix and say so.
Procedure
- Name the content type: docs page, blog post, landing page, README, package/repo metadata or member profile.
- Name the reader's one job and, for docs, the page type (tutorial, how-to, reference, explanation).
- Apply the checks for that type below, including facts, adoption claims and privacy without waiting for a separate request. Fix the draft; do not annotate it.
- For a built site, run the checker and fix errors; warnings are judgment calls to report.
- Report what was changed, what was left alone and why.
Read references/page-checklist.md when checking a page, including docs lint baselines and LLM export budgets.
Checks by content type
- Docs page. The
descriptionis written by hand as one self-contained definition or outcome sentence. Tutorials, getting-started pages and explanations followwriting-cratis-docs(scenario first); the definition lives in thedescription, and one definition sentence may follow the opening scenario where it reads naturally.writing-cratis-docswins on voice and structure. Product index pages open with the definition sentence. Reference pages stay terse: title is the exact name plus its product, no question headings, no intro. Titles are unique across the site and name the product ("Chronicle projections"). Keep description and duplicate-title lint baselines at 0; never raise a baseline to pass. Check rendered titles and measurellms.txt/llms-small.txtbytes against the site budgets. - Blog post. The title states the topic in the words a reader would search. The intro gives the
conclusion in two sentences. Show the named author and date, add
lastUpdatedonly for real changes, link the owning docs pages withhttps://www.cratis.io/..., keepdescriptionapart from the cardexcerpt. - Landing page. One primary term in the title, the
<h1>or the first paragraph, and a one-sentence definition above the fold. Brand lines stay; pair them with a category term in the title and description. Respect the claim gate inBRAND.md,MESSAGING.mdandSITE.md. - README. The H1 may be the product name ("Cratis <Product>"). The first sentence defines the product in 15-35 plain nouns, with no logo-only or metaphor opener. Links are absolute; link the docs page.
- Package metadata. One sentence naming what the package is and which Cratis product it belongs
to, identical to the README opener.
PackageProjectUrlandhomepagepoint at the docs page, not only at GitHub. Readreferences/package-metadata.mdwhen editing package fields, GitHub About, Docker Hub descriptions, analyzer help links, template messages or README footers. Check these surfaces together; Authors and Company areCratis.
Fact blocks and adoption claims
For each entity page, assemble one sourced "at a glance" block from verifiable facts, with dates
for counts. Read references/facts-and-adoption.md when selecting facts or calculating downloads:
identify entry packages and continuation predecessors, exclude sub-packages and overlapping
shared dependencies, round down to a stated threshold, and publish the month and registries.
Downloads are never users or customers. Omit unsupported claims instead of inventing customers,
user counts, benchmarks, certifications, prices or competitor comparisons. Keep shared guidance
generic; do not copy private integration names, legal entity details or factual counts into it.
Names
Use the canonical names, one per concept, and the first-mention rule. Read
references/entities.md when naming a product, writing a definition sentence or filling sameAs.
Do not invent a name, URL, maturity word or claim that the references do not state.
Structured data
Describe only what is visible on the page, one @graph per page, stable @ids. Add no HowTo and
no new FAQPage. Read references/structured-data.md for the patterns and what each page type
gets. Use only public, owner-approved founder/company facts. Do not name other people in
structured data; never add personal data or Person entities for community members. Member
profiles are noindex; check profile and CV routes, rendered robots directives and JSON-LD.
Without approved public founder facts, reference the organization by @id instead.
Checking a built site
For a built static site (Astro dist/ or a plain-HTML repository root), run with Node.js:
node <skill-directory>/scripts/verify-discoverability.mjs --root <dir> --site <https://host>.
It reports <html lang>, title, description, canonical host, <h1> count, JSON-LD parse errors,
robots.txt, the sitemap and llms.txt structure. Errors exit 1; warnings do not. Pass
--warn-only to downgrade errors and --require-llms where the site ships llms.txt.
Read scripts/verify-discoverability.mjs only when changing the checker.
Pitfalls
- Question headings everywhere: use them only where they read naturally (concept pages, FAQs, comparisons, blog), never on reference pages or tutorial steps.
- Padding to a word count: there is no minimum length; a complete page is done.
- Apex
https://cratis.io/links: the docs host ishttps://www.cratis.io. - A description that repeats the title or a sibling page's description.
04 同仓库更多 Skills
vectorization
Designs, implements, optimizes, and reviews SIMD code in .NET: vectorizing scalar loops with TensorPrimitives, Vector64, Vector128, Vector256, Vector512, or hardware intrinsics, and reviewing existing SIMD code, including the generic Vector type, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. Use when a .NET loop or SIMD routine is being written or reviewed. Not for performance work unrelated to SIMD.
target-authoring
Canonical patterns for writing custom MSBuild targets: DependsOnTargets versus BeforeTargets and AfterTargets, the Build-to-CoreBuild three-level pattern, and the XxxDependsOn chain-extension pattern. Use when diagnosing or fixing custom-target anti-patterns: Directory.Build.targets redefining SDK targets, targets that replace CompileDependsOn instead of extending it, Outputs versus Returns misuse that returns stale results, missing Inputs/Outputs causing needless rebuilds, or missing FileWrites registration. Not for incremental build tuning or general anti-pattern review (use the msbuild skill), or non-MSBuild build systems.
run-tests
Chooses and runs the repository-compatible .NET test command: classic, VSTest, bridged MTP, or native MTP syntax for MSTest, xUnit, NUnit, and TUnit. Use before running .NET tests or answering with a test command or flags: run the tests, one test, class, category, trait or target framework, combined filters, --filter-query, --no-build, --diag, TRX, coverage collection, crash or hang dumps, filter errors, or unrecognized options. Not for platform identification alone (use platform-detection), writing or debugging test code, interpreting a coverage report (use coverage-analysis), CI investigation, migration, or a persistent hot-reload loop.
profiling
Uses the free official .NET diagnostics CLI tools for profiling and runtime investigation in a repository: CPU, GC pressure, allocation growth, exception storms, lock contention, and slow code. Use when a .NET application needs performance or runtime profiling. Not for replacing realistic performance or load tests with ad-hoc tracing, production heap collection without a pause-risk plan, crash dumps (use dump-collect), or benchmark design (use microbenchmarking).
platform-detection
Identifies a .NET project's test platform, framework, command mode, and SDK-style versus classic project system, resolving global.json, project, packages.config, Directory.Build.props, and Directory.Packages.props precedence for MSTest, xUnit, NUnit, and TUnit. Use when asking "which test platform or framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and conflicting VSTest/MTP configuration. Not for running or filtering tests, commands, flags, TRX, dumps, or test-command errors (use run-tests), or for hot-reload or migration requests.
orleans
Designs Microsoft Orleans systems from each primitive's purpose and failure model: grains, digital twins, state versus databases, transactions, messaging, streams, timers, reminders, Durable Jobs, stateless workers, grain services, startup, and hosting. Use when a task needs an Orleans design decision: inspect version and topology, choose the primitive, implement, and validate. Not for other actor stacks, batch processing, relational-only CRUD, or advice without an Orleans decision.