Skip to content

Commit b8e4d77

Browse files
authored
Merge pull request #200 from AI-native-Systems-Research/feat/certus-server-yaml
Feat/certus server yaml
2 parents 139c20e + 5d2ac66 commit b8e4d77

113 files changed

Lines changed: 14902 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: tools-speckit-init
3+
description: Initialize a new directory with spec-kit (specify) and install the spec-kit-sync extension
4+
argument-hint: <directory-name> (e.g. my-new-component)
5+
---
6+
7+
This skill creates a new directory, initializes it with `specify init . --ai claude`, and installs the `spec-kit-sync` extension.
8+
9+
## Input
10+
11+
The user must provide a directory name as an argument (e.g. `/tools-speckit-init my-new-component`).
12+
13+
If no argument is provided, show the hint and stop.
14+
15+
## Prerequisites
16+
17+
- `specify` must be installed and available on PATH (`which specify` should succeed)
18+
- If not installed, inform the user that `specify` is required and stop
19+
20+
## Steps
21+
22+
1. Verify that `specify` is installed by running `which specify`. If it fails, tell the user to install specify first and stop.
23+
24+
2. Check that the target directory does not already exist. If it does, inform the user and stop.
25+
26+
3. Create the new directory:
27+
```bash
28+
mkdir -p <directory-name>
29+
```
30+
31+
4. Initialize spec-kit in the new directory:
32+
```bash
33+
cd <directory-name> && specify init . --ai claude
34+
```
35+
36+
5. Install the spec-kit-sync extension:
37+
```bash
38+
cd <directory-name> && specify extension add spec-kit-sync --from https://github.com/bgervin/spec-kit-sync/archive/refs/heads/master.zip
39+
```
40+
41+
6. Report success and tell the user:
42+
- The directory has been created and initialized
43+
- spec-kit-sync extension has been installed
44+
- They can now use specify commands in the new directory (e.g. `/speckit-specify`, `/speckit-clarify`)
45+
- The path to the new directory
46+
47+
## Notes
48+
49+
- The directory is created relative to the current working directory
50+
- If `specify init` or the extension install fails, report the error to the user with the command output

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ members = [
2828
"apps/gpu-bb-vs-p2p",
2929
"certus-connector",
3030
"components/example-helloworld-dylib",
31-
"apps/dynamic-loading-example"
31+
"apps/dynamic-loading-example",
32+
"apps/certus-server-yaml"
3233
]
3334

3435
# SPDK crates require pre-built native libraries at deps/spdk-build/.

apps/certus-server-yaml/Cargo.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[package]
2+
name = "certus-server-yaml"
3+
version = "0.1.0"
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
publish = false
7+
8+
[dependencies]
9+
interfaces = { workspace = true, features = ["spdk"] }
10+
component-framework.workspace = true
11+
component-core.workspace = true
12+
dispatcher.workspace = true
13+
dispatch-map.workspace = true
14+
memory-tier.workspace = true
15+
block-device-spdk-nvme.workspace = true
16+
extent-manager.workspace = true
17+
spdk-env.workspace = true
18+
gpu-services = { workspace = true, features = ["gpu"] }
19+
logger.workspace = true
20+
21+
tonic = { version = "0.12", features = ["tls"] }
22+
prost = "0.13"
23+
tokio = { version = "1", features = ["full"] }
24+
clap = { version = "4", features = ["derive"] }
25+
26+
[build-dependencies]
27+
serde = { version = "1", features = ["derive"] }
28+
serde_yaml = "0.9"
29+
tonic-build = "0.12"

0 commit comments

Comments
 (0)