From 79dd6cfc9dc248e3236db9eeec410c5be2cdf8ab Mon Sep 17 00:00:00 2001 From: Nasr Date: Thu, 12 Feb 2026 11:31:05 -0600 Subject: [PATCH 1/2] chore(skills): add repository development skill --- .claude/skills | 1 - .claude/skills/dojo-development/SKILL.md | 32 +++++++++++++++++++ .../dojo-development/agents/openai.yaml | 4 +++ 3 files changed, 36 insertions(+), 1 deletion(-) delete mode 120000 .claude/skills create mode 100644 .claude/skills/dojo-development/SKILL.md create mode 100644 .claude/skills/dojo-development/agents/openai.yaml diff --git a/.claude/skills b/.claude/skills deleted file mode 120000 index 2b7a412b8f..0000000000 --- a/.claude/skills +++ /dev/null @@ -1 +0,0 @@ -../.agents/skills \ No newline at end of file diff --git a/.claude/skills/dojo-development/SKILL.md b/.claude/skills/dojo-development/SKILL.md new file mode 100644 index 0000000000..9355a20d7a --- /dev/null +++ b/.claude/skills/dojo-development/SKILL.md @@ -0,0 +1,32 @@ +--- +name: dojo-development +description: Contributor workflow for dojoengine/dojo. Use when implementing or reviewing changes in this repository, especially Rust workspace edits, Cairo fixture refreshes, and CI-parity formatting/lint/test checks. +--- + +# Dojo Development + +Use this skill to make scoped changes in `dojoengine/dojo` and validate them with repository-standard commands. + +## Core Workflow + +1. Identify affected crates and binaries from `git status` and touched files. +2. Prepare local test databases: + - `bash scripts/extract_test_db.sh` +3. If Cairo examples, policies, or core behavior changed, refresh artifacts: + - `POLICIES_FIX=1 cargo nextest run --all-features --build-jobs 20 --workspace --nocapture policies` + - `bash scripts/rebuild_test_artifacts.sh` +4. Run baseline validation: + - `cargo build --workspace` + - `cargo nextest run --all-features --build-jobs 20 --workspace` +5. If Katana behavior is involved, test with a local Katana binary: + - `cargo build -r --bin katana` + - `KATANA_RUNNER_BIN=./target/release/katana cargo nextest run --all-features --build-jobs 20 --workspace` +6. Run style and lint checks: + - `bash scripts/rust_fmt.sh --fix` + - `bash scripts/clippy.sh` + +## PR Checklist + +- Keep the diff focused to the requested behavior. +- Include fixture/artifact updates when Cairo-driven behavior changes. +- Record exact validation commands and outcomes in the PR body. diff --git a/.claude/skills/dojo-development/agents/openai.yaml b/.claude/skills/dojo-development/agents/openai.yaml new file mode 100644 index 0000000000..1dffe86581 --- /dev/null +++ b/.claude/skills/dojo-development/agents/openai.yaml @@ -0,0 +1,4 @@ +interface: + display_name: "Dojo Development" + short_description: "Contributor workflow for dojoengine/dojo" + default_prompt: "Use $dojo-development to implement and validate changes in dojo." From 35c39315795be6fb76e845ebc35f6b7c86479ec4 Mon Sep 17 00:00:00 2001 From: Daniel Kronovet Date: Tue, 17 Feb 2026 12:14:58 -0700 Subject: [PATCH 2/2] chore(skills): rename dojo-development to dojo-contributing Co-Authored-By: Claude Opus 4.6 --- .../skills/{dojo-development => dojo-contributing}/SKILL.md | 4 ++-- .claude/skills/dojo-contributing/agents/openai.yaml | 4 ++++ .claude/skills/dojo-development/agents/openai.yaml | 4 ---- 3 files changed, 6 insertions(+), 6 deletions(-) rename .claude/skills/{dojo-development => dojo-contributing}/SKILL.md (96%) create mode 100644 .claude/skills/dojo-contributing/agents/openai.yaml delete mode 100644 .claude/skills/dojo-development/agents/openai.yaml diff --git a/.claude/skills/dojo-development/SKILL.md b/.claude/skills/dojo-contributing/SKILL.md similarity index 96% rename from .claude/skills/dojo-development/SKILL.md rename to .claude/skills/dojo-contributing/SKILL.md index 9355a20d7a..bb691e8134 100644 --- a/.claude/skills/dojo-development/SKILL.md +++ b/.claude/skills/dojo-contributing/SKILL.md @@ -1,9 +1,9 @@ --- -name: dojo-development +name: dojo-contributing description: Contributor workflow for dojoengine/dojo. Use when implementing or reviewing changes in this repository, especially Rust workspace edits, Cairo fixture refreshes, and CI-parity formatting/lint/test checks. --- -# Dojo Development +# Dojo Contributing Use this skill to make scoped changes in `dojoengine/dojo` and validate them with repository-standard commands. diff --git a/.claude/skills/dojo-contributing/agents/openai.yaml b/.claude/skills/dojo-contributing/agents/openai.yaml new file mode 100644 index 0000000000..9659a62b8c --- /dev/null +++ b/.claude/skills/dojo-contributing/agents/openai.yaml @@ -0,0 +1,4 @@ +interface: + display_name: "Dojo Contributing" + short_description: "Contributor workflow for dojoengine/dojo" + default_prompt: "Use $dojo-contributing to implement and validate changes in dojo." diff --git a/.claude/skills/dojo-development/agents/openai.yaml b/.claude/skills/dojo-development/agents/openai.yaml deleted file mode 100644 index 1dffe86581..0000000000 --- a/.claude/skills/dojo-development/agents/openai.yaml +++ /dev/null @@ -1,4 +0,0 @@ -interface: - display_name: "Dojo Development" - short_description: "Contributor workflow for dojoengine/dojo" - default_prompt: "Use $dojo-development to implement and validate changes in dojo."