Agent Skillst4t5/rencal › local-caldir

local-caldir

GitHub

指导将 renCal 指向本地 caldir 源码进行开发测试,通过修改 Cargo 配置和构建脚本来替换依赖,支持验证未发布的核心或提供商变更。

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

Trigger Scenarios

用户希望使用本地 caldir 版本 需要测试 unreleased 的 caldir-core 或 provider 变更 要求 'use local caldir' 或 'point rencal at my 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
b1d450c
Hash
5d9fedd8
Indexed
2026-09-22 03:34

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-22 05:29
浙ICP备14020137号-1