xiaohongshu
xiaohongshu
dprint
Use when working with dprint formatter - configuration, plugins, CLI commands, editor integration, or global setup.
Full skill instructions
Fast pluggable code formatter.
CC Misconception: "dprint is project-local only." Wrong. dprint supports:
dprint.json~/.config/dprint/dprint.json (or DPRINT_CONFIG_DIR)dprint fmt -c /path/to/config.json| Discovery Mode | Behavior |
|---|---|
--config-discovery=true | Default: ancestor + global |
--config-discovery=global | Global only |
--config-discovery=false | Require explicit -c |
No config found anywhere → dprint errors.
Plugins are WASM files loaded via URL in dprint.json:
{
"plugins": [
"https://plugins.dprint.dev/typescript-0.95.13.wasm",
"https://plugins.dprint.dev/json-0.21.1.wasm",
"https://plugins.dprint.dev/markdown-0.20.0.wasm"
]
}
Common plugins:
typescript - TS/JS/JSX/TSXjson - JSON/JSONCmarkdown - Markdowntoml - TOMLg-plane/pretty_yaml - YAMLg-plane/malva - CSS/SCSS/Lessg-plane/pretty_graphql - GraphQLPlugin config - top-level keys match plugin name:
{
"typescript": { "quoteStyle": "preferSingle", "semiColons": "asi" },
"markdown": { "lineWidth": 100, "textWrap": "maintain" }
}
Update plugins: Check https://plugins.dprint.dev for latest versions.
dprint fmt # Format files, write to disk
dprint check # Check if files need formatting (CI)
dprint fmt --diff # Show diff without writing
dprint fmt --staged # Format only git staged files
dprint fmt --stdin ts # Format stdin as TypeScript
dprint fmt "src/**/*.ts" # Format specific patterns
dprint init # Create dprint.json
dprint config update # Update plugin versions
dprint clear-cache # Clear plugin cache
dprint lsp # Start language server
{
"formatter": {
"external": {
"command": "dprint",
"arguments": ["fmt", "--stdin", "{buffer_path}"]
}
}
}
Install "dprint" extension. It uses dprint LSP automatically.
Use null-ls or conform.nvim with dprint as formatter.
For consistent formatting across all projects:
# 1. Create config in dotfiles
~/<dotfiles>/dprint/dprint.json
# 2. Set global config location (in shell rc)
export DPRINT_CONFIG_DIR="$HOME/<dotfiles>/dprint"
# Alternative: symlink to default location
mkdir -p ~/.config/dprint
ln -s ~/<dotfiles>/dprint/dprint.json ~/.config/dprint/dprint.json
Projects with local dprint.json override global. Projects without use global.
{
"excludes": [
"**/node_modules",
"**/*-lock.json",
"**/dist",
"**/build"
]
}
dprint help # All commands
dprint help fmt # Format command options
dprint output-resolved-config # Debug: show effective config
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience