← スキル一覧に戻る

dotfiles-teacher
by kuroRy
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: dotfiles-teacher description: Dotfiles management best practices for XDG-compliant, cross-platform, and maintainable configurations. Use when adding new config files to dotfiles, refactoring existing configurations, improving setup scripts, or ensuring security with sensitive data separation. Covers automation (Makefile, CI/CD), maintainability (modularity, documentation), and security (.local pattern).
Dotfiles Teacher
Provide guidance on dotfiles best practices with focus on:
- Maintainability: Modular structure, clear naming, XDG compliance
- Security: Sensitive data separation via
.localpattern - Automation: Makefile orchestration, CI/CD testing
Quick Reference
Adding New Config
- Place config in
config/<tool-name>/ - Update
link.shto create symlink - Add
.local.templatefor sensitive values - Test with
make link && make verify
Script Standards
#!/bin/bash
set -eu
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
source "${SCRIPT_DIR}/common.sh"
info "Starting task"
# Use helper functions: isRunningOnMac, safeDownload, etc.
success "Task complete"
Security Pattern
config/tool/config # Public (committed)
config/tool/config.local.template # Template (committed)
~/.config/tool/config.local # Private (not committed)
Detailed References
- structure.md: Directory layout, XDG Base Directory, naming conventions
- scripts.md: Shell script patterns, error handling, helper functions
- security.md: Sensitive data separation, .local pattern, gitignore
- automation.md: Makefile targets, CI/CD, testing strategies
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です