CWD Test Skill

Run a Skill from its current directory using YAML frontmatter metadata.

Updated Mar 27, 2022
One-click install
npx skills add https://github.com/emliunix/home.conf --skill cwd-test-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: CWD Test Skill
Source: https://github.com/emliunix/home.conf/tree/main/tskill/tests/fixtures/test_cwd_repo/skills/test_skill
Command: npx skills add https://github.com/emliunix/home.conf --skill cwd-test-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables activation of a Skill from its own directory to avoid ambiguity about which instance to run.

Core Features & Use Cases

  • Local, self-contained activation from the skill's folder.
  • Simple validation of frontmatter-driven metadata (name and description).
  • Lightweight testing use case for directory-scoped Skill discovery.

Quick Start

Navigate to the skill's directory and activate it to load its guidance and run the default workflow.

Frequently Asked Questions about CWD Test Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a skill from its current directory to avoid path ambiguity?

To run a skill from its current directory, navigate to the folder containing the skill and activate it locally. This directory-based activation loads guidance from the SKILL.md file, ensuring the correct instance executes when multiple copies exist.

What is directory-scoped skill discovery and when do I need it?

Directory-scoped skill discovery is the process of activating a skill directly from its own folder. You need it for modular projects where each skill resides in its own directory, preventing confusion when multiple copies of a skill exist.

How do I validate YAML frontmatter for local skill testing?

Validating YAML frontmatter for local skill testing involves checking the SKILL.md file for required name and description fields. This simple validation ensures the skill metadata is properly formatted before directory-based activation.

Does local skill activation work with modular project structures?

Yes, local skill activation works specifically with modular project structures where each skill resides in its own folder. It enables self-contained activation by reading the SKILL.md file and optional sibling files like scripts and assets.

Why does path ambiguity occur when running multiple skill copies?

Path ambiguity occurs when multiple copies of a skill exist because the system cannot determine which instance to execute. Directory-based activation resolves this by running the skill directly from its current folder location.