بنقرة واحدة
aiskills-guide
// Decision frameworks for using AI Skills effectively. When to invoke skills, how to compose them, and integration patterns.
// Decision frameworks for using AI Skills effectively. When to invoke skills, how to compose them, and integration patterns.
Comprehensive prompting guide for LTX-2 video generation model. Covers cinematic storytelling, camera language, character direction, dialogue formatting, visual styling, and audio descriptions. Master the art of crafting detailed, story-driven prompts that turn creative visions into stunning AI-generated videos.
Design and run A/B tests that produce valid, actionable results. Covers hypothesis design, sample size, metrics selection, and analysis.
Patterns for building LLM-powered agents that can reason, plan, and use tools. Covers agent architectures (ReAct, Plan-and-Execute), tool design, multi-agent systems, memory management, and production deployment considerations.
Set up analytics tracking that informs decisions. Covers GA4 implementation, event design, UTM strategy, and tracking plans.
REST API design principles and best practices. Use when designing new APIs, reviewing API contracts, or improving existing endpoints. Covers resource modeling, HTTP semantics, error handling, versioning, and documentation.
Software architecture patterns for building maintainable, scalable systems. Covers Clean Architecture, Domain-Driven Design, Hexagonal Architecture, microservices patterns, and CQRS/Event Sourcing. Use when designing new systems or refactoring existing codebases.
| name | aiskills-guide |
| version | 2.0.0 |
| description | Decision frameworks for using AI Skills effectively. When to invoke skills, how to compose them, and integration patterns. |
| license | MIT |
| allowed-tools | Read Edit |
| tags | ["meta","guide","skills","llm"] |
| category | meta |
| variables | {"integration_type":{"type":"string","description":"How you're integrating AI Skills","enum":["cli","api","mcp","sdk"],"default":"cli"}} |
| scope | {"triggers":["how to use skills","which skill","skill workflow","combine skills"]} |
You help decide when and how to use skills effectively.
SKILL DECISION:
Task type?
├── Best practices/patterns → Use skill
├── Architecture decisions → Use skill
├── Debugging complex issue → Use skill
├── Security review → Use skill
├── Simple factual question → Skip skill (LLM knows)
└── Trivial code fix → Skip skill
Skill exists for this domain?
├── Yes, good match → Use it
├── Partial match → Use with context
└── No match → LLM without skill
| Use Skill | Skip Skill |
|---|---|
| "Design API authentication" | "What is REST?" |
| "Debug memory leak" | "Fix this typo" |
| "Set up CI/CD pipeline" | "Run npm install" |
| "Review security posture" | "What port does HTTP use?" |
SEARCH MODE DECISION:
Query type?
├── Natural language ("help me optimize queries") → Semantic (default)
├── Specific terms ("kubernetes yaml") → Hybrid (--hybrid)
└── Exact match needed ("redis") → Text (--text)
Getting wrong results?
├── Too broad → Add specifics or use hybrid
├── Too narrow → Use semantic search
└── Missing skill → Check aiskills list
{% if integration_type == "cli" %}
# Find relevant skills
aiskills search "performance bottleneck"
aiskills search "kubernetes deployment" --hybrid
# Use skill with variables
aiskills use "debug python" --var issue_type=memory_leak
# Check available variables
aiskills vars python-debugging
# List all skills
aiskills list
{% elif integration_type == "api" %}
# Search
curl -X POST localhost:8000/skills/search \
-d '{"query": "debug python", "limit": 5}'
# Use
curl -X POST localhost:8000/skills/use \
-d '{"context": "debug memory leak", "variables": {"issue_type": "memory_leak"}}'
{% elif integration_type == "mcp" %}
Claude Desktop config:
{
"mcpServers": {
"ai-skills": {
"command": "aiskills",
"args": ["mcp", "serve"]
}
}
}
Available tools: skill_search, use_skill, skill_list, skill_read
{% elif integration_type == "sdk" %}
from aiskills import SkillRouter
router = SkillRouter()
# Search
results = router.search("python debugging", limit=5)
# Use with variables
result = router.use(
context="debug memory leak",
variables={"issue_type": "memory_leak"}
)
{% endif %}
COMPOSITION DECISION:
Task complexity?
├── Single domain → One skill
├── Multi-domain → Sequence of skills
└── Iterative → Same skill with different variables
Example sequences:
├── New feature: architecture → api-design → testing → security
├── Production issue: incident-response → debugging → logging
└── Code review: security → performance → code-review
| Pattern | Use When | Example |
|---|---|---|
| Sequential | Build on previous output | Design → Implement → Test |
| Parallel | Independent concerns | Security + Performance review |
| Conditional | Different paths | Error type → specific debug skill |
| Iterative | Refine approach | Same skill, adjusted variables |
Skills have variables that customize output. Always check them.
{% if integration_type == "cli" %}
aiskills vars <skill-name>
{% elif integration_type == "sdk" %}
skill = router.read("skill-name")
print(skill.variables)
{% endif %}
Common variable patterns:
| Variable | Affects | Example |
|---|---|---|
language | Code examples | python, typescript |
focus | Content depth | specific area |
level | Complexity | beginner, advanced |
context | Environment | local, production |
Define use_skill as a tool the LLM can call:
Prepend skill content to prompt:
| Scenario | Cache? | Why |
|---|---|---|
| Same query repeated | Yes | Avoid redundant search |
| Interactive session | Session | Variables may change |
| Production API | Yes | Reduce latency |
| Development | No | See fresh content |
| Problem | Cause | Fix |
|---|---|---|
| No skills found | Not installed | aiskills list |
| Wrong skill matched | Vague query | Be specific, use --hybrid |
| Low relevance score | Query mismatch | Rephrase, check categories |
| Variables not applied | Wrong names | aiskills vars <skill> |
DO:
DON'T:
skill-creator - How to write effective skills