返回技能市场

Concept Model 概念建模

Apply concept modeling principles to design, implementation, and maintenance by defining independent concepts around user purposes and coordinate their collaboration with synchronization rules.

版本: 1.1.1贡献者: agenticweb4分类: 设计创作
架构概念建模系统设计重构

在 Tokeny 中使用「Concept Model 概念建模」

  1. 下载 Tokeny 客户端
  2. 一键安装此技能
  3. 直接在对话中使用
已安装?在 Tokeny 中打开

SKILL.md

Working with concept modeling

Follow the structural pattern proposed by Daniel Jackson and Eagon Meng: build applications from concepts and synchronizations. Concepts are fully independent services; synchronizations are event-based rules that mediate between them.

Purpose

  • One concept, one clear user-facing purpose.
  • Fulfill the purpose with complete behavior.
  • Use a representative behavioral history to explain how the purpose is fulfilled; define behavior through state and action specifications.

Independence

  • Each concept manages its own state; mutable state is not shared.
  • Concepts are independently understandable; they neither invoke other concepts’ actions nor query their state.
  • Keep references to external objects polymorphic, without depending on their concrete types or internal structure.

Composition

  • Concepts define behavior; synchronizations define collaboration.
  • Synchronizations match action completions, query the required state, and invoke subsequent actions.
  • Application-specific cross-concept rules belong in synchronizations, which depend only on concept specifications.
  • Composed behavior must still conform to each concept’s specification.

Engineering additions

The following implementation and maintenance conventions belong to this skill; they are not presented as the authors’ original wording or distinctive principles.

Implementation

  • Actions uphold preconditions, outcomes, and invariants.
  • Make the observable outcomes of failure, retries, and concurrency explicit.
  • Verify concept contracts and composition purposes separately.

Maintenance

  • Determine responsibility before adding structure.
  • Preserve behavior when refactoring; make intentional changes explicit.
  • Limit changes to what is needed; retain clear code.

Tokeny 是什么

  • 免费的桌面 AI 助手,支持 Windows、macOS 和 Linux。
  • 说一句话就能处理文件、生成文档与表格、执行多步骤任务。
  • 通过技能和 MCP 扩展能力,一键安装市场里的资源。
了解 Tokeny

评论与讨论

0/2000

还没有评论,分享你的体验吧。