gopherbot-architecture-guardrails
Ensures safety and impact analysis before implementing complex architectural changes in Gopherbot.
Install
mkdir -p .claude/skills/gopherbot-architecture-guardrails && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18665" && unzip -o skill.zip -d .claude/skills/gopherbot-architecture-guardrails && rm skill.zipInstalls to .claude/skills/gopherbot-architecture-guardrails
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when implementing or reviewing cross-cutting Gopherbot architecture changes that touch connectors, routing, startup/configuration, identity/authorization, or compatibility. Enforces strict pre-change impact analysis plus per-change invariants/testing/documentation checks.Key capabilities
- →Enforce mandatory preflight analysis for architectural changes
- →Review architectural invariants and startup ordering
- →Produce an Impact Surface Report
- →Verify shared authorization and business-policy logic
- →Ensure cross-protocol identity equivalence is explicit
How it works
The skill enforces a structured review process for Gopherbot architectural changes by requiring preflight analysis, impact reporting, and adherence to architectural invariants and documentation checks.
Inputs & outputs
When to use gopherbot-architecture-guardrails
- →Implementing architectural changes
- →Reviewing routing modifications
- →Validating startup flow changes
About this skill
Gopherbot Architecture Guardrails
When To Use
Use this skill for non-trivial changes that touch one or more of:
- Simultaneous multi-protocol runtime behavior
- Connector fan-in/fan-out routing
- Identity mapping and authorization decisions
- Startup flow, protocol selection, or configuration precedence
- Cross-connector failure isolation and ordering guarantees
- Robot bootstrap/setup workflow that affects startup, config loading, or connector semantics
Do not use this skill for small isolated plugin/job/task changes that do not affect connector, identity, routing, startup, or config behavior.
Mandatory Preflight (Strict)
Before coding any non-trivial change, do all of the following:
- Read (in order):
aidocs/README.md,aidocs/COMPONENT_MAP.md,aidocs/STARTUP_FLOW.md,aidocs/GOALS_v3.md. - Review
aidocs/TESTING_CURRENT.mdfor harness constraints. - Summarize: architectural invariants, startup ordering, connector assumptions, routing model, identity model.
- Produce an Impact Surface Report using
references/impact-surface-report-template.md. - Share the report in task context before implementation, unless explicitly waived by the user.
If waived, record the waiver in task context (example: "Impact report waived by user for this narrow change").
Hybrid Working Model
This skill uses both:
- Checklist guardrails (always enforced)
- Light runbook phases (recommended order, adjustable with explicit rationale)
Checklist Guardrails (Always)
- Shared authorization and business-policy logic stays in engine flows.
- Permission checks use protocol-agnostic username, not raw transport IDs.
- Connectors may use transport-specific internal user IDs, but must map IDs to shared username via roster.
- Cross-protocol identity equivalence must be explicit (never inferred heuristically).
- Per-connector message ordering guarantees must be preserved.
- Startup/control flow and config precedence must remain explicit and deterministic.
- When multiple connectors are enabled, connector failure isolation must prevent cascade failure.
Recommended Phase Order (Runbook)
- Identity and authorization substrate
- Multi-connector runtime orchestration
- Routing semantics and connector-local behavior boundaries
- Startup/configuration/default behavior migration
- Tests, documentation, and compatibility hardening
You may reorder phases when necessary, but state why in the impact report or task context.
Required Artifacts Per Non-Trivial Change
Use these templates:
- Impact report:
references/impact-surface-report-template.md - PR invariants checklist:
references/pr-invariants-checklist-template.md - Compatibility note:
references/compatibility-note-template.md
The compatibility note is required whenever behavior, config defaults, operator workflow, or externally visible semantics change.
Execution Rhythm For Large Changes
Work in thin vertical slices:
- Write impact report for one slice.
- Implement only that slice.
- Run focused tests first, then broader suite as needed.
- Fill PR checklist and compatibility note.
- Update affected
aidocs/files in the same change.
Prefer multiple coherent PRs over one monolithic refactor.
Testing And Documentation Gates
- Verify behavior against
aidocs/STARTUP_FLOW.mdif startup/config/order is touched. - Update
aidocs/COMPONENT_MAP.mdfor connector/module movement. - Update connector-specific docs (
aidocs/SSH_CONNECTOR.md,aidocs/SLACK_CONNECTOR.md, etc.) when semantics change. - For test harness assumptions, verify with
aidocs/TESTING_CURRENT.md. - When integration tests are applicable, finish by running them and classifying each failure as either:
- real regression / newly introduced bug
- intentional behavior change with outdated test expectations
- Do not "fix" failing integration tests by updating assertions until that classification is explicit.
MCP Note
This skill assumes no MCP dependency for current work. Ignore MCP setup unless a future task explicitly requires MCP-backed tooling.
Resources
references/impact-surface-report-template.mdreferences/pr-invariants-checklist-template.mdreferences/compatibility-note-template.mdscripts/scaffold-change-docs.sh
When not to use it
- →For small isolated plugin/job/task changes that do not affect connector, identity, routing, startup, or config behavior
- →When the change does not touch simultaneous multi-protocol runtime behavior
- →When the change does not affect connector fan-in/fan-out routing
Limitations
- →Applies only to non-trivial changes affecting specific Gopherbot architectural components
- →Requires explicit documentation and reporting artifacts
- →Does not perform the code implementation itself
How it compares
This skill provides a formalized, checklist-driven approach to architectural changes, ensuring critical aspects are considered and documented, unlike an ad-hoc review process.
Compared to similar skills
gopherbot-architecture-guardrails side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| gopherbot-architecture-guardrails (this skill) | 0 | 4mo | Review | Advanced |
| nx-workspace-patterns | 5 | 2mo | No flags | Intermediate |
| monorepo-architect | 3 | 3mo | No flags | Advanced |
| supporting-modules-architecture | 2 | 2mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
nx-workspace-patterns
wshobson
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.
monorepo-architect
sickn33
Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use PROACTIVELY for monorepo setup,
supporting-modules-architecture
TencentBlueKing
BK-CI 支撑模块架构指南,涵盖凭证管理(Ticket)、构建机环境(Environment)、通知服务(Notify)、构建日志(Log)、质量红线(Quality)、开放接口(OpenAPI)等支撑性服务模块。当用户开发这些模块功能或需要理解支撑服务架构时使用。
worker-module-architecture
TencentBlueKing
Worker 构建执行器模块架构指南,涵盖插件执行引擎、任务分发、日志上报、制品上传、Worker 生命周期。当用户开发 Worker 功能、实现插件执行、处理任务分发或优化执行器性能时使用。
engineering-advanced-skills
alirezarezvani
25 advanced POWERFUL-tier engineering skills covering agent design, RAG architecture, MCP servers, CI/CD pipelines, database design, observability, security auditing, release management, and platform operations. Works with Claude Code, Codex CLI, and OpenClaw.
00-bkci-global-architecture
TencentBlueKing
BK-CI 全局架构指南,以流水线为核心的模块协作全景图,涵盖完整执行流程、模块依赖关系、数据流向、核心概念。当用户需要理解系统架构、进行跨模块开发、了解模块间协作或规划架构设计时优先阅读。