Agent Skills › t4t5/rencal › local-caldir

local-caldir

GitHub

指导如何配置本地 caldir 源码进行开发测试,包括构建 Provider 和补丁 Cargo.toml 以使用本地 caldir-core。

.agents/skills/local-caldir/SKILL.md t4t5/rencal

Trigger Scenarios

测试未发布的 caldir-core 或 provider 变更 要求使用本地 caldir 或指向本地 checkout

Install

npx skills add t4t5/rencal --skill local-caldir -g -y
More Options

Non-standard path

npx skills add https://github.com/t4t5/rencal/tree/main/.agents/skills/local-caldir -g -y

Use without installing

npx skills use t4t5/rencal@local-caldir

指定 Agent (Claude Code)

npx skills add t4t5/rencal --skill local-caldir -a claude-code -g -y

安装 repo 全部 skill

npx skills add t4t5/rencal --all -g -y

预览 repo 内 skill

npx skills add t4t5/rencal --list

SKILL.md

Frontmatter
{
    "name": "local-caldir",
    "description": "Develop renCal against a local caldir checkout instead of the pinned release. Use when the user wants to test unreleased caldir-core or provider changes, or asks to \"use local caldir\" \/ \"point rencal at my caldir checkout\"."
}

Local caldir checkout

renCal pins caldir-core (crate) and the provider binaries (release tag) separately in src-tauri/Cargo.toml. To develop against a local checkout (../caldir by default):

  1. Providers: just build-providers-local [path] builds them from the checkout into src-tauri/providers/.

  2. caldir-core: create a gitignored .cargo/config.toml in the repo root that patches the crate (path is relative to the repo root):

    [patch.crates-io]
    caldir-core = { path = "../caldir/caldir-core" }
    

    This rewrites src-tauri/Cargo.lock; do not commit that change.

  3. Back to the pinned release: delete .cargo/config.toml and src-tauri/providers/. The next just dev re-downloads the pinned providers.

Version History

  • b1d450c Current 2026-09-22 03:34

Same Skill Collection

.agents/skills/add-astro-icon/SKILL.md
.agents/skills/add-icon/SKILL.md
.agents/skills/generate-release-notes/SKILL.md
.agents/skills/performance-analysis/SKILL.md

Metadata

Files
0
Version
2e6e3e3
Hash
5d9fedd8
Indexed
2026-09-22 03:34

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-28 08:37
浙ICP备14020137号-1