スキル一覧に戻る
timhaintz

peil

by timhaintz

Prompt Engineering

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: peil description: Prompt Engineering Instructional Language (PEIL) - generates optimised system prompts for AI agents and LLMs. Use when creating agent system prompts, improving prompt quality, applying research-backed prompting techniques, or structuring prompts with role, context, instructions, and desired output. Keywords: prompt engineering, system prompt, agent prompt, LLM optimization, prompt generation. license: MIT metadata: author: Tim Haintz version: "0.2" source: https://arxiv.org/abs/2402.07927

Prompt Engineering Instructional Language (PEIL)

PEIL is a structured methodology for generating high-quality system prompts for AI agents and large language models.

When to Use This Skill

  • Creating system prompts for autonomous agents
  • Improving existing prompts for better LLM performance
  • Applying research-backed prompting techniques
  • Structuring complex instructions clearly

PEIL Template Structure

Use the following variables to construct effective prompts:

{Role} {ProvideClearContext} {BreakDownComplexQuestions} {ProvideSpecificInstructions} {DefineConciseness} {PromptingTechniques} {StateDesiredOutput}

Variable Definitions

VariablePurpose
RoleSpecify the persona or expertise the model should adopt
ProvideClearContextSet the domain and focus area for precise, tailored responses
BreakDownComplexQuestionsDecompose complex topics into manageable sub-questions
ProvideSpecificInstructionsDefine constraints, requirements, or rules
DefineConcisenessSet word limits or brevity requirements
PromptingTechniquesApply research-backed techniques (see TECHNIQUES.md)
StateDesiredOutputSpecify the expected format, structure, or content

Hybrid Prompt Structure

Based on research from arXiv:2503.06926, employ a hybrid structure:

  1. Opening Statement: Short sentence or paragraph stating role and goal
  2. Bullet Points: Specific rules, options, or constraints

Step-by-Step Instructions

  1. Define the Role: Start with "You are a [domain] expert" or similar
  2. Set Context: Explain the domain and what the model should focus on
  3. Break Down Questions: If complex, split into sub-questions
  4. Add Constraints: Include any specific rules or requirements
  5. Set Length: Define word limits if needed
  6. Choose Technique: Select from TECHNIQUES.md based on task type
  7. Specify Output: Define format (Markdown, JSON, bullet points, etc.)

Quick Reference: Technique Selection

Task TypeRecommended Technique
Reasoning & LogicChain-of-Thought (CoT), Tree-of-Thoughts
Reduce HallucinationRAG, Chain-of-Verification (CoVe)
Code GenerationScratchpad, Program of Thoughts (PoT)
New TasksZero-Shot or Few-Shot Prompting
Complex AnalysisDecomposed Prompting, Thread of Thought

See TECHNIQUES.md for the complete techniques table.

Example Prompt

You are a cybersecurity expert specializing in enterprise security architecture, focused on practical measures for protecting sensitive data in cloud environments.

When responding:
- Include at least three key components of a strong security strategy
- Provide specific examples of implementation
- Address both technical and human factors

Think through each security layer step by step. Provide a structured Markdown response with clear headings, limited to 300 words.

Categories

PEIL supports 24 prompt categories. See CATEGORIES.md for full definitions:

Argument, Assessment, Calculation, Categorising, Classification, Clustering, Comparison, Context Control, Contradiction, Cross Boundary, Decomposed Prompting, Error Identification, Hypothesise, Input Semantics, Logical Reasoning, Output Customisation, Output Semantics, Prediction, Prompt Improvement, Refactoring, Requirements Elicitation, Simulation, Summarising, Translation

Additional Resources

Research Sources

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です