← スキル一覧に戻る

dx-optimizer
by htlin222
dx-optimizerは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。
⭐ 66🍴 4📅 2026年1月23日
SKILL.md
name: dx-optimizer description: Improve developer experience, tooling, and workflows. Use when setting up projects or reducing development friction.
Developer Experience
Optimize tooling and workflows for productivity.
When to use
- New project setup
- Onboarding improvements
- Build time optimization
- Workflow automation
- Tooling configuration
Quick wins
Package.json scripts
{
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "eslint . --fix",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"prepare": "husky",
"validate": "npm run typecheck && npm run lint && npm run test"
}
}
Git hooks (husky + lint-staged)
// package.json
{
"lint-staged": {
"*.{js,ts,tsx}": ["eslint --fix", "prettier --write"],
"*.{json,md,yml}": ["prettier --write"]
}
}
# .husky/pre-commit
npm run lint-staged
# .husky/commit-msg
npx commitlint --edit $1
VS Code settings
// .vscode/settings.json
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"typescript.preferences.importModuleSpecifier": "relative",
"files.associations": {
"*.css": "tailwindcss"
}
}
// .vscode/extensions.json
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss",
"ms-vscode.vscode-typescript-next"
]
}
Makefile
.PHONY: help dev build test clean
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
dev: ## Start development server
npm run dev
build: ## Build for production
npm run build
test: ## Run tests
npm run test
lint: ## Run linter
npm run lint
clean: ## Clean build artifacts
rm -rf .next node_modules/.cache
setup: ## Initial project setup
npm install
cp .env.example .env.local
@echo "Setup complete! Run 'make dev' to start."
Environment setup
# .env.example (template)
DATABASE_URL=postgresql://localhost:5432/myapp
REDIS_URL=redis://localhost:6379
API_KEY=your-api-key-here
# Check for required env vars
check_env() {
local missing=()
for var in DATABASE_URL API_KEY; do
if [[ -z "${!var}" ]]; then
missing+=("$var")
fi
done
if [[ ${#missing[@]} -gt 0 ]]; then
echo "Missing env vars: ${missing[*]}"
exit 1
fi
}
Success metrics
- Clone to running: <5 minutes
- Build time: <30 seconds
- Test suite: <60 seconds
- Hot reload: <500ms
Checklist
- One-command setup (
make setup) - Automatic formatting on save
- Pre-commit hooks for quality
- Clear error messages
- Up-to-date README
Examples
Input: "Speed up our dev workflow" Action: Add parallel tasks, caching, incremental builds
Input: "New developer can't set up project" Action: Simplify setup, add better docs, create setup script
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です


