跳到正文
cccskills
免费在 GitHub 公开

cxc-dev-architecture

Use for module boundaries and dependencies. Triggers: circular import, coupling, barrel, re-export, validation placement, 모듈 경계, 순환 참조.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(9)

  • SKILL.md2.7 KB
  • agents/openai.yaml174 B
  • references/01-module-boundaries.md5.2 KB
  • references/02-import-structure.md5.6 KB
  • references/03-boundary-validation.md3.5 KB
  • references/04-architecture-review.md5.3 KB
  • references/barrel-discipline.md3.9 KB
  • references/circular-dependencies.md4.2 KB
  • references/coupling-taxonomy.md5.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Dev-Architecture — Module Boundaries & Structural Integrity

Enforces architectural rules that prevent structural decay: circular dependencies, implicit coupling, barrel abuse, and misplaced validation. These rules are mechanical — an AI coding agent can follow them without subjective judgment.

Before architecture work, read dev for classification, fast paths, rule authority, family invariants, verification, and safety; current/public evidence follows its Conditional Routes.

Use browser verification only after candidate URLs exist.

Modular References

ConditionReference
Change boundaries, seams, layers, shared packages, or public exports above C0/C1; choose module owners/depthModule boundaries (ARCH-DECISION-01, ARCH-MAP-01)
Detect/fix import cycles or classify couplingImport structure, cycle commands, coupling examples
Create/modify index or re-export filesBarrel policy, barrel examples
Place shape parsing, domain invariants, or security checksValidation matrices and exceptions
Review structural changes, add CI conformance, query structural indexes, or use decision treesArchitecture review
Durable architecture documentationcxc-dev-scaffolding
Security policy/auth, observability, review, RCA, or infrastructure boundariesCross-skill owners

4. Boundary-Only Defensive Programming

Severity: CRITICAL Rule: Parse untrusted data at trust boundaries and avoid repeating shape validation inside one trusted typed boundary. Domain invariants (valid ranges, state transitions, relational constraints) belong to the domain owner even for in-process callers. Authorization and assertions for genuinely reachable invalid states remain allowed.

Ownership: this section distinguishes ingress shape parsing, domain invariants and reachable-state assertions. dev-security owns security validation and authorization policy; placement must not erase a business invariant or required defense-in-depth.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use for AST search and codemods. Triggers: ast-grep, sg, function/call/class/import, empty catch, missing await, YAML rules.

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年10月9日 更新

cxc-dev

免费

Use for coding, PR delivery, scaffolding and QA. Triggers: develop, fix, refactor, test, review, docs, browse, stacked PR, 개발, 수정, 검토, 스택 PR.

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年10月9日 更新

Use for APIs, servers and app databases. Triggers: REST, GraphQL, migration, query optimization, middleware, caching, queues, 백엔드, API 작업, 마이그레이션, 쿼리 최적화.

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年10月9日 更新

Use for code/PR/diff review and refactor audits. Triggers: review this, before merge, antipattern, 리뷰, 코드 리뷰, 머지 전에 확인.

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年10月9日 更新

Use for analytics and data pipelines. Triggers: ETL, ELT, data quality, SQL optimization, schema drift, backfill, 데이터 파이프라인, 데이터 품질, 백필.

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年10月9日 更新

Use for debugging and system comprehension. Triggers: debug this, root cause, how does X work, reverse engineer, 왜 안 돼, 디버깅, 원인 분석, 로직 파악, 뜯어봐.

中文简介正在准备中。当前显示原文说明。

lidge-jun/codexclaw472026年10月9日 更新

查看 lidge-jun 的全部技能

报告此技能的问题