Migrate Core Code to Submodules
tinyhumansai/openhuman
Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.
Use rust-analyzer's Structural Search and Replace (SSR) for semantic Rust code transformations across the engine workspace.
$ npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rocky-data/rocky rust-analyzer-ssr --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .claude/skills && cp -r skills-src/engine/.claude/skills/rust-analyzer-ssr .claude/skills/rust-analyzer-ssr && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rust-analyzer-ssr" agent skill from https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssr into .claude/skills/rust-analyzer-ssr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-analyzer-ssr", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssrType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rocky-data/rocky rust-analyzer-ssr --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .agents/skills && cp -r skills-src/engine/.claude/skills/rust-analyzer-ssr .agents/skills/rust-analyzer-ssr && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rust-analyzer-ssr" agent skill from https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssr into .agents/skills/rust-analyzer-ssr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-analyzer-ssr", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rocky-data/rocky rust-analyzer-ssr --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/engine/.claude/skills/rust-analyzer-ssr .cursor/skills/rust-analyzer-ssr && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rust-analyzer-ssr" agent skill from https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssr into .cursor/skills/rust-analyzer-ssr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-analyzer-ssr", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rocky-data/rocky.git --path engine/.claude/skills/rust-analyzer-ssr--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rocky-data/rocky rust-analyzer-ssr --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/engine/.claude/skills/rust-analyzer-ssr .gemini/skills/rust-analyzer-ssr && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rust-analyzer-ssr" agent skill from https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssr into .gemini/skills/rust-analyzer-ssr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-analyzer-ssr", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rocky-data/rocky rust-analyzer-ssrInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .github/skills && cp -r skills-src/engine/.claude/skills/rust-analyzer-ssr .github/skills/rust-analyzer-ssr && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rust-analyzer-ssr" agent skill from https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssr into .github/skills/rust-analyzer-ssr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-analyzer-ssr", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rocky-data/rocky rust-analyzer-ssr --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rocky-data/rocky.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/engine/.claude/skills/rust-analyzer-ssr .opencode/skills/rust-analyzer-ssr && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rust-analyzer-ssr" agent skill from https://github.com/rocky-data/rocky/tree/main/engine/.claude/skills/rust-analyzer-ssr into .opencode/skills/rust-analyzer-ssr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-analyzer-ssr", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rust-analyzer-ssrUse rust-analyzer's Structural Search and Replace (SSR) for semantic Rust code transformations across the engine workspace.
Rust Analyzer Ssr is an agent skill from rocky-data/rocky. Use rust-analyzer's Structural Search and Replace (SSR) for semantic Rust code transformations across the engine workspace. Apply when refactoring API shapes, migrating patterns, or searching for code structure across the workspace crates.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Refactoring. It works with Rust. The repository describes itself as: A SQL transformation engine that type-checks your whole pipeline and catches breaking changes before they run — branches, replay, column-level lineage, compile-time contracts… The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 46be77e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are rust, json and bash).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
gist.github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Rust Analyzer Ssr loads about 1.4k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 504 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from rocky-data/rocky at commit 46be77e, republished under its Apache-2.0 licence (© rocky-data). 504 words, ~1,447 tokens.
.claude/skills/rust-analyzer-ssr/SKILL.md (or your agent's skills folder).Source: vendored from davidbarsky/8fae6dc45c294297db582378284bd1f2 @ 191b2ee46088920de97d682561e2abd1edd64a42 (SKILL-3.md).
Author: David Barsky (rust-analyzer contributor at Meta). This is a pure tooling reference with no style opinions.
Use rust-analyzer's SSR for semantic code transformations in Rust projects. SSR matches code by AST structure and semantic meaning, not text. In Rocky this is especially useful for cross-crate refactors against the multi-crate workspace — string grep regularly over-matches.
<search_pattern> ==>> <replacement_pattern>Placeholders capture matched code:
$name — matches any expression/type/pattern in that position${name:constraint} — matches with constraintsfoo($a, $b) ==>> foo($b, $a)Foo { a: $a, b: $b } ==>> Foo::new($a, $b)Foo::method($receiver, $arg) ==>> $receiver.method($arg)$receiver.method($arg) ==>> Foo::method($receiver, $arg)Option<$t> ==>> Result<$t, Error>$e.unwrap() ==>> $e.expect("TODO")Some(${a:kind(literal)}) ==>> ...Some(${a:not(kind(literal))}) ==>> ...| Constraint | Matches |
|---|---|
kind(literal) | Literal values: 42, "foo", true |
not(...) | Negates inner constraint |
Write a comment containing an SSR rule, then trigger code actions:
// foo($a, $b) ==>> bar($b, $a)Actions appear: "Apply SSR in file" or "Apply SSR in workspace"
{
"command": "rust-analyzer.ssr",
"arguments": [{
"query": "foo($a) ==>> bar($a)",
"parseOnly": false
}]
}rust-analyzer ssr 'foo($a, $b) ==>> bar($b, $a)'Path Resolution: Paths match semantically. foo::Bar matches Bar if imported from foo.
Auto-qualification: Replacement paths are qualified appropriately for each insertion site.
Parenthesization: Automatic parens added when needed (e.g., $a + $b becoming ($a + $b).method()).
Comment Preservation: Comments within matched ranges are preserved.
SSR can match code inside macro expansions, but with an important restriction: all matched tokens must originate from the same source.
macro_rules! my_macro {
($x:expr) => {
foo($x, 42) // "42" comes from macro definition
};
}
my_macro!(bar); // "bar" comes from call siteThe expanded code is foo(bar, 42). Here:
bar originates from the call site (what the user wrote)foo, 42 originate from the macro definitionIf you search for foo($a, $b):
foo(bar, 42) because $a would capture bar (call site) but $b would capture 42 (definition site) — these cross the macro boundary.SSR can only generate edits for code the user actually wrote. If a match spans both user code and macro-generated code, SSR couldn't produce a valid edit — it would need to modify the macro definition, which is a different (and potentially shared) piece of code.
my_macro!(foo($a)) can match foo($a)my_macro!($x) workskind(literal) and not()foo ==>> bar) may be filtered if ambiguoususe declarations with braces$o.map_or(None, Some) ==>> $o$s.foo ==>> $s.barFoo { a: $a, b: $b } ==>> Foo { b: $b, a: $a }Vec<$t> ==>> SmallVec<[$t; 4]>crates/ide-ssr/src/ (in the rust-analyzer repo)crates/ide/src/ssr.rs (in the rust-analyzer repo)crates/ide-ssr/src/tests.rs (in the rust-analyzer repo)Cross-crate patterns you might want to run against the Rocky workspace:
# Find every place a SQL identifier is interpolated without validation
format!($fmt, $ident) ==>> /* audit: should go through rocky_sql::validation */
# Migrate an adapter trait method
Adapter::old_method($self, $arg) ==>> $self.new_method($arg)
# Swap the ordering of a tagged payload
RunOutput { tables_copied: $t, materializations: $m, ..$rest } ==>> RunOutput { materializations: $m, tables_copied: $t, ..$rest }Always dry-run with parseOnly: true or preview in the editor before applying workspace-wide — the multi-crate workspace makes a botched refactor expensive to back out.
© rocky-data, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in engine/.claude/skills/rust-analyzer-ssr of rocky-data/rocky.
Open the folder on GitHubat commit 46be77e
Rust Analyzer Ssr next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Rust Analyzer Ssr this skillrocky-data/rocky | 304 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Migrate Core Code to Submodulestinyhumansai/openhuman | 42k | — | ~2.6k | Automated safety check: Pass | GPL-3.0 | |
| Rust Best Practicesfarm-fe/farm | 5.6k | 3 repos | ~1.1k | Automated safety check: Pass | MIT | |
| RTK Rust Design Patternsrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| RTK Rust Code Simplifierrtk-ai/rtk | 83k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Rust Hygiene Audittsz-org/tsz | 577 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 |
tinyhumansai/openhuman
Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.
farm-fe/farm
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
rtk-ai/rtk
Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.
rtk-ai/rtk
Reviews RTK's Rust code for over-engineering and verbose patterns, applying idioms like iterator chains and early returns while protecting a specific list of constraints from being simplified away.
tsz-org/tsz
Run a deep DRY + code-hygiene audit of the Rust workspace and turn the findings into verified, deduplicated, hierarchical GitHub tech-debt issues.
mastra-ai/mastra
Authoring playbook for building agents that write, edit, review, or refactor code.
rocky-data/rocky
Fivetran REST API reference for Rocky's source adapter. An agent skill from rocky-data/rocky.
rocky-data/rocky
Databricks REST API and SQL reference for Rocky's warehouse adapter.
rocky-data/rocky
Rocky CLI JSON-output schema cascade. An agent skill from rocky-data/rocky.
rocky-data/rocky
Top-level router for Rocky development tasks. An agent skill from rocky-data/rocky.
rocky-data/rocky
Rocky DSL (.rocky file) cross-subproject cascade. An agent skill from rocky-data/rocky.
rocky-data/rocky
Adding a new warehouse or source adapter crate to the Rocky engine.
Works with
Categories
Use rust-analyzer's Structural Search and Replace (SSR) for semantic Rust code transformations across the engine workspace. Rust Analyzer Ssr is an agent skill from rocky-data/rocky. Use rust-analyzer's Structural Search and Replace (SSR) for semantic Rust code transformations across the engine workspace.
Rust Analyzer Ssr fits situations like: tasks that involve Refactoring.
Run `npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a claude-code`. Or copy the skill folder (engine/.claude/skills/rust-analyzer-ssr in rocky-data/rocky) into .claude/skills/rust-analyzer-ssr in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a codex`. Or copy the skill folder (engine/.claude/skills/rust-analyzer-ssr in rocky-data/rocky) into .agents/skills/rust-analyzer-ssr in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rocky-data/rocky --skill rust-analyzer-ssr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-analyzer-ssr, .gemini/skills/rust-analyzer-ssr, .github/skills/rust-analyzer-ssr and .opencode/skills/rust-analyzer-ssr in your project.
SKILL.md names no scripts, command-line tools or credentials: Rust Analyzer Ssr is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: gist.github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Rust Analyzer Ssr is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Rust Analyzer Ssr: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Rust Best Practices (farm-fe/farm, 5.6k stars), RTK Rust Design Patterns (rtk-ai/rtk, 83k stars) and RTK Rust Code Simplifier (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rocky-data (a GitHub organization) maintains it in rocky-data/rocky, which has 304 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 8, 2026.
Source: rocky-data/rocky on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.