Vertesia 需求能力差距评估
vertesia-gap-assessment
在提出实现方案之前,评估任意需求与现有 Vertesia 能力之间的差距。在审查 Vertesia 应用、插件、工作流或智能体的需求文档、调研笔记、演示请求或功能请求时使用,以便区分平台原生支持、已安装的项目能力、当前应用实现和真正需要自定义开发的工作。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 5
- Forks
- 2
01 前言 Front Matter
- name
- vertesia-gap-assessment
- description
- Assess the gap between arbitrary requirements and existing Vertesia capabilities before proposing implementation work. Use when reviewing requirement documents, discovery notes, demo asks, or feature requests for a Vertesia app, plugin, workflow, or agent so you can separate native platform support, installed project capabilities, current app implementation, and true custom work.
02 资源文件 1
- 参考文档references/sources-and-checks.md8.1 KB
03 SKILL.md 正文
Vertesia Gap Assessment
Use this skill before proposing implementation plans for a Vertesia solution. The goal is to avoid inventing custom work too early and to ground recommendations in four sources of truth:
- live project state
- official Vertesia docs
- current codebase
- related local examples
Read references/sources-and-checks.md at the start of the assessment.
What To Produce
Produce a compact assessment with these sections:
- Requirement summary
- Existing Vertesia capabilities relevant to the ask
- Existing project or app assets that can be reused
- Gap matrix:
- requirement
- native support
- project support
- app support
- custom work needed
- Recommended implementation path
- Risks or unknowns requiring verification
Keep the distinction explicit between:
- what Vertesia supports in general
- what the target project has installed or configured
- what the current app or plugin already uses
Workflow
1. Normalize the requirements
Extract the requested outcomes and group them into a short capability list. Use whatever groups fit the ask, but these are the default buckets:
- intake
- repository and search
- workflow and approvals
- lifecycle and reminders
- reporting and analytics
- integrations
- assistant and agent behavior
- mobile or responsive UX
- admin and settings
Do not jump to architecture until the requirement list is normalized.
2. Check sources in the right order
A. Live project state first
Use the CLI or API to inspect what is actually present in the target Vertesia project:
- active CLI profile
- installed workflow definitions
- installed workflow rules
- installed apps
- interactions available in the current project
- content objects or uploaded demo data when relevant
If a command fails due to expired auth, refresh the profile and retry.
If you inspect profiles with vertesia profiles show, do not echo API keys or tokens back to the user. Summarize only the safe fields you need.
When the question involves app-defined types, interactions, templates, or remote activities, verify the exact runtime identifiers through the project APIs or the app package, not only through local code. App resources often have two useful names:
- a local/query name used in search filters, such as
clm_contract - an app in-code identifier used in create/execute paths, such as
app:<app-name>:clm:ClmContract
B. Official docs second
Use the Vertesia docs to determine platform-native capabilities before proposing custom code. The high-value pages are:
- workflow activities catalog
- agent built-in tools
- agent runner overview
- plugin/custom app docs
- CLI reference
Prefer standard workflows, built-in workflow activities, and built-in agent tools when they cover the requirement.
C. Current codebase third
Inspect what the current app already implements:
- content types
- interactions
- tools and activities
- workflow specs
- UI routes and pages
- local skills and project docs
For UI requirements, inspect both the local UI code and the available @vertesia/ui primitives before proposing custom components. A gap in the current app is not automatically a gap in the shared UI library.
Do not confuse "possible in Vertesia" with "already wired into this app".
D. Related local examples fourth
Look for reusable patterns in:
- nearby plugin repos
- project-local skills
- installed standard workflows in the target project
- prior implementations of similar flows
Treat installed standard workflows as real reuse candidates, not as theoretical examples.
3. Classify every requirement
For each requirement, classify it as one of:
- already implemented
- available natively in Vertesia
- partially covered and should be composed from native pieces
- requires custom plugin or app code
- requires external integration or project configuration
Use the most conservative label that is still accurate.
4. Recommend the right architectural home
Use these defaults unless the evidence points elsewhere:
- deterministic intake and side effects -> DSL workflow
- structured extraction -> interaction executed by workflow
- open-ended review, search, explanation, analysis -> agent
- standard repository operations -> built-in workflow activities or built-in agent tools
- domain-specific routing, linked-record creation, adapter logic -> custom plugin code only if native pieces do not cover it
- UX-only visualization or dashboards -> UI composition
- third-party system access -> integration or adapter layer
For list/detail UI requirements, also decide where state must live. If users are expected to go from a table to a detail view and back without losing context, page-local state is usually the wrong recommendation.
Do not assume an agent is the best orchestration model. Check built-in workflow activities first.
Do not invent custom activities too early. Check the workflow activities catalog first.
5. Write the gap matrix
For each normalized requirement, capture:
- requirement
- evidence or source
- current support status
- recommended implementation approach
- custom work still needed
- open unknowns
Be explicit when the right answer is hybrid, for example:
- standard workflow + custom enrichment
- built-in tools + custom UI
- deterministic workflow + agent assistant
Decision Rules
- Docs are not enough. Verify installed definitions and project state with the CLI.
- Installed project capabilities are not the same as code already used by this app.
- Existing standard workflows should be inspected before creating new ones.
- Prefer reuse over replacement when a standard workflow covers the generic part and custom code only needs to handle domain enrichment.
- If a requirement depends on configuration, credentials, or app installation settings, call that out separately from code work.
- If standard intake is already installed, prefer adding domain enrichment after the standard workflow completes rather than starting a second workflow on the same
createevent and letting them race. - CLI support and project runtime support are not the same thing. A CLI command may reject an app-defined type even when direct project APIs and the app runtime accept it.
- For app-defined interactions in workflows,
executeInteractiontypically needs the full app interaction id, not a bare interaction name. - For app-defined child records created from custom activities or UI actions, prefer the resolved app type code used by the runtime create path.
- For UI work, classify "needs custom UI code" only after checking whether the shared
@vertesia/uilibrary already provides the needed primitive. - For list/detail UI work, inspect the route boundary and the persistence behavior of shared filter components. If
FilterProvideror URL-backed filters are involved and state also survives navigation, plan a normalization or dedupe step so filter restoration does not create duplicates. - For sortable, facet-driven repository tables, prefer one backend search path that owns rows, sort, and facets instead of mixing a simpler find path with a richer search path.
Output Style
Keep the assessment compact and implementation-oriented.
Prefer short grouped bullets and a small matrix over long prose.
When useful, summarize the recommendation in one sentence:
Use <native capability> for the generic path, then add <custom component> for the domain-specific gap.
04 同仓库更多 Skills
用户选项收集
user-select
向用户呈现选项并收集其选择,用于交互式决策
Vertesia React UI 组件开发
vertesia-ui
使用 @vertesia/ui 构建 UI 的参考资料。涵盖组件 API(Input、Button、VModal、VTabs、Table)、支持无限滚动的列表/详情表格、可排序表头、带 URL 持久化和内联行过滤的 FilterProvider、布局组件(Sidebar、FullHeightLayout、GenericPageNavHeader)、路由(NestedRouterProvider、useParams、useNavigate)、智能体对话(ModernAgentConversation)、样式与安全。当创建或修改 React UI 页面或组件时使用。
Vertesia 工具服务器资源创建
vertesia-tool-server-resource
为 Vertesia 插件工具服务器创建工具、技能、交互、内容类型、渲染模板、钩子和事件订阅。处理文件脚手架搭建与模块资源索引接线。当向此插件添加新的工具服务器资源时使用。
Vertesia 插件架构参考
vertesia-plugin
关于插件架构、双构建系统、导入钩子和部署的参考资料。用于理解插件结构或构建配置。创建资源请使用 vertesia-tool-server-resource;构建 UI 请使用 vertesia-ui;客户端 API 请使用 vertesia-api。
Vertesia DSL 工作流参考
vertesia-dsl-workflow
DSL 工作流定义、远程活动、变量解析和条件处理的参考。在创建或调试调用插件远程活动的 DSL 工作流时使用。
Vertesia 演示种子内容生成
vertesia-demo-content
为 Vertesia 应用生成真实且可复用的演示或种子内容,并通过 Vertesia CLI、API 或浏览器会话上传。在构建 Vertesia 自定义应用、插件、原型、仓库工作流、AI 提取工作流、搜索/筛选页面,或需要使用真实存储对象而非硬编码模拟数组的演示时使用;包括检查当前活动的 CLI 配置文件,以及在修改 Vertesia 项目前先询问确认。