Claude Code Plugin
NS Tools Atlas ships a Claude Code plugin that gives Claude contextual knowledge about Network School APIs and this codebase. Install it to get AI-assisted help when building with NS tools or contributing to the project.
What's includedβ
The plugin provides two skills:
| Skill | Slash command | Description |
|---|---|---|
| NS Auth | /ns-tools:ns-auth | Full API reference and integration guide for NS Auth β the Discord membership verification API. Claude will walk you through setting up Discord OAuth, calling the verify endpoint, and handling responses in your framework of choice. |
| Contributing | /ns-tools:contributing | Codebase guide for ns-tools-atlas. Covers project structure, data flow patterns, database schema, conventions, and how to add features, pages, and endpoints. |
Installationβ
From the marketplaceβ
# Add the marketplace
/plugin marketplace add 0xvitae/ns-tools-atlas
# Install the plugin
/plugin install ns-tools
Local developmentβ
If you've already cloned the repo, you can load the plugin directly:
claude --plugin-dir /path/to/ns-tools-atlas
Hot reload
When running locally with --plugin-dir, changes to skill files are picked up automatically β no restart needed.
Usageβ
NS Auth integrationβ
Ask Claude to help you integrate NS Auth, or invoke the skill directly:
/ns-tools:ns-auth add NS Auth login to my Next.js app
Claude will:
- Guide you through Discord OAuth setup
- Generate the verify endpoint call for your stack
- Ensure the API key stays server-side
- Handle error responses and rate limiting
Contributing to the Atlasβ
Ask Claude about the codebase, or invoke directly:
/ns-tools:contributing how do I add a new API endpoint?
Claude will:
- Explain the data flow pipeline (schema -> endpoint -> API client -> hook -> component)
- Show the relevant files and conventions
- Generate code that matches existing patterns
Contributing to the pluginβ
Want to add new skills or improve existing ones? See the Plugin contributing guide.