π‘ Summary
Nav Copilot Customizations offers tailored GitHub Copilot enhancements for the Nav development ecosystem.
π― Target Audience
π€ AI Roast: βPowerful, but the setup might scare off the impatient.β
Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); API keys/tokens handling and storage. Run with least privilege and audit before enabling in production.
π€ Nav Copilot Customizations
A curated collection of GitHub Copilot customizations for building Nav applications following Nav's development standards, including Aksel design system, Nais platform patterns, and Security Playbook.
π What is Nav Copilot Customizations?
This repository provides specialized GitHub Copilot customizations for the Nav ecosystem:
- π€ 6 Custom Agents - Specialized AI assistants for Nav-specific domains (Nais, Aksel, Kafka, Auth, Observability, Security)
- π 4 Instructions - File-pattern-based coding standards that apply automatically
- β‘ 3 Prompts - Quick scaffolding templates for common Nav patterns
- π― 5 Skills - Production-proven patterns extracted from real Nav repositories
π§ How to Use
Quick Install (One-Click)
Install customizations directly in VS Code using install badges in the documentation:
- View all Agents β - Click to install individual agents
- View all Instructions β - Click to install coding standards
- View all Prompts β - Click to install scaffolding templates
Discover & Search with MCP
Use our MCP Discovery Server to browse and install customizations directly from GitHub Copilot Chat.
For Nav Users (Enterprise Allow List)
This MCP server is pre-approved on Nav's enterprise allow list and available through the MCP registry:
1. Install from Extensions View:
- Open VS Code Extensions view (
Cmd+Shift+X) - Search for
@mcpin the search bar - Find Nav Copilot Discovery in the MCP servers list
- Click Install
2. Or install from IntelliJ:
- Open Settings β Tools β MCP Servers
- Browse available MCP servers
- Install Nav Copilot Discovery
3. Use Discovery Tools in Copilot Chat:
@workspace /mcp list_agents @workspace /mcp search_customizations query:"kafka" @workspace /mcp get_installation_guide type:"agent" name:"nais-agent"
For Non-Nav Users (Manual Configuration)
1. Add to VS Code Settings (settings.json):
{ "github.copilot.chat.mcp.enabled": true, "github.copilot.chat.mcp.servers": { "nav-discovery": { "type": "streamable-http", "url": "https://mcp-onboarding.nav.no/mcp" } } }
2. Authenticate via GitHub OAuth (requires Nav organization membership)
3. Use Discovery Tools in Copilot Chat:
@workspace /mcp list_agents @workspace /mcp search_customizations query:"kafka" @workspace /mcp get_installation_guide type:"agent" name:"nais-agent"
Available Discovery Tools:
list_agents,list_instructions,list_prompts,list_skills- Browse all customizationssearch_customizations- Search by query, type, or tagsget_installation_guide- Get install instructions for any customization
Install with VS Code Tasks
Run the task: "Install Nav Copilot Customizations" from VS Code tasks menu (Cmd+Shift+P β "Tasks: Run Task")
Or install individually:
- Install Copilot Instructions - Main project instructions
- Install All Agents - All 6 specialized agents
- Install All Instructions - All 4 file-pattern rules
- Install All Prompts - All 3 scaffolding templates
- Install All Skills - All 5 production patterns
π€ Agents
Specialized AI assistants for the Nav ecosystem. Use them by calling @agent-name in Copilot Chat or when assigning issues to Copilot coding agent.
Available agents: @nais-agent, @auth-agent, @kafka-agent, @aksel-agent, @observability-agent, @security-champion-agent
π View full agent documentation β
π Instructions
File-pattern-based rules that Copilot applies automatically when creating or modifying files matching specific patterns.
Available instructions: Testing, Kotlin/Ktor, Next.js/Aksel, Database migrations
π View full instructions documentation β
β‘ Prompts
Quick scaffolding templates accessible via Copilot Chat using /prompt-name or #prompt-name.
Available prompts: #aksel-component, #kafka-topic, #nais-manifest
π View full prompts documentation β
π― Skills
Production patterns extracted from real Nav repositories with bundled templates and resources.
Available skills: TokenX Auth, Observability Setup, Aksel Spacing, Kotlin App Config, Flyway Migration
π View full skills documentation β
ποΈ Nav Development Standards
These customizations enforce Nav's core principles:
Principles
- Team First - Autonomous teams with circles of autonomy
- Product Development - Continuous development over ad hoc approaches
- Essential Complexity - Focus on essential, avoid accidental complexity
- DORA Metrics - Measure and improve team performance
Tech Stack
- Backend: Kotlin, Ktor, PostgreSQL, Kafka
- Frontend: Next.js 16+, React, TypeScript, Aksel Design System
- Platform: Nais (Kubernetes on GCP)
- Auth: Azure AD, TokenX, ID-porten, Maskinporten
- Observability: Prometheus, Grafana Loki, Tempo (OpenTelemetry)
π Repository Structure
βββ .github/ β βββ agents/ # Custom GitHub Copilot agents (.agent.md) β βββ instructions/ # File-pattern-based coding standards (.instructions.md) β βββ prompts/ # Task-specific scaffolding templates (.prompt.md) β βββ skills/ # Production patterns with bundled resources βββ docs/ # Detailed documentation for each customization type β βββ README.agents.md β βββ README.instructions.md β βββ README.prompts.md β βββ README.skills.md β βββ README.collections.md βββ apps/ # Nav applications (my-copilot, mcp-registry, mcp-onboarding)
π― Why Use Nav Copilot Customizations?
- Nav-Specific: Pre-configured for Nais platform, Aksel Design System, and Nav tech stack
- Production-Proven: Patterns extracted from real Nav applications
- Consistent Standards: Enforces Nav development principles and best practices
- Developer Productivity: Reduces context-switching and repetitive setup work
π¦ Applications
my-copilot
Self-service tool for managing GitHub Copilot subscriptions at Nav.
- Location:
apps/my-copilot/ - Tech: Next.js 16, TypeScript, Aksel Design System, Octokit
- Auth: Azure AD JWT validation via Nais sidecar proxy
- Deployment: Nais (dev-gcp, prod-gcp)
Commands:
cd apps/my-copilot pnpm dev # Start dev server pnpm check # Run all checks (ESLint, TypeScript, Prettier, Knip, Jest) pnpm test # Run Jest tests pnpm build # Production build
mcp-registry
Public registry service for Nav-approved MCP servers.
- Location:
apps/mcp-registry/ - Tech: Go 1.25, HTTP server implementing MCP Registry v0.1 spec
- Public URL:
https://mcp-registry.nav.no - Purpose: Enables GitHub Copilot enterprise to discover and use approved MCP servers
Commands:
cd apps/mcp-registry mise run dev # Run with DEBUG logging mise run check # Run all checks (fmt, vet, staticcheck, lint, test) mise run validate # Validate allowlist.json
mcp-onboarding
Reference MCP server with GitHub OAuth authentication and Nav Copilot customization discovery.
- Location:
apps/mcp-onboarding/ - Tech: Go 1.25, OAuth 2.1 with PKCE, MCP JSON-RPC, YAML frontmatter parsing
- Public URL:
https://mcp-onboarding.nav.no/mcp - Purpose:
- Template for building authenticated MCP servers with organization access control
- Discovery server for browsing and installing Nav Copilot customizations
- Registry: Published as
io.github.navikt/mcp-onboarding - Features:
- π GitHub OAuth with Nav organization validation
- π Search across 6 agents, 4 instructions, 3 prompts
- π¦ Dynamic manifest generation from
.githubfiles - π One-click installation guides
Commands:
cd apps/mcp-onboarding mise run generate # Generate customizations manifest from .github files mise run dev # Run with DEBUG logging mise run check # Run all checks (fmt, vet, lint, test) mise run build # Build binary
π€ Contributing
To add new customizations:
- Agents: Add
*.agent.mdto.github/agents/following the agent naming conventions - Instructions: Add
*.instructions.mdto.github/instructions/ - Prompts: Add
*.prompt.mdto.github/prompts/ - Skills: Add folder with
SKILL.mdto.github/skills/
For detailed contribution guidelines and development setup, see AGENTS.md.
π License
See LICENSE file.
π Resources
Pros
- Tailored for Nav's tech stack
- Production-proven patterns
- Enhances developer productivity
- Enforces consistent coding standards
Cons
- Limited to Nav ecosystem
- Requires GitHub OAuth for access
- May have a learning curve for new users
Related Skills
claude-mods
AβPowerful, but the setup might scare off the impatient.β
agentic-qe
AβPowerful, but the setup might scare off the impatient.β
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author navikt.
