agentleFS
LeanMeanCleanAppsLeanMeanCleanApps/CleanGraphQLApi/.agents/skills/nitro/SKILL.md

nitro

Skill13 starsChanged 10 days agoMITView on GitHub

How to try the GraphQL API by hand in Nitro, the GraphQL IDE served embedded at /graphql - where it runs, sending a token when authentication is on, and what to check before calling a schema change done. Use when you want to explore the schema, run a query by hand, or see the descriptions clients see.

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use unocss, nuxt and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JetBrainsSkill

    unocss

    UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

    Also in 4 projects that use this

  • JetBrainsSkill

    nuxt

    Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.

    Also in 4 projects that use this

  • +10 more from JetBrains

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Run the app (dotnet run --project ./src/Presentation) or the compose file, and open Nitro.

    line 22
  2. Very specific:

    Check the new field's description, arguments and nullability in the schema reference.

    line 23
  3. Very specific:

    Run the happy path and the failure paths, and check the extensions.code of each error.

    line 24
  4. Very specific:

    Write the integration test as well (presentation-integration-tests).

    line 26
  5. Distinctive:

    Treat a manual check as a test.

    line 31

≈ “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.

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

Nitro

The rule

MapGraphQL() serves Nitro, Hot Chocolate's GraphQL IDE, at http://localhost:7330/graphql when a browser asks for it. It's served embedded (ServeMode.Embedded) so it works offline and never loads from a CDN. The schema and Nitro stay open when authentication is on; every field, version included, asks for a token.

WhatAddress
Nitrohttp://localhost:7330/graphql
Schema as SDLhttp://localhost:7330/graphql?sdl
Aspire dashboard (logs, traces and metrics, in Docker)http://localhost:7332

Steps

  1. Run the app (dotnet run --project ./src/Presentation) or the compose file, and open Nitro.
  2. Check the new field's description, arguments and nullability in the schema reference. They come from XML comments (xml-docs-and-openapi).
  3. Run the happy path and the failure paths, and check the extensions.code of each error.
  4. With authentication on, add an Authorization: Bearer <token> header in Nitro's connection settings.
  5. Write the integration test as well (presentation-integration-tests).

Don't

  • Switch Nitro back to CDN mode. It fails offline and in locked-down networks.
  • Treat a manual check as a test.

Check

dotnet test tests/Presentation.Tests.Integration --filter "FullyQualifiedName~Nitro_ShouldBe_Served"

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.