~ / rigs / hscale / ai-instructions-template

hscale/ai-instructions-template

No description.

↗ GitHub ★ 27 no license updated 1.2y ago collection Claude CodeCodexGemini CLICopilotKiro
field: unknown workflow: Planning & specs
stack: PowerShell
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~13.1k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

$ git clone --depth 1 https://github.com/hscale/ai-instructions-template

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Hooks (6)

eventmatcherruns
PostFileSaveAGENTS.md,CLAUDE.md,GEMINI.md,.github/copilot-instructions.md,.vscode/README.md,.zed/README.md,ai-agents/*.md🔄 AI INSTRUCTION FILE MODIFIED - SYNC REQUIRED An AI instruction file has been changed. Execute the synchronization process: 1. Run sync tool: `./tools/ai-instructions-sync.ps1 -Action sync-all` 2. Validate sync: `./tools/ai-instructions-
OnStartup{BACKEND_PATH}/Cargo.toml,package.json,.env*,docker-compose*.yml,.kiro/settings/*.json🔍 ENVIRONMENT HEALTH CHECK Validate development environment readiness: 1. **Check required tools**: cargo, node, npm, git, docker 2. **Validate project structure**: Verify key directories exist 3. **Test service connectivity**: PostgreSQL
PostFileSave.kiro/specs/**/*.md,.kiro/steering/**/*.md,.kiro/settings/github.json🔄 FAANGAI SPECS MODIFIED - SYNC WITH GITHUB FAANGAI specification files have been updated. Execute GitHub synchronization: 1. **Identify changed specs**: Extract modified .kiro/specs/**/*.md files 2. **Process tasks.md files**: Convert ta
PostCommit{BACKEND_PATH}/**/*.{BACKEND_EXT},**/*.{FRONTEND_EXT},**/*.tsx,package.json,Cargo.toml,.kiro/specs/**/*.md🚀 POST-COMMIT OPTIMIZATION Commit successful! Execute optimization tasks: 1. **Update Dependencies** (if package files changed): - Check for Cargo.toml changes: `cargo update` - Check for package.json changes: `npm update` - Veri
PreCommit{BACKEND_PATH}/**/*.{BACKEND_EXT},**/*.{FRONTEND_EXT},**/*.tsx,**/*.json,**/*.toml,**/*.md🔍 PRE-COMMIT QUALITY CHECK Code is staged for commit. Execute essential quality validation: 1. **Check Staged Files**: - List all staged files: `git diff --cached --name-only` - Categorize by file type (Rust, TypeScript, config, doc
OnDemand{BACKEND_PATH}/**/*.{BACKEND_EXT},**/*.{FRONTEND_EXT},**/*.tsx,**/tests/**/*,**/test/**/*,**/*.test.*,**/*.spec.*🧪 TEST & DEBUG RUNNER Execute targeted testing and debugging assistance: 1. **Identify Test Scope**: - Detect changed files and affected test modules - Categorize tests: unit, integration, e2e - Determine optimal test strategy ba

Kiro (2 steering · 1 specs · 6 hook files)

Specs: project-template (loaded on demand, not counted in context tax)

How Kiro files are scored: methodology.

Similar rigs

copied ✓