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.
Runs formatting/lint/test/semver checks before publishing. An agent skill from cmpute/dashu.
$ npx skills add cmpute/dashu --skill pre-publish-check -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cmpute/dashu pre-publish-check --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/cmpute/dashu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pre-publish-check .claude/skills/pre-publish-check && 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 "pre-publish-check" agent skill from https://github.com/cmpute/dashu/tree/master/.claude/skills/pre-publish-check into .claude/skills/pre-publish-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-publish-check", 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/cmpute/dashu/tree/master/.claude/skills/pre-publish-checkType 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 cmpute/dashu --skill pre-publish-check -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cmpute/dashu pre-publish-check --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cmpute/dashu.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/pre-publish-check .agents/skills/pre-publish-check && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pre-publish-check" agent skill from https://github.com/cmpute/dashu/tree/master/.claude/skills/pre-publish-check into .agents/skills/pre-publish-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-publish-check", 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 cmpute/dashu --skill pre-publish-check -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cmpute/dashu pre-publish-check --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cmpute/dashu.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/pre-publish-check .cursor/skills/pre-publish-check && 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 "pre-publish-check" agent skill from https://github.com/cmpute/dashu/tree/master/.claude/skills/pre-publish-check into .cursor/skills/pre-publish-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-publish-check", 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/cmpute/dashu.git --path .claude/skills/pre-publish-check--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 cmpute/dashu --skill pre-publish-check -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cmpute/dashu pre-publish-check --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cmpute/dashu.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/pre-publish-check .gemini/skills/pre-publish-check && 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 "pre-publish-check" agent skill from https://github.com/cmpute/dashu/tree/master/.claude/skills/pre-publish-check into .gemini/skills/pre-publish-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-publish-check", 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 cmpute/dashu pre-publish-checkInstalls 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 cmpute/dashu --skill pre-publish-check -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cmpute/dashu.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/pre-publish-check .github/skills/pre-publish-check && 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 "pre-publish-check" agent skill from https://github.com/cmpute/dashu/tree/master/.claude/skills/pre-publish-check into .github/skills/pre-publish-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-publish-check", 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 cmpute/dashu --skill pre-publish-check -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cmpute/dashu pre-publish-check --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cmpute/dashu.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/pre-publish-check .opencode/skills/pre-publish-check && 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 "pre-publish-check" agent skill from https://github.com/cmpute/dashu/tree/master/.claude/skills/pre-publish-check into .opencode/skills/pre-publish-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-publish-check", 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.
pre-publish-checkRuns formatting/lint/test/semver checks before publishing. An agent skill from cmpute/dashu.
Pre Publish Check is an agent skill from cmpute/dashu. Runs formatting/lint/test/semver checks before publishing. This skill should be used when the user asks to "publish dashu", "publish a sub-crate", "do pre-publish checks", "prepare a release", "cut a release", "bump the version", "check before publishing", or mentions publishing/releasing a new version of dashu or any sub-crate (dashu-base, dashu-int, dashu-float, dashu-ratio, dashu-macros).
Its SKILL.md is about 3.1k 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. It works with Rust. The repository describes itself as: A library set of arbitrary precision numbers implemented in Rust. The licence is Apache-2.0.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit aadb058. 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.
Shell commands in SKILL.md call:
cargogitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From 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.
Pre Publish Check loads about 3.1k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 1,478 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 cmpute/dashu at commit aadb058, republished under its Apache-2.0 licence (© cmpute). 1,478 words, ~3,068 tokens.
.claude/skills/pre-publish-check/SKILL.md (or your agent's skills folder).Run a consistent set of checks before publishing dashu (the meta crate) or any sub-crate to crates.io. Fail loudly on any regression that would break downstream users or violate the project's release policy.
dashu (meta, at repo root), base/, integer/, float/, rational/, macros/. python/ is not published and is excluded from workspace commands with --exclude dashu-python.0.4.x today). Minor and patch may differ — dashu-float is at 0.4.4 while the others are at 0.4.2.Cargo.toml pins the path and the version range of its dashu-internal dependencies. When sub-crate X bumps its version, every crate that depends on X (including the meta crate) must have its version requirement updated to >= the new version of X.rust-version = "1.68" in every Cargo.toml and in the README badge (MSRV 1.68). MSRV bumps are breaking changes and require a major version bump or an explicit policy exception (see CHANGELOG history for the 1.61 → 1.68 bump pattern).CHANGELOG.md with an ## Unreleased section. The meta dashu crate does not have a CHANGELOG — it follows the sub-crates.rand_v08, num-traits_v02, diesel_v2, postgres-types_v02) with an unversioned alias that points to the latest. Adding a new major-version dependency means adding a new versioned feature.# Examples blocks) on every public API are mandatory and are exercised by cargo test --doc.Inspect the user's prompt for both pieces of information:
dashu, dashu-base, dashu-int, dashu-float, dashu-ratio, dashu-macros, or all.0.4.5, 0.5.0).If either is missing, use AskUserQuestion to ask. Ask at most two questions in a single call:
dashu (meta), all sub-crates + meta.0.4.2, offer 0.4.3 (patch), 0.5.0 (minor — note pre-1.0 minor acts like major in SemVer), 0.4.x (let user specify).Pre-1.0 SemVer rule for this project: since the major version is 0, a minor bump (0.4.x → 0.5.0) is the breaking-change release (acts like a major bump). A patch bump (0.4.2 → 0.4.3) only allows backward-compatible additions and fixes — no removals, no signature changes, no MSRV bumps.
Run git log <last-release-tag>..HEAD --oneline and read each affected crate's CHANGELOG.md ## Unreleased section. Cross-reference the changelog against the SemVer rule:
Change in ## Unreleased | Required bump |
|---|---|
### Remove of a public item, or ### Change of a public signature | minor (since major is 0) |
### Add (new public items, additive) | patch OK |
### Fix (bug fix preserving API) | patch OK |
### Improve (perf/internal) | patch OK |
| MSRV bump (any magnitude) | minor + explicit ## Unreleased note |
If the user-provided target version is smaller than what the diff requires, halt and report. If it is larger (e.g., user wants 0.5.0 but only patch-level changes are listed), warn and ask for confirmation — they may know about an additional breaking change not yet in the changelog.
Run these from the repo root. All must pass:
# Format check (no fix — surface the diff so the user decides)
cargo fmt --all -- --check
# Clippy on 64-bit Word (warnings are errors)
cargo clippy --all-features --all-targets --workspace --exclude dashu-python -- -D warnings
# Clippy on 32-bit Word (the NTT module has 32-bit-specific paths)
RUSTFLAGS='--cfg force_bits="32"' cargo clippy --all-features --all-targets --workspace --exclude dashu-python -- -D warnings
# Check + tests with all features (matches CI)
cargo check --all-features --tests
cargo test --workspace --exclude dashu-python --all-features --no-fail-fast
# no_std path — ensures default code paths do not pull in std
cargo test --no-default-features --features rand --workspace --exclude dashu-pythonReport any failure verbatim. Do not auto-fix unless the user asks — these checks gate the release, so the user must own the fix.
For each crate being published (and any crate whose version is bumped as a dependency side-effect):
<crate>/CHANGELOG.md.## Unreleased exists and is non-empty.git log <last-tag-for-crate>..HEAD -- <crate>/ to find commits that touched the crate.rust-version changed (see Step 6).If a crate's ## Unreleased is empty or missing entries, halt with a list of uncovered commits.
Use cargo-semver-checks to compare the working tree against the currently-published version on crates.io. Bump the version in <crate>/Cargo.toml first — the tool picks its crates.io baseline from the version declared there, so running it before the bump compares against the wrong version (often the same one):
# Install if missing
cargo install cargo-semver-checks --locked
# Run against the specific crate(s) being released
cargo semver-checks check-release --package <crate-name> --verboseInterpret the output against the project's pre-1.0 SemVer rule:
major or minor finding from semver-checks is a hard failure.major/minor findings are allowed but each must correspond to an entry under ### Remove or ### Change in the changelog. Unlisted breakage is a hard failure.If cargo-semver-checks is unavailable (e.g., MSRV-incompatible), fall back to a manual public-API diff:
# Install if missing
cargo install cargo-public-api --locked
# Compare current against the published version
cargo public-api --package <crate-name> diff <published-version>Review the diff manually using the same rules.
For each crate being published:
rust-version in <crate>/Cargo.toml against the version on master (or the last release tag). Use git show <last-tag>:<crate>/Cargo.toml | grep rust-version.rust-version changed:## Unreleased section explicitly mentions the MSRV bump (e.g., "Bump MSRV from 1.61 to 1.68" — match the wording used in past entries).MSRV 1.68 in the root README.md) matches the new value..github/workflows/tests.yml still tests the new MSRV (the rust: [stable, "1.85", "1.68"] matrix and the drop_incompatible_deps_for_msrv.py invocation)..github/workflows/drop_incompatible_deps_for_msrv.py is still correct for the new MSRV — new deps may need to be stripped for MSRV builds.When publishing sub-crate X with new version V:
Cargo.toml depends on X must be updated so that version = "..." accepts V. Use grep -rn 'dashu-X = ' */Cargo.toml Cargo.toml to find all references.version = "..." for X to the exact new version (e.g., dashu-float = { version = "0.4.5", ... }).0.4.2 → 0.4.5), but Y's own version stays put. This is a real scenario — for example, when dashu-float shipped 0.4.4 while siblings stayed at 0.4.2.dashu crate at the repo root depends on every sub-crate. Its Cargo.toml must list version requirements that accept each new sub-crate version.cargo update -p <crate-name> and cargo build --workspace --exclude dashu-python to confirm everything resolves.Verify project invariants documented in AGENTS.md:
std. Confirm with cargo build --no-default-features --workspace --exclude dashu-python for each crate.rand_v08) plus an unversioned alias. Adding rand (unversioned) without a versioned variant is a violation.# Examples section. Run cargo test --doc --workspace --exclude dashu-python --all-features to confirm examples compile and pass.fn_call_width = 80 is set in rustfmt.toml. Long call sites that exceed this should be split — Step 3's cargo fmt --check already enforces this.dashu-python is excluded from workspace tests and clippy. Never remove the --exclude dashu-python flag from any workspace command.For each crate being published, run cargo publish --dry-run --allow-dirty --features <all-features-for-this-crate> -p <crate-name> from the repo root. Resolve any errors before the actual publish.
Produce a checklist summary with one section per crate:
## dashu-float 0.4.5
- [x] fmt clean
- [x] clippy clean (64-bit and 32-bit)
- [x] tests pass (all-features and no-std)
- [x] CHANGELOG Unreleased matches commits since 0.4.4
- [x] semver-checks: 0 violations (patch-level changes only)
- [x] MSRV unchanged at 1.68
- [x] downstream deps updated: dashu-ratio/Cargo.toml, dashu-macros/Cargo.toml, dashu (meta)
- [x] cargo publish --dry-run succeededHalt the release and surface the failure if any box is unchecked. Do not run cargo publish for real — that is a human action. After the report, suggest the user run cargo publish -p <crate> themselves (or via ! cargo publish -p <crate> in this session).
--exclude dashu-python: dashu-python is in early development; workspace commands fail without the exclude.--cfg force_bits="32" (the default) and without.dashu-base version pin drift: dashu-int pins dashu-base = "0.4.1" (older than the others' 0.4.2). This is intentional but easy to miss when bumping versions. Re-read every cross-crate pin in Step 7.© cmpute, 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 .claude/skills/pre-publish-check of cmpute/dashu.
Open the folder on GitHubat commit aadb058
Pre Publish Check 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 |
|---|---|---|---|---|---|---|
| Pre Publish Check this skillcmpute/dashu | 142 | — | ~3.1k | 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 | |
| OpenLogi macOS Permissions TriageAprilNEA/OpenLogi | 23k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| RTK Rust Design Patternsrtk-ai/rtk | 83k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Release Skillsnexmoe/eve | 421 | 3 repos | ~3.3k | Automated safety check: Pass | None |
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.
AprilNEA/OpenLogi
Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.
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.
nexmoe/eve
Universal release workflow. An agent skill from nexmoe/eve.
teambit/bit
Work on the pnpm Rust engine (@pnpm/napi, the pacquet crates) that bit install runs through.
cmpute/dashu
This skill should be used when the user asks to "support a trait from another crate", "implement a third-party trait", "add an integration for crate X", "add num-traits / serde / rand / ...
Works with
Categories
Runs formatting/lint/test/semver checks before publishing. An agent skill from cmpute/dashu. Pre Publish Check is an agent skill from cmpute/dashu. Runs formatting/lint/test/semver checks before publishing.
Pre Publish Check fits situations like: asks to publish dashu; publish a sub-crate; do pre-publish checks; prepare a release.
Run `npx skills add cmpute/dashu --skill pre-publish-check -a claude-code`. Or copy the skill folder (.claude/skills/pre-publish-check in cmpute/dashu) into .claude/skills/pre-publish-check in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cmpute/dashu --skill pre-publish-check -a codex`. Or copy the skill folder (.claude/skills/pre-publish-check in cmpute/dashu) into .agents/skills/pre-publish-check 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 cmpute/dashu --skill pre-publish-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pre-publish-check, .gemini/skills/pre-publish-check, .github/skills/pre-publish-check and .opencode/skills/pre-publish-check in your project.
Going by SKILL.md and its folder, Pre Publish Check needs the command-line tools its instructions call (cargo and git). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Pre Publish Check 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 3.1k tokens (SKILL.md is roughly 12k 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 Pre Publish Check: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Rust Best Practices (farm-fe/farm, 5.6k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars) and RTK Rust Design Patterns (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cmpute (a GitHub user) maintains it in cmpute/dashu, which has 142 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 4, 2026.
Source: cmpute/dashu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.