lean-ctx-engine 3.12.3

LeanCTX | OSS library: the open-source runtime for the Context Gateway for AI agents behind the lean-ctx CLI, MCP server and proxy integrations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: Apache-2.0
//! Agent instruction templates the hook installers write (crate
//! lean-ctx-hooks). They live with the engine's other templates
//! (`rust/src/templates`), so every crate that ships them embeds the same
//! bytes from inside its own package.

/// The lean-ctx skill (`SKILL.md`) installed for Claude Code and CodeBuddy.
pub const SKILL_MD: &str = include_str!("../templates/SKILL.md");
/// The skill's install helper script.
pub const SKILL_INSTALL_SH: &str = include_str!("../templates/skill_install.sh");
/// Pi agent rules for MCP and hybrid hook modes.
pub const PI_AGENTS_MD: &str = include_str!("../templates/PI_AGENTS.md");
/// Pi agent rules for replace hook mode.
pub const PI_AGENTS_REPLACE_MD: &str = include_str!("../templates/PI_AGENTS_REPLACE.md");
/// Windsurf rules file.
pub const WINDSURF_RULES: &str = include_str!("../templates/windsurfrules.txt");