plugins/gir-core/skills/core-practices/SKILL.md
Universal Claude Code best practices for any coding task. Covers tool usage patterns, anti-patterns, code review standards, commit conventions, and workflow quality standards. Apply to ALL software engineering tasks.
npx skillsauth add rivit-studio/gir core-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Universal Claude Code best practices — All project types
/clear to maintain focusCritical: "Steps #1-#2 (Explore-Plan) are crucial—without them, Claude tends to jump straight to coding" — Anthropic
See /gir:load-specgates for full conventions. Key rules: max 3 [NEEDS CLARIFICATION] markers per feature (resolve before coding), mark parallel tasks with [P] + file paths, use phased task structure (Setup→Foundational→Stories→Polish), document state machines for features with >3 states.
feat|fix|chore(scope): description| Need | Tool | When | |------|------|------| | Library/API docs | Context7 | Code gen, setup, config, library questions | | General docs | Ref | Broader search, URL content | | Code examples | exa | Real-world patterns, SDKs | | Web + images | fetch:imageFetch | URLs with image extraction |
Auto-trigger Context7: When generating code, configuring libraries, or API questions.
See routing-stub Tier 1 — deploy for complex tasks (>3 steps), architecture, debugging, refactors (3+ files). Skip for single-file edits and trivial fixes.
Banned: tree, find, grep -r, ls -R, cat | grep
Use Instead:
fd . -t f, rg --files, ls -larg "pattern", rg -i, rg -t tsfd "name", fd -e jsjq| File | Purpose |
|------|---------|
| .gir/CLAUDE-activeContext.md | Session state, goals, progress |
| .gir/CLAUDE-patterns.md | Code patterns, conventions |
| .gir/CLAUDE-decisions.md | Architecture decisions |
| .gir/CLAUDE-troubleshooting.md | Issues and solutions |
| .gir/MISSION.md | Active priorities, unattended operation state |
| .gir/POLICY.md | Repo policy, conventions |
| .gir/ESCALATION.md | Must-escalate conditions |
| .gir/DOD.md | Definition of done checklist |
| .gir/REVIEW-LOG.md | Review outcomes, audit trail |
| .gir/ESCALATION-LOG.md | Escalation events with full context + timestamps |
Workflow: See routing-stub Session Start Protocol — authoritative for session init, escalation checks, and completion gates.
Code: Inline styles, any type, console.log in commits, commented code, magic numbers, giant components (>150 lines), prop drilling >2 levels, useEffect for derived state
UX (Never): Fake urgency, confirmshaming, hidden costs, forced continuity, misleading buttons, privacy-invasive defaults, roach motel, misdirection
Core: feature-architect, code-reviewer, debugger
Usage: /agent <name> or Task tool
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@superpowers-marketplace
Provides: plan-implementer, requesting-code-review, subagent-driven-development, finishing-a-development-branch, test-driven-development, systematic-debugging
Controls: Escape (interrupt), Double-Escape (jump back), Request undo, Ask questions
Rules:
Effective prompts: Be specific. "Add JWT auth with httpOnly cookies, login/logout at /api/auth/, middleware for /api/user/" vs "Add authentication"
testing
GIR orchestration core — routing rules, delegation tiers, cost discipline, Graphify integration, escalation trigger, and lazy-load instructions. Always loaded.
tools
Native parallel agent execution using Claude Code's built-in Agent tool with worktree isolation. On-demand skill — load when parallel work is needed.
testing
Autonomous execution mode for GIR — unattended operation, cap fail-safe, checkpoint/resume protocol. On-demand skill loaded by /gir:run.
tools
MCP tool reference for web development — v0, Figma, Vercel. Apply when doing UI generation or deployment for frontend work.