Favicon of twoslash-validator

twoslash-validator Skill

AI Agent SkillMDXOpen source

Validate and fix two-slash TypeScript examples for aspire.dev. Use when adding or editing twoslash code fences, TypeScript AppHost samples, generated TypeScript API data, or failures from pnpm test:unit:twoslash-blocks. Published by microsoft in aspire.dev.

What is twoslash-validator Skill?

Validate and fix two-slash TypeScript examples for aspire.dev. Use when adding or editing twoslash code fences, TypeScript AppHost samples, generated TypeScript API data, or failures from pnpm test:unit:twoslash-blocks. Published by microsoft in aspire.dev. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
56/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Documentation
  • Data analysis
  • Design and media
  • Testing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use twoslash-validator Skill

  • Use it for testing.
  • Use it for documentation.
  • Use it for data analysis.
  • Use it for design and media.

Built with

MDXCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/aspire.dev
  • Skill file: .agents/skills/twoslash-validator/SKILL.md

What it does

Validate and fix two-slash TypeScript examples for aspire.dev. Use when adding or editing twoslash code fences, TypeScript AppHost samples, generated TypeScript API data, or failures from pnpm test:unit:twoslash-blocks.

Skill instructions

Two-slash Validator Skill Use this skill to keep aspire.dev from shipping rendered two-slash error UI. Any TypeScript diagnostic in a twoslash code block renders an error box on the site, so diagnostics must be fixed rather than suppressed. When to use this skill - Adding or editing a TypeScript code fence with the twoslash meta flag - Updating TypeScript AppHost examples that import './.aspire/modules/aspire.mjs' - Refreshing src/frontend/src/data/ts-modules/ or src/frontend/src/data/twoslash/aspire.d.ts - Investigating failures from pnpm test:unit:twoslash-blocks - Reviewing docs changes that affect TypeScript sample rendering Core rule Do not add diagnostic allowlists or suppressions. A two-slash diagnostic is user-visible output on aspire.dev. Fix the docs sample, fix/regenerate the generated type surface, or remove the twoslash meta until the sample compiles cleanly. Validation workflow Run commands from the repository root unless noted. 1. Ensure dependencies are installed: power

Explore related resources

Frequently asked questions

What is twoslash-validator?

twoslash-validator is a open-source AI agent skill with Copy skill directory. Validate and fix two-slash TypeScript examples for aspire.dev. Use when adding or editing twoslash code fences, TypeScript AppHost samples, generated TypeScript API data, or failures from pnpm.

Who is twoslash-validator best for?

twoslash-validator is best for reusing agent instructions, scripts, and references, testing workflows, documentation workflows, data analysis workflows.

How do I install twoslash-validator?

Install or run twoslash-validator using Copy skill directory. Check twoslash-validator for the latest setup command.

Is twoslash-validator actively maintained?

twoslash-validator may need a closer maintenance check before production use.

Share:

Stars
183
Forks
81
Last commit
9 days ago
Repository age
9 months
License
MIT

Auto-fetched from GitHub.

Similar to twoslash-validator

twoslash-validator: Install, Config & GitHub Signals – SkillIndex