AGENTS.md
Universal format. Works with GitHub Copilot, Windsurf, OpenAI Codex, Cline, Aider, and more — just drop it at your project root.
SpartanAuth ships an AI skills package — a set of context files that give your AI coding agent everything it needs to implement a SpartanAuth integration correctly, without you having to paste docs into a chat.
AGENTS.md
Universal format. Works with GitHub Copilot, Windsurf, OpenAI Codex, Cline, Aider, and more — just drop it at your project root.
Cursor Rules (.mdc)
Cursor-specific format with alwaysApply: true. Copy into .cursor/rules/ and Cursor picks it up automatically.
All files (zip)
Everything bundled — AGENTS.md, Cursor rules, and README — in a single download.
Copy AGENTS.md directly into your project root:
curl -o AGENTS.md https://docs.spartanauth.com/skills/AGENTS.mdOr with wget:
wget -O AGENTS.md https://docs.spartanauth.com/skills/AGENTS.mdThe AGENTS.md file contains everything your agent needs, formatted as a compact context document optimized for LLM consumption:
<spartan-login>, <spartan-account-settings>)It’s the same content as this documentation, but structured for AI agent consumption rather than human reading.
Place AGENTS.md at your project root — these agents load it automatically:
| Agent | What to do |
|---|---|
| GitHub Copilot (agent mode) | Place AGENTS.md at project root |
| Windsurf | Place AGENTS.md at project root |
| OpenAI Codex CLI | Place AGENTS.md at project root |
| Cline | Place AGENTS.md at project root |
Claude Code
Place AGENTS.md at your project root, then create or update CLAUDE.md to reference it:
# My Project
@AGENTS.mdGemini CLI
Place AGENTS.md at your project root, then create .gemini/settings.json:
{ "context": { "fileName": ["AGENTS.md", "GEMINI.md"] }}Cursor
Cursor doesn’t natively read AGENTS.md. Use the pre-built .mdc file instead:
mkdir -p .cursor/rulescurl -o .cursor/rules/spartanauth.mdc https://docs.spartanauth.com/skills/cursor-rules/spartanauth.mdcOr copy the content of AGENTS.md into .cursor/rules/spartanauth.mdc with this frontmatter at the top:
---description: SpartanAuth login widget integration patterns and backend token verificationalwaysApply: true---Aider
Place AGENTS.md at your project root, then create .aider.conf.yml:
read: AGENTS.mdAttach AGENTS.md directly in your chat session, or paste its contents as context when starting a conversation about authentication implementation.
When SpartanAuth releases updates to the widget API or integration patterns, a new version of AGENTS.md is published at the same URL. Re-run the curl command above to update, or re-download from the links at the top of this page.