~ / rigs / ellyquence / kiro-discipline-kit

ellyquence/kiro-discipline-kit

Opinionated Kiro IDE config for spec-driven development with automated enforcement hooks

↗ GitHub ★ 1 Apache-2.0 updated 10mo ago personal setup Kiro
stack: Shell
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~5.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add fetch -- npx -y @anthropic-ai/mcp-fetch

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.

$ claude mcp add fetch -- npx -y @anthropic-ai/mcp-fetch

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k 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.*)",
      "Read(./secrets/**)",
      "Bash(git reset --hard*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(npm publish:*)",
      "Bash(git reset --hard:*)",
      "Bash(git clean *)",
      "Bash(git rebase *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
@anthropic-ai/mcp-fetch · "fetch" npm 2.5k

Hooks (7)

eventmatcherruns
PostFileSavesrc/**/*.ts,src/**/*.py,src/**/*.tsx,package.json,pyproject.tomlArchitecture drift detection triggered by file changes. 1. Check if changes affect: - External dependencies (new imports from node_modules or site-packages) - API contracts (new/modified endpoints, changed interfaces) - Data model
PostFileSavesrc/**/*.ts,src/**/*.py,src/**/*.tsxComponent boundary check on edited file. 1. Size validation: - Count lines in modified file - Flag if file > 300 lines - Flag if any function > 50 lines - Flag if class > 200 lines 2. Coupling analysis: - List all imports i
PostFileSavesrc/**/index.ts,src/**/__init__.py,src/**/types.ts,src/**/models.pyPublic interface changed. Check documentation status. 1. Analyze exports: - List all public exports from the modified file - Identify new or changed function signatures - Identify new or changed type definitions 2. Documentation
PostFileSave.kiro/hooks/*.kiro.hookA hook file was edited. Validate it has correct JSON syntax and structure. ## Validation Check 1. **JSON Syntax** - Is it valid JSON? Check for: - Missing commas - Unquoted keys - Trailing commas - Mismatched brackets 2. **Re
PostFileSavepackage.json,package-lock.json,pyproject.toml,requirements.txt,poetry.lockDependency file changed. Perform security review. 1. Dependency audit: - Check for known vulnerabilities in changed packages - Flag packages with no recent updates (>2 years) - Identify packages with permissive licenses if relevan
FileCreatedsrc/**/*New file creation detected. Verify backlog hygiene: 1. Check for active task context: - Is there a current task in .kiro/specs/*/tasks.md marked IN_PROGRESS? - Does the new file relate to documented acceptance criteria? 2. Validate
PostFileSavesrc/**/*.ts,src/**/*.py,!src/**/*.test.ts,!src/**/*_test.pySource file modified. Check test coverage. 1. Identify corresponding test file: - For src/path/file.ts -> src/path/file.test.ts or tests/path/file.test.ts - For src/path/file.py -> tests/path/test_file.py or src/path/file_test.py 2.

Kiro (7 steering · 7 hook files)

MCP config: 1 auto-approved tool(s)

How Kiro files are scored: methodology.

Similar rigs

copied ✓