Initial commit

This commit is contained in:
Ryan Ward
2026-04-29 10:43:20 -05:00
parent b7b327510d
commit d8d4ac9e5d
28 changed files with 211 additions and 83 deletions
@@ -197,7 +197,7 @@ fn extract_skill_parent_directory_different_providers() {
return;
};
let repo = home_dir.join("repo");
let providers = [".warp", ".claude", ".codex", ".cursor", ".gemini"];
let providers = [".warp-core", ".claude", ".codex", ".cursor", ".gemini"];
for provider in providers {
let path = repo
.join(provider)
@@ -21,7 +21,7 @@ fn write_skill_file(path: &Path, name: &str, description: &str, body: &str) -> R
#[test]
fn resolve_from_skill_dirs_by_directory_scan_resolves_home_skill_dir() -> Result<()> {
let temp_dir = tempfile::TempDir::new().context("Failed to create temp dir")?;
let skill_dir = temp_dir.path().join(".warp").join("skills");
let skill_dir = temp_dir.path().join(".warp-core").join("skills");
let skill_path = skill_dir.join("my-skill").join("SKILL.md");
write_skill_file(
+1 -1
View File
@@ -60,7 +60,7 @@ fn try_insert_skill(
///
/// Two skills are considered duplicates only when they share the same owning directory
/// **and** identical content — which is the common case when a tool like `npx skills`
/// symlinks the same skill under `~/.agents/skills/`, `~/.warp/skills/`, `~/.claude/skills/`, etc.
/// symlinks the same skill under `~/.agents/skills/`, `~/.warp-core/skills/`, `~/.claude/skills/`, etc.
///
/// Each element of `skill_paths` is a `(dir_path, skill_file_path)` tuple where
/// `dir_path` is the directory that owns the skill.