xiaohongshu
xiaohongshu
fix-quality
Run /check-quality, then fix the highest priority quality issue. Creates one fix per invocation. Invoke again for next issue. Use /log-quality-issues to create issues without fixing.
Full skill instructions
Fix the highest priority quality infrastructure gap.
/check-quality to audit quality gatesThis is a fixer. It fixes one issue at a time. Run again for next issue. Use /quality-gates for full setup.
Invoke /check-quality skill to get prioritized findings.
Fix in this order:
No test runner (P0):
pnpm add -D vitest @vitest/coverage-v8
Create vitest.config.ts:
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
},
},
});
Add scripts to package.json:
{
"scripts": {
"test": "vitest",
"test:run": "vitest run",
"coverage": "vitest run --coverage"
}
}
No CI workflow (P0):
Create .github/workflows/ci.yml:
name: CI
on: [push, pull_request]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: pnpm install
- run: pnpm typecheck
- run: pnpm lint
- run: pnpm test:run
No git hooks (P1):
pnpm add -D lefthook
pnpm lefthook install
Create lefthook.yml:
pre-commit:
parallel: true
commands:
lint:
glob: "*.{ts,tsx}"
run: pnpm eslint {staged_files}
typecheck:
run: pnpm tsc --noEmit
pre-push:
commands:
test:
run: pnpm test:run
TypeScript not strict (P1):
Update tsconfig.json:
{
"compilerOptions": {
"strict": true
}
}
After fix:
# Test runner works
pnpm test --run
# Hooks installed
[ -f ".git/hooks/pre-commit" ] && echo "✓ pre-commit hook"
# CI file exists
[ -f ".github/workflows/ci.yml" ] && echo "✓ CI workflow"
Fixed: [P0] No test runner configured
Installed:
- vitest
- @vitest/coverage-v8
Created:
- vitest.config.ts
- Added test scripts to package.json
Verified: pnpm test runs successfully
Next highest priority: [P0] No CI workflow
Run /fix-quality again to continue.
Before making changes:
git checkout -b infra/quality-$(date +%Y%m%d)
This skill fixes one issue at a time. Benefits:
Run /fix-quality repeatedly to work through the backlog.
/check-quality - The primitive (audit only)/log-quality-issues - Create issues without fixing/quality-gates - Full quality setup workflowxiaohongshu
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