pinme-share
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePinMe Share
PinMe 分享
Create a polished static share artifact, upload it with , and return the final URL.
pinme upload创建精美的静态分享制品,使用上传,并返回最终URL。
pinme uploadWhen to Use
使用场景
Use this skill when the user asks to:
- Share or publish a result using PinMe.
- Create a static page that wraps a deployed project link, demo, report, or artifact.
- Summarize a Codex conversation/session and share it as a page.
- Turn a project handoff into a public landing or summary page.
- Upload an existing static file or folder for lightweight distribution.
If the user needs a backend, database, auth, email, or LLM functionality, use the main skill and any relevant PinMe integration skill first. Use at the end to package and publish the result.
pinmepinme-share当用户提出以下需求时使用此技能:
- 使用PinMe分享或发布成果。
- 创建静态页面来包装已部署的项目链接、演示、报告或制品。
- 总结Codex对话/会话并以页面形式分享。
- 将项目交接内容转换为公开的着陆页或摘要页。
- 上传现有的静态文件或文件夹进行轻量级分发。
如果用户需要后端、数据库、认证、邮件或LLM功能,请先使用主技能及任何相关的PinMe集成技能。在最后使用来打包并发布成果。
pinmepinme-shareCore Workflow
核心工作流
- Identify what is being shared:
- PinMe/full-stack project: deployed URL, short description, key features, tech stack, usage notes.
- Codex conversation: goal, decisions, implementation summary, important outputs, next steps.
- Static file/report/demo: title, purpose, file contents or preview, context for the recipient.
- Create a static share artifact:
- Prefer a single self-contained .
index.html - Use in the current workspace unless the repo has an existing output/share convention.
share/<slug>/index.html - Keep CSS inline for portability.
- Do not require JavaScript unless interaction is valuable.
- Prefer a single self-contained
- Sanitize before publishing:
- Remove secrets, tokens, API keys, values, internal-only URLs, private user data, and unrelated logs.
.env - For conversation summaries, summarize rather than dumping raw transcript unless the user explicitly asks for verbatim sharing.
- Make links explicit and clickable.
- Remove secrets, tokens, API keys,
- Upload with PinMe:
bash
pinme upload share/<slug> - Return the URL printed by PinMe. If PinMe outputs multiple URLs, prefer DNS domain, then PinMe subdomain, then short URL, then full preview URL. Never truncate hash fragments.
- 确定要分享的内容:
- PinMe/全栈项目:已部署URL、简短描述、核心功能、技术栈、使用说明。
- Codex对话:目标、决策、实现摘要、重要输出、后续步骤。
- 静态文件/报告/演示:标题、用途、文件内容或预览、收件人相关背景信息。
- 创建静态分享制品:
- 优先选择单一自包含的文件。
index.html - 使用当前工作区中的,除非仓库已有现有的输出/分享约定。
share/<slug>/index.html - 为了可移植性,将CSS内联使用。
- 除非需要交互功能,否则不要依赖JavaScript。
- 优先选择单一自包含的
- 发布前清理内容:
- 删除密钥、令牌、API密钥、值、仅限内部访问的URL、用户私有数据以及无关日志。
.env - 对于对话摘要,进行总结而非直接转储原始记录,除非用户明确要求逐字分享。
- 确保链接明确且可点击。
- 删除密钥、令牌、API密钥、
- 使用PinMe上传:
bash
pinme upload share/<slug> - 返回PinMe输出的URL。如果PinMe输出多个URL,优先选择DNS域名,其次是PinMe子域名,然后是短URL,最后是完整预览URL。切勿截断哈希片段。
Share Page Content
分享页内容
For a project share page, include:
- Project name and one-sentence description.
- Primary launch/demo link as the first action.
- What it does, who it is for, and why it matters.
- Feature list focused on user-visible behavior.
- Build/deploy details only when useful to the recipient.
- Date and provenance such as "Created with Codex" only if appropriate.
For a conversation share page, include:
- Conversation title.
- Initial goal or question.
- Key context and constraints.
- Decisions made.
- Work completed or answer summary.
- Files changed, commands run, links produced, or artifacts created when relevant.
- Follow-up items.
For a file/report share page, include:
- Clear title and short abstract.
- Download/open link to the uploaded artifact if there is a separate file.
- Important excerpts or generated summary.
- Source/context notes.
项目分享页应包含:
- 项目名称和一句话描述。
- 将主要启动/演示链接作为首个操作项。
- 功能介绍、目标用户及价值所在。
- 聚焦用户可见功能的特性列表。
- 仅在对收件人有用时才包含构建/部署细节。
- 仅在合适时添加日期和来源信息,例如“由Codex创建”。
对话分享页应包含:
- 对话标题。
- 初始目标或问题。
- 关键背景和约束条件。
- 已做出的决策。
- 已完成的工作或答案摘要。
- 相关的文件变更、执行的命令、生成的链接或创建的制品。
- 后续待办事项。
文件/报告分享页应包含:
- 清晰的标题和简短摘要。
- 如果存在单独文件,添加上传制品的下载/打开链接。
- 重要摘录或生成的摘要。
- 来源/背景说明。
HTML Guidelines
HTML指南
- Build a real share page, not a generic placeholder.
- Make the most important link visible in the first viewport.
- Use clean, responsive HTML/CSS that works as a standalone static file.
- Keep the design restrained and readable; avoid overdecorated marketing layouts for technical handoffs.
- Use semantic sections, accessible contrast, descriptive link text, and sensible mobile spacing.
- Escape user-provided text before inserting it into HTML.
- If showing code or command output, wrap it in and keep it short.
<pre><code>
- 创建真实的分享页,而非通用占位符。
- 最重要的链接要在首屏可见。
- 使用简洁、响应式的HTML/CSS,可作为独立静态文件运行。
- 设计要简洁易读;技术交接场景避免过度装饰的营销布局。
- 使用语义化区块、符合无障碍标准的对比度、描述性链接文本以及合理的移动端间距。
- 将用户提供的文本插入HTML前进行转义处理。
- 如果展示代码或命令输出,将其包裹在标签中并保持内容简短。
<pre><code>
PinMe Upload Checklist
PinMe上传检查清单
Before upload:
bash
pinme --versionIf PinMe is missing or stale, install or update it according to the main skill. Authentication is required for upload:
pinmebash
pinme login上传前:
bash
pinme --version如果PinMe缺失或版本陈旧,请根据主技能进行安装或更新。上传需要认证:
pinmebash
pinme loginor: pinme set-appkey <AppKey>
或:pinme set-appkey <AppKey>
Upload examples:
```bash
pinme upload share/my-project
pinme upload share/conversation-summary
pinme upload ./report.html
pinme upload ./distDo not upload:
- ,
.env,.git, source trees, private datasets, raw logs with credentials, or unrelated build cache.node_modules - Raw conversation transcripts that may include secrets or private context unless the user explicitly approves the exact content.
上传示例:
```bash
pinme upload share/my-project
pinme upload share/conversation-summary
pinme upload ./report.html
pinme upload ./dist请勿上传:
- 、
.env、.git、源码树、私有数据集、包含凭证的原始日志或无关的构建缓存。node_modules - 可能包含密钥或私有上下文的原始对话记录,除非用户明确批准具体内容。
Final Response
最终回复
Tell the user:
- What share artifact was created.
- The PinMe URL returned by upload.
- Any important caveat, such as skipped upload because PinMe was not authenticated or unavailable.
Keep the response short. The URL is the main deliverable.
告知用户:
- 创建了何种分享制品。
- 上传后PinMe返回的URL。
- 任何重要注意事项,例如因PinMe未认证或不可用而跳过上传。
回复要简洁。URL是主要交付成果。