3 min read 702 words Updated Mar 16, 2026 Created Mar 16, 2026

Skills and Marketplace

Skills are markdown files that tell the AI how to write code for your project. They encode patterns, conventions, and anti-patterns. The marketplace provides curated skill packs matched to your project type.


How It Works

  1. Create skills — write them manually, generate with AI, or install from the marketplace.
  2. Reference in prompts — use @skill-name in any prompt buffer to inject the skill's content.
  3. Automatic inclusion — agents automatically include relevant skills based on the task and project context.

Skills live in .dwight/skills/ as markdown files.


Creating Skills

AI-Generated

:DwightGenSkill

Enter a name (e.g., react-hooks), a description of what it should cover, and optionally specific rules. Dwight generates a complete skill file.

From Documentation

:DwightDocsFromURL

Provide a URL to a library's documentation. Dwight fetches the page, extracts the content, and generates a practical coding guide focused on patterns and conventions.

Manual

Create any .md file in .dwight/skills/:

# Skill Name

## Overview
Brief description (2-3 sentences).

## Guidelines
1. Specific, actionable rules.

## Patterns
```language
// Good patterns with examples

Anti-Patterns

  • What to avoid and why.

---

## Browsing Skills

```vim
:DwightSkills              " Telescope picker with preview
:DwightInstallSkills       " Install built-in skills

Built-in skills (copied on :DwightInit): clean-code, error-handling, performance, security, testing.

Browsing skills and marketplace


Marketplace

The marketplace detects your project type and recommends skill packs.

:DwightMarketplace             " Full marketplace browser
:DwightMarketplace suggest     " Auto-suggest based on project type
:DwightMarketplace install     " Pick a pack to install
:DwightMarketplace detect      " Show detected project types

Available Packs

PackDetected FromSkills
Go API Servergo.mod@go-api-design, @go-concurrency
React Applicationpackage.json with react@react-components, @react-hooks
Python MLtorch/tensorflow in requirements@ml-pipeline, @model-evaluation
Rust ApplicationCargo.toml@rust-patterns, @rust-async
TypeScript Backendtsconfig.json@ts-api-patterns, @ts-testing-patterns
Docker & DevOpsDockerfile@docker-patterns, @ci-cd-patterns
Neovim Pluginlua/ directory@neovim-lua, @neovim-testing
UI Design Workflowreact/nextjs/vue project@ui-ux-guidelines, @accessibility-checklist
API Backendnode/typescript/go/python@api-security, @api-versioning
Data Pipelinepython/ml project@data-pipeline-patterns, @data-observability
Java Spring Bootpom.xml, build.gradle@spring-boot-patterns, @java-testing
Python Webfastapi/django in requirements@fastapi-patterns, @django-patterns
Testing Fundamentalsnode/typescript/python/go/rust/java@test-strategy, @mocking-patterns
DevOps InfrastructureDockerfile, main.tf, terraform/@kubernetes-patterns, @terraform-patterns

Detection scans 30+ manifest files and directories (including main.tf for Terraform). For Node projects, reads package.json for frameworks. For Python, checks pyproject.toml and requirements.txt.


Sharing Skills

:DwightMarketplace export     " Bundle .dwight/skills/ → skills-bundle.json
:DwightMarketplace import     " Import from a bundle file

Export creates a versioned JSON bundle (dwight-skills-v1). Import adds new skills without overwriting existing ones. Share bundles via git, gist, or any file transfer.


Tips

  • Install marketplace packs on init. When :DwightInit runs, the marketplace auto-suggests packs for your project type. Accept the recommendations to start with good defaults.
  • Write project-specific skills. Generic skills are useful, but the biggest wins come from encoding your project's conventions — API patterns, error handling style, test structure.
  • Reference skills explicitly. While agents auto-include skills, adding @skill-name in the prompt buffer ensures a specific skill is always in context.
  • Keep skills under 200 lines. Long skills dilute the signal. Split into focused topics (e.g., go-api-design and go-concurrency instead of one go-everything).

Commands

CommandArgsDescription
:DwightSkillsBrowse project skills (Telescope)
:DwightGenSkillAI-generate a new skill
:DwightInstallSkillsInstall built-in skills
:DwightDocsFromURLGenerate a skill from a documentation URL
:DwightMarketplace[install|suggest|export|import|detect]Browse and manage skill packs

See Also