xiaohongshu
xiaohongshu
lintstagedrc
Generates .lintstagedrc configuration to automatically fix and format staged files before commit. Runs ESLint, Stylelint, and Prettier on staged files.
Full skill instructions
Generate lint-staged configuration to automatically fix and format staged files before commit.
This skill MUST create exactly 1 file:
.lintstagedrc.json (preferred format)⚠️ HIGH PRIORITY: Verify current tool CLI flags to prevent outdated commands
eslint --fix is still the correct flag
--fix flag still works with current ESLint versionprettier --write is still correct
--write flag syntax hasn't changedpackage.json for stylelint dependencystylelint --fix is correct flag.lintstagedrc.json is still recommended format
.lintstagedrc.js or package.json fieldCreate the file: .lintstagedrc.json
Supported Format:
.lintstagedrc.json (strict preferred format - simple JSON configuration)Alternative Formats (only if JSON deprecated):
.lintstagedrc.js (JavaScript with dynamic logic)lint-staged field in package.json.lintstagedrc.cjs (CommonJS format)See: examples.md in this directory for complete examples and detailed explanations.
⚠️ IMPORTANT: The examples.md file contains December 2025 configurations. Always verify current CLI flags before using.
--fix)--write)stylelint --fix flag.lintstagedrc.json with appropriate commands and patternsSTOP! Before proceeding to the next skill, verify:
Run this command to verify the file exists:
if [ -f ".lintstagedrc.json" ] || [ -f ".lintstagedrc.js" ] || [ -f ".lintstagedrc.cjs" ] || grep -q "lint-staged" package.json 2>/dev/null; then
echo "✓ Lint-staged configuration found"
if [ -f ".lintstagedrc.json" ]; then
echo "✓ Using .lintstagedrc.json (preferred format)"
# Validate JSON syntax
if command -v jq >/dev/null 2>&1; then
jq empty .lintstagedrc.json && echo "✓ Valid JSON syntax" || echo "✗ Invalid JSON syntax"
fi
fi
else
echo "✗ Lint-staged configuration missing"
exit 1
fi
.lintstagedrc.json exists at project rootDO NOT PROCEED to the next skill. Create or fix the missing/incorrect file immediately.
eslint --fix on JS/TS/Vue files (verify flag current)prettier --write on code and config files (verify flag current)*.{js,ts,vue}, *.{css,scss})stylelint in package.jsonxiaohongshu
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