teamai-baseline
Shared TeamAI rules baseline (coding style, review, testing, git, security, performance) for Operating Swarm seats.
Skill by matthewhand
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/matthewhand-teamai-baseline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/teamai-baseline
What's inside
- Skill name
teamai-baseline- Description
- Shared TeamAI rules baseline (coding style, review, testing, git, security, performance) for Operating Swarm seats.
- License
- MIT
- Instructions
- 584 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 584 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# TeamAI shared baseline Adapted from affaan-m/everything-claude-code (MIT). Copyright (c) 2026 Affaan Mustafa. See `packs/teamai/LICENSE` and `packs/teamai/ATTRIBUTION.md`. Attach this skill when a seat should follow the team's shared rules. ## Source: rules/common/agents.md # Agent Orchestration ## Available Agents Located in `~/.claude/agents/`: | Agent | Purpose | When to Use | |-------|---------|-------------| | planner | Implementation planning | Complex features, refactoring | | architect | System design | Architectural decisions | | tdd-guide | Test-driven development | New features, bug fixes | | code-reviewer | Code review | After writing code | | security-reviewer | Security analysis | Before commits | | build-error-resolver | Fix build errors | When build fails | | e2e-runner | E2E testing | Critical user flows | | refactor-cleaner | Dead code cleanup | Code maintenance | | doc-updater | Documentation | Updating docs | | rust-reviewer | Rust code review | Rust projects | | harmonyos-app-resolver | HarmonyOS app development | HarmonyOS/ArkTS projects | ## Immediate Agent Usage No user prompt needed: 1. Complex feature requests - Use **planner** agent 2. Code just written/modified - Use **code-reviewer** agent 3. Bug fix or new feature - Use **tdd-guide** agent 4. Architectural decision - Use **architect** agent ## Parallel Task Execution ALWAYS use parallel Task execution for independent operations: ```markdown # GOOD: Parallel execution Launch 3 agents in parallel: 1. Agent 1: Security analysis of auth module 2. Agent 2: Performance review of cache system 3. Agent 3: Type checking of utilities # BAD: Sequential when unnecessary First agent 1, then agent 2, then agent 3 ``` ## Delegation Completion Contract Applies to every agent at every depth (parent, child, grandchild): 1. **Your final message IS the deliverable.** Never end your turn with "waiting for background agents" — a spawned task is not a completed task. Ending your turn while children are running orphans their results (completed children cannot notify a parent whose turn has ended). 2. **If you delegate, you own collection.** Wait for results, integrate them, then return. Fire-and-forget delegation is forbidden. 3. **Decompose only when the work cannot fit in one context.** Do not re-delegate a task already sized for a single agent — depth is an outcome, not a plan. > Rationale: observed failure mode — research agents followed "Parallel Task Execution" above, spawned children, and returned "waiting" as their final answer. All children completed successfully but their results were orphaned. The parallel rule without a completion contract produces zombie tasks. ## Multi-Perspective Analysis For complex problems, use split role sub-agents: - Factual reviewer - Senior engineer - Security expert - Consistency reviewer - Redundancy checker ## Source: rules/common/code-review.md # Code Review Standards ## Purpose Code review ensures quality, security, and maintainability before code is merged. This rule defines when and how to conduct code reviews. ## When to Review **MANDATORY review triggers:** - After writing or modifying code - Before any commit to shared branches - When security-sensitive code is changed (auth, payments, user data) - When architectural changes are made - Before merging pull requests **Pre-Review Requirements:** Before requesting review, ensure: - All automated checks (CI/CD) are passing - Merge conflicts are resolved - Branch is up to date with target branch ## Review Checklist Before marking code complete: - [ ] Code is readable and well-named - [ ] Functions are focused (<50 lines) - [ ] Files are cohesive (<800 lines) - [ ] No deep nesting (>4 levels) - [ ] Errors are handled explicitly - [ ] No hardcoded secrets or credentials - [ ] No console.log or debug statements - [ ] Tests exist for new functionality - [ ] Test coverage meets 80% minimum ## Security Review Triggers **STOP and use security-reviewer agent when:** - Authentication or authorization code - User input handling - Database queries
From matthewhand/operating-swarm, MIT.
More from matthewhand/operating-swarm
- 0.644score
support-session-ownership
matthewhand
Teaches Support the first-run open-swarm journey and when Operating Swarm owns a thread versus CLI or remote sessions.
SkillAFreshness: A★ 20Claude Code +9 - 0.644score
orca-cli
matthewhand
Drive a running Orca ADE (stablyai/orca) through the documented orca JSON CLI for worktrees and agent terminals.
SkillAFreshness: A★ 20Claude Code +9 - 0.641score
database-migrations
matthewhand
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs…
SkillAFreshness: A★ 20Claude Code +9 - 0.641score
error-handling
matthewhand
Patterns for robust error handling across TypeScript, Python, and Go.
SkillAFreshness: A★ 20Claude Code +9 - 0.619score
domain-modeling
matthewhand
Build and sharpen a project's domain model.
SkillAFreshness: A★ 20Claude Code +9 - 0.607score
backend-patterns
matthewhand
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillAFreshness: A★ 20Claude Code +9 - 0.604score
self-update-pr
matthewhand
Open a real GitHub pull request on matthewhand/open-swarm from an in-app coding CLI.
SkillBFreshness: B★ 20Claude Code +9 - 0.604score
ddg-search
matthewhand
Perform web searches using DuckDuckGo (free, no API key) via the bundled search.py script.
SkillBFreshness: B★ 20Claude Code +9 - 0.554score
writing-changelog
matthewhand
Writes a Keep a Changelog entry from a description of changes or a git log.
SkillCFreshness: C★ 20Claude Code +9 - 0.554score
reviewing-code
matthewhand
Reviews a diff or file for bugs, security issues, and missing tests, returning prioritized findings.
SkillCFreshness: C★ 20Claude Code +9 - 0.554score
conventional-commit
matthewhand
Writes a single Conventional Commits message from a description of changes or a git diff.
SkillCFreshness: C★ 20Claude Code +9 - 0.549score
counting-lines
matthewhand
Counts the non-blank lines in a file using the bundled count.py script.
SkillCFreshness: C★ 20Claude Code +9
Signals
- Stars
- 20
- Forks
- 6
- Open issues
- 1
- Last commit (this folder)
- Sep 30, 2026 (28 days ago)
- Last release
- Jun 19, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/matthewhand/operating-swarm
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from matthewhand
- 0.644score
support-session-ownership
matthewhand
Teaches Support the first-run open-swarm journey and when Operating Swarm owns a thread versus CLI or remote sessions.
SkillAFreshness: A★ 20Claude Code +9 - 0.644score
orca-cli
matthewhand
Drive a running Orca ADE (stablyai/orca) through the documented orca JSON CLI for worktrees and agent terminals.
SkillAFreshness: A★ 20Claude Code +9 - 0.641score
database-migrations
matthewhand
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs…
SkillAFreshness: A★ 20Claude Code +9 - 0.641score
error-handling
matthewhand
Patterns for robust error handling across TypeScript, Python, and Go.
SkillAFreshness: A★ 20Claude Code +9 - 0.619score
domain-modeling
matthewhand
Build and sharpen a project's domain model.
SkillAFreshness: A★ 20Claude Code +9 - 0.607score
backend-patterns
matthewhand
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillAFreshness: A★ 20Claude Code +9
Cite this page
teamai-baseline skill. Agent Mart. https://agentmart.dev/skills/matthewhand-teamai-baseline (last updated 2026-10-24)