Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

to-prompt提示

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

1,956

周安装

84

GitHub Stars

323

下载量

685
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:to-prompt(提示)
来源仓库:https://github.com/pedronauck/skills
仓库路径:skills/to-prompt
安装命令:
npx skills add https://github.com/pedronauck/skills --skill to-prompt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pedronauck/skills --skill to-prompt

简介

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。

  • 适合规范任务边界、统一输出格式或优化提示词可复用性。
  • 使用时需保留真实业务约束,不要把示例当硬规则。
  • 涉及自动执行或外部工具时,应在提示词中明确确认步骤和失败处理方式。
  • to-prompt 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

To Prompt

Transform code, issues, or context into detailed prompts for another LLM to fix or implement.

Overview

This skill helps create comprehensive, context-rich prompts for external LLM assistance. The goal is to provide all necessary context about the problem, current state, and requirements without prescribing implementation approaches. The receiving LLM decides how to implement the solution based on the context provided.

Core Principles

Task Type Guidance

Bug Fix

When transforming a bug fix task, ensure the prompt includes:

  • Reproduction steps: Exact steps to reproduce the bug consistently
  • Error messages and logs: Complete error messages, stack traces, console logs, and any diagnostic output
  • Current behavior: What actually happens when the bug occurs
  • Expected behavior: What should happen instead
  • Environment context: OS, browser, Node version, dependencies versions, configuration
  • Recent changes: What changed recently that might have introduced the bug (git history, recent commits)
  • Affected code: Show the current implementation of code paths involved in the bug
  • Related components: Files, modules, or systems that interact with the buggy code
  • Regression tests: Current tests (if any) and what regression tests should be written to prevent the bug from recurring
  • Impact: Who/what is affected by this bug and severity

Improvement

When transforming an improvement task, ensure the prompt includes:

  • Current state: Detailed description of how things work now
  • Current implementation: Code showing the existing approach
  • What needs improvement: Specific aspects that need enhancement (performance, maintainability, usability, etc.)
  • Constraints: Technical constraints, backward compatibility requirements, or limitations
  • Success criteria: How to measure if the improvement is successful
  • Related code: Files and modules that will be affected
  • Dependencies: External libraries, APIs, or systems involved
  • User impact: How users will benefit from the improvement
  • Non-goals: What should NOT be changed or improved

Feature

When transforming a feature task, ensure the prompt includes:

  • Requirements: Complete functional requirements and user stories
  • Current system context: How the system works now and where the feature fits
  • Integration points: Where the feature connects with existing code
  • Data models: Current data structures and what needs to be added/modified
  • API contracts: Existing APIs and what new endpoints or methods are needed
  • User flows: How users will interact with the feature
  • Edge cases: Boundary conditions and special scenarios to consider
  • Constraints: Technical, business, or design constraints
  • Dependencies: External services, libraries, or systems required
  • Testing requirements: What needs to be tested (unit, integration, E2E)

What NOT to Include

  • Implementation suggestions or "how to fix" instructions
  • Example solutions or code patterns to follow
  • Step-by-step implementation guides
  • Prescribed approaches or methodologies
  • "Before/after" code examples showing solutions

Usage

When asked to transform code, issues, or context into a prompt:

  1. Gather comprehensive context: Collect all relevant information about the problem, current state, and requirements
  2. Show current code: Include code snippets to illustrate the current implementation, structure, or problem areas
  3. Describe the problem: Clearly explain what needs to be fixed, improved, or implemented
  4. Provide context: Include environment details, related components, dependencies, and constraints
  5. Avoid solutions: Do not include implementation suggestions, examples, or step-by-step guides
  6. Focus on "what": Describe the problem, requirements, and current state, not how to solve it

The resulting prompt should be comprehensive enough for another LLM to understand the full context and decide on the best implementation approach independently.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.84%
按下载量换算246

Claude

32.43%
按下载量换算222

Cursor

17.46%
按下载量换算120

Gemini CLI

9.67%
按下载量换算66

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills