360 Secure SkillHub
360 安全技能中心

Concept design

基于 Daniel Jackson 的概念与同步方法,支持设计、规格化、实现、重构、评审和解释软件;可检查 CONCEPT.md/SYNCS.md 结构并生成 Mermaid 关系图,强调契约、不变量与只读审计边界。

分类:开发
agenticweb4
agenticweb4
热度 53.16
最近更新 2026-11-26 12:01:26

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add agenticweb4/concept-design
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
concept-design
description
Use only when explicitly invoked. Design, specify, implement, review, refactor, or explain software with Daniel Jackson's concepts and synchronizations. Check CONCEPT.md/SYNCS.md structure and generate Mermaid relationship diagrams.
metadata
{"language":"en","translation_of":"concept-design-cn","version":"2.6.0"}

Concept design

Summary of Daniel Jackson's concept design: Application = Concepts + Synchronizations.

“With the concepts in hand, we now associate their actions through synchronizations:” — Daniel Jackson, Concept composition and sync (2022-09-14)

Start from user needs. Concepts define independent behavior; external synchronization rules compose that behavior by specifying which action completions, under which conditions, trigger subsequent actions.

Core constraints

  • Reuse before modeling: reuse mature capabilities first; concepts carry only this product's business rules and invariants, and reused components stay behind ports and adapters.
  • Each concept owns state and actions for one purpose; concepts do not invoke one another or read one another's state. External identities carry no internal structure from another concept.
  • The operational principle (OP) illustrates how the purpose is fulfilled through a representative history; it does not replace the full contract or guarantee progress.
  • Composition may restrict behavior but must preserve each concept's contract. Check contracts, OPs, purposes, and application scenarios separately.
  • Each definition has one authoritative source. Distinguish confirmed, proposed, inferred, and open statements; test decisions with evidence, assumptions, and counterexamples. Keep unresolved matters open and unexecuted checks unverified.
  • Compare alternatives, including no change or removal; revisit assumptions after repeated failures. Refactoring preserves behavior; state intentional changes explicitly.

For engineering design, implementation, review, or project rules, apply the engineering architecture for directories, naming, responsibilities, and dependencies.

Choose a mode

Select a mode from the request and read only that mode and references needed for the current step. Each mode file links every reference it needs directly; links between references are see-also only. Inspect read-only when intent is unclear; carry existing authorization across modes.

Mode Purpose
design Design concepts and synchronizations
settle Consolidate discussions and decisions
prd Write the PRD, specifications, and acceptance criteria
build Implement or refactor against confirmed specifications
review Review design and implementation
guard Audit, reconstruct, check drift, specify pipelines, and generate diagrams
refine Compare improvements and apply authorized corrections
explain Explain behavior from specifications and source code

Review, audit, drift, and plan-only requests remain read-only; other changes stay within authorized scope. Do not change specifications to conceal implementation defects.

Expression and verification

Use the reading version by default; expand the specification notation when precision is needed. Read the tool encoding when running the checker or generating diagrams; report unsupported content as unchecked. Use Mermaid in Markdown for diagrams; passing syntax checks does not establish purpose fulfillment, contract conformance, or runtime correctness.

References

  • Concepts and synchronizations: Daniel Jackson, Beyond Objects.
  • Engineering execution: Meng and Jackson, WYSIWID.