~ / rigs / DaoNguyenTrong / ai-base

DaoNguyenTrong/ai-base

Stack-agnostic agent workflow template for teams (Claude Code + Codex)

↗ GitHub ★ 0 no license updated 3d ago project Claude CodeCodex
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~4.1k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 45/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit DaoNguyenTrong/ai-base/.claude ./rig-ai-base  # inspect, then merge into .claude/

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.

$ npx degit DaoNguyenTrong/ai-base/.agents/skills/git-accept .claude/skills/git-accept
$ curl -fsSL --create-dirs -o .claude/agents/appsec.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/appsec.md
$ curl -fsSL --create-dirs -o .claude/agents/business-analyst.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/business-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/pr-reviewer.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/pr-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/product-manager.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/product-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/qa-app.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/qa-app.md
$ curl -fsSL --create-dirs -o .claude/agents/sdet.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/sdet.md
$ curl -fsSL --create-dirs -o .claude/agents/solution-architect.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/solution-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/tech-lead.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/tech-lead.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-designer.md https://raw.githubusercontent.com/DaoNguyenTrong/ai-base/main/.claude/agents/ui-designer.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(git add -A)",
      "Bash(git add .)",
      "Bash(git commit -a:*)",
      "Bash(git commit --no-verify:*)",
      "Bash(git push --force:*)",
      "Bash(git push -f:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bun \"$CLAUDE_PROJECT_DIR\"/scripts/claude-bash-guard.ts"
          }
        ]
      }
    ]
  }
}

Skills (1)

Subagents (11)

appsecReviews auth, session, token and authorization changes against authentication.md and every token issuance path in the code. Read-only. Use for any change that touches login, tokens, cookies, sessions,
business-analyst
model: sonnet
Reviews PRDs and personas, and turns a feature request into testable acceptance criteria while listing the business rules that are still missing. Use before planning or coding any user-facing change.
code-reviewer
model: sonnet
Reviews a diff against this repo's invariants (architecture, layer boundaries, testing rules, commit hygiene) before a PR is opened. Read-only; reports findings with file and line.
implementer
model: sonnet
Implements one task of an approved AI-BASE implementation plan (or one S-size fix) in the product source directories, following its Pre-Task Protocol — TDD, impact check, feature-map entry, verificati
pr-reviewer
model: sonnet
Reviews a pull request into dev against the repo's written rules, the module's PRD and the approved design; returns PASS or CHANGES_REQUESTED, and merges into dev itself when the PR passes and is not
product-managerWrites and maintains AI-BASE PRDs and personas in docs/prd/ — one PRD per module, from the shared template, with traceable IDs (US/FR/BR/AC). Use to draft a new PRD, apply the approver's answers to on
qa-app
model: sonnet
Writes unit, component and e2e tests for the app's UI grounded in the real router or screens, locale files and test IDs. Use for any new or changed UI test. Never guesses routes, screens or copy.
sdet
model: sonnet
Proves a flaky-test fix works by repeated runs with retries disabled, and rejects fixes backed only by a single pass. Use after any change claimed to fix a flaky or race-dependent test.
solution-architectAnswers, on the user's behalf, the questions other agents raise (PRD open questions, BA and design questions, technical-design questions, review choices). A senior solution architect who picks the sim
tech-leadWrites and maintains AI-BASE technical design documents in docs/tech/ — one per module — from an Approved PRD and approved UI design. Covers architecture, data model, API contract, authorization, key
ui-designerDesigns AI-BASE screens, flows and component states on the project's design canvas, following its design system, light, with dark boards for new patterns. Use for any new or changed UI before it is pl

Hooks (1)

eventmatcherruns
PreToolUseBashbun "$CLAUDE_PROJECT_DIR"/scripts/claude-bash-guard.ts

Slash commands (1)

/git-accept

Plugins (2)

release-kit@daont-claude-pluginssuperpowers@claude-plugins-official

Permissions

deny (6)
Bash(git add -A)
Bash(git add .)
Bash(git commit -a:*)
Bash(git commit --no-verify:*)
Bash(git push --force:*)
Bash(git push -f:*)
ask (0)
—
allow (2)
Bash(git *)
Bash(gh *)

Similar rigs

copied ✓