prompt-engineering-advanced

Craft deterministic, token-efficient prompts and structured reasoning pipelines for complex LLM tasks.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/KrystianYCSilva/math-theory-lib --skill prompt-engineering-advanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-engineering-advanced
Source: https://github.com/KrystianYCSilva/math-theory-lib/tree/main/.codex/skills/prompt-engineering-advanced
Command: npx skills add https://github.com/KrystianYCSilva/math-theory-lib --skill prompt-engineering-advanced

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps practitioners craft deterministic, token-efficient prompts and structured reasoning pipelines to produce reliable, repeatable LLM outputs for complex tasks that require multi-step reasoning.

Core Features & Use Cases

  • Advanced Reasoning Strategies: Practical guidance for Chain-of-Thought, Tree-of-Thought, Self-Consistency, and ReAct patterns to force or evaluate intermediate reasoning.
  • Prompt Structure Frameworks: Copy-ready templates and guidance for RICE and CRISPE frameworks to specify role, instructions, context, and examples for persona-heavy or engineering tasks.
  • Context Optimization: Techniques for context compression, delimiters, and reference anchoring to reduce token usage and improve model focus.
  • Use Case: Ideal for designing prompts to refactor code, evaluate architectural options, generate technical analyses, or produce multi-path solutions that require evaluation and selection.

Quick Start

Use the prompt-engineering-advanced skill to create a RICE-structured prompt that asks the model to think step-by-step and propose three alternative solutions with pros and cons.

Frequently Asked Questions about prompt-engineering-advanced

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

FAQPage Schema
How do I use chain-of-thought prompting for complex multi-step reasoning tasks?

The RICE framework structures prompts by defining Role, Instruction, Context, and Examples to produce deterministic LLM outputs. It provides copy-ready templates that specify persona-driven instructions and context for engineering tasks.

What is the best way to reduce token usage in prompt engineering?

Context optimization techniques like context compression, delimiters, and reference anchoring reduce token usage while improving model focus. These methods ensure token-efficient prompts without losing necessary context for complex reasoning tasks.

How does self-consistency evaluation improve LLM response reliability?

Self-consistency evaluation generates multiple reasoning paths and selects the most consistent answer, improving response reliability. This approach evaluates intermediate reasoning across different paths to ensure high-quality, repeatable LLM outputs.

Can I use tree-of-thought prompting for architectural evaluation tasks?

Tree-of-thought prompting is ideal for evaluating architectural options, generating technical analyses, and producing multi-path solutions. It enables the model to explore multiple reasoning branches with pros and cons before selecting the optimal outcome.

Do I need external runtime dependencies to implement advanced prompt templates?

No external runtime dependencies are required to implement advanced prompt templates. The framework provides reusable structures for RICE and CRISPE patterns, context compression, and reasoning pipelines entirely self-contained.