api-and-interface-desi…
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints,…
Create production-ready public GitHub repositories with comprehensive documentation, automated setup, and quality assurance
$ npx -y skills add kevinnft/ai-agent-skills --skill public-repo-creation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/public-repo-creationContext preview
The summary Claude sees to decide when to auto-load this skill.
Create production-ready public GitHub repositories with comprehensive documentation, automated setup, and quality assurance
name: public-repo-creation description: Create production-ready public GitHub repositories with comprehensive documentation, automated setup, and quality assurance tags: [github, documentation, open-source, repository, automation] version: 1.0.0 origin: unknown source_license: see upstream language: en
Create production-ready public GitHub repositories with comprehensive documentation, automated setup scripts, templates, and quality assurance processes.
**README.md** (comprehensive):
**LICENSE** (required):
**CONTRIBUTING.md**:
**TROUBLESHOOTING.md**:
**CHECKLIST.md** (optional but recommended):
**setup.sh** (or equivalent):
**Critical Patterns:**
# Prevent duplicate entries in config files
if ! grep -q "PATTERN" ~/.config 2>/dev/null; then
echo "NEW_LINE" >> ~/.config
else
sed -i "s|OLD_PATTERN|NEW_PATTERN|" ~/.config
fi
# Variable expansion in heredocs
cat > file.txt << EOF # NO quotes for expansion
date: $(date +%Y-%m-%d)
EOF
# Fallback mechanism
if command_from_internet; then
echo "✅ Installed from source"
else
echo "⚠️ Source failed, using bundled copy..."
cp -r bundled/ destination/
fi**templates/** directory:
**EXAMPLE.md** or **examples/** directory:
**Pre-commit checks:**
# Syntax validation
bash -n setup.sh
# Link validation
grep -o '\[.*\](.*\.md)' *.md | while read link; do
file=$(echo "$link" | sed 's/.*(\\(.*\\))/\\1/')
[ -f "$file" ] && echo "✅ $link" || echo "❌ Broken: $link"
done
# TODO/FIXME check
grep -ri "TODO\|FIXME\|XXX\|HACK" . --include="*.md" --include="*.sh"
# File permissions
ls -la setup.sh # Should be executable**AUDIT.md** (optional but professional):
1. Define repository purpose (one sentence) 2. Identify target audience 3. List core features (3-5 main features) 4. Choose license (MIT recommended) 5. Plan folder structure
1. Create GitHub repo (public) 2. Clone locally 3. Create README.md with title, description, badges 4. Create LICENSE file 5. Create .gitignore 6. Initial commit + push
1. Expand README.md:
2. Create CONTRIBUTING.md 3. Create TROUBLESHOOTING.md 4. Create EXAMPLE.md
1. Create setup.sh:
2. Test setup.sh syntax: `bash -n setup.sh` 3. Make executable: `chmod +x setup.sh` 4. Test dry-run simulation
1. Create templates/ directory 2. Add starter templates 3. Add example files 4. Document template usage in README
1. Run syntax checks 2. Validate all links 3. Check file permissions 4. Test setup script (if possible) 5. Create CHECKLIST.md 6. Optional: Create AUDIT.md
1. Add badges to README 2. Add architecture diagram 3. Add performance metrics (if applicable) 4. Add star history chart 5. Final commit + push
**Total Time:** ~2 hours for production-ready repo
**Problem:** Appending to config files without checking for duplicates.
**Wrong:**
echo "export TOKEN='xxx'" >> ~/.bashrc # Run twice → duplicate entries!
**Right:**
if ! grep -q "export TOKEN=" ~/.bashrc 2>/dev/null; then
echo "export TOKEN='xxx'" >> ~/.bashrc
else
sed -i "s|export TOKEN=.*|export TOKEN='xxx'|" ~/.bashrc
fi**Problem:** Using single-quoted heredoc prevents variable expansion.
**Wrong:**
cat > file.txt << 'EOF' date: $(date +%Y-%m-%d) EOF # Output: date: $(date +%Y-%m-%d) ← LITERAL!
**Right:**
cat > file.txt << EOF # No quotes! date: $(date +%Y-%m-%d) EOF # Output: date: 2026-05-12 ← EXPANDED!
**Problem:** Hardcoding paths that may vary across systems.
**Consider:**
191 attribution-first agent skills for Hermes Agent, Claude Code, Cursor — one installer, 28 categories, searchable catalog. See NOTICE for upstream attribution.
Repo: kevinnft/ai-agent-skills
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints,…
Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze…
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test…
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to…
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend…
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure…