component-new-version
Create a new version of a component
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 4
01 前言 Front Matter
- name
- component-new-version
- description
- Create a new version of a component
- argument-hint
- [component-name]
03 SKILL.md 正文
Creating a new version of component named $0 involves the following steps:
-
Check that component $0 exists. If it does not exist, ask the user to clarify what component to create a new version of.
-
Create a new directory as a sibling, with the next version label. For example, if the latest version is v1, then the next directory should be called v2.
-
Copy the implementation from the prior version. Do not copy other directories such as info.
-
Rename the component name to reflect the new version, e.g., FoobarComponentV2
-
Copy permissions file .claude/settings.json, in the newly created sub-directory, that allows access to the component itself, lib/component-framework and any other directories corresponding to components that are listed as receptacles. We want to avoid giving access to other components that are not directly used.
-
Copy into the new component directory's
.claude/skillsonly the skills whose names match anincludepattern in.claude/component-local-skills.json(patterns support a trailing*wildcard; other entries match exactly). This allowlist is the single source of truth for which skills are component-local — do not hard-code the list here. Skip any skill that does not match. -
Run 'specify init . --ai claude' in the component source directory.
-
Run 'specify extension add spec-kit-sync --from https://github.com/bgervin/spec-kit-sync/archive/refs/heads/master.zip' in the component directory.
04 同仓库更多 Skills
tools-spin-sync
Synchronize Spin/Promela models with current source code and re-verify
tools-spin-model
Create a new Spin/Promela formal verification model for a system property
tools-creusot-install
Install the Creusot Rust verification tool
tools-creusot-init
Prepare an existing Cargo project to use Creusot formal verification
tools-creusot-coq-install
Add Coq 8.20 as an additional prover to an existing Creusot installation, for verification conditions that SMT solvers cannot discharge
tools-creusot-annotate-interfaces
Formally verify a component's properties with Creusot and annotate its interface definitions