Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .cursor/skills/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# TeaPie Skills

This directory contains skills for the TeaPie framework that extend AI agent capabilities when working with TeaPie projects.

## What are skills?

Skills are specialized knowledge and guides that help AI agents work more effectively with specific frameworks or technologies. The TeaPie skill provides comprehensive knowledge about the TeaPie framework, its syntax, CLI commands, test cases, and best practices.

## Using skills in a project

If you want to use the TeaPie skill in another project, the agent can download it from this directory. The agent will automatically determine the correct target location based on the IDE it's working in:

- **Cursor**: `.cursor/skills/teapie/`
- **VS Code**: `.github/skills/teapie/`
- **Other IDEs**: The agent will decide based on standard conventions for that IDE

## Prompt for agent to download skill

```text
Download the TeaPie skill from the GitHub repository into this project.

The skill is located at: https://github.com/Kros-sk/TeaPie/tree/master/.cursor/skills/teapie/

The agent should determine the target location based on the IDE it's working in:
- For Cursor: .cursor/skills/teapie/
- For VS Code: .github/skills/teapie/
- For other IDEs: use standard conventions for that IDE

Download the entire teapie directory (including SKILL.md and all subdirectories with their contents: references/, scripts/, templates/) from the GitHub repository and copy it to the correct target location in the project.
Comment on lines +20 to +29

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Avoid hard‑coding the branch in the download URL.

If the default branch changes, the link will go stale. Consider a branch-agnostic reference or wording.

🔧 Suggested doc tweak
-The skill is located at: https://github.com/Kros-sk/TeaPie/tree/master/.cursor/skills/teapie/
+The skill is located at: https://github.com/Kros-sk/TeaPie/tree/<default-branch>/.cursor/skills/teapie/
🤖 Prompt for AI Agents
In @.cursor/skills/README.md around lines 20 - 29, The README currently
hard-codes a branched URL to the teapie folder; change it to be branch‑agnostic
by instructing the agent to either clone the repository (git clone
https://github.com/Kros-sk/TeaPie.git) and copy the .cursor/skills/teapie/
directory (including SKILL.md and subdirectories references/, scripts/,
templates/) into the correct target location (.cursor/skills/teapie/ for Cursor,
.github/skills/teapie/ for VS Code, or the IDE-specific path for others), or
call the GitHub API to fetch the repository's default_branch before constructing
a /tree/{default_branch}/. Ensure README text and the sample link mention
cloning or resolving the default branch rather than embedding a fixed branch
name.

```

## TeaPie skill contents

The TeaPie skill contains:

- Framework overview and capabilities
- Reference documentation for CLI commands, directives, variables, and functions
- Guides for creating and running tests
- Best practices for writing test cases
- Examples and templates
Loading