Token导航 LogoToken导航

Agent Skill · 前端设计

xip-writing-(xerahs-improvement-proposals)(xip 写作(xerah 的改进建议))

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

xip-writing-(xerahs-improvement-proposals) 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 531。

总安装 20,000周安装 497GitHub Stars 239下载 6,939核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:xip-writing-(xerahs-improvement-proposals)(xip 写作(xerah 的改进建议))
来源仓库:https://github.com/sharex/xerahs
仓库路径:skills/xip-writing-(xerahs-improvement-proposals)
安装命令:
npx skills add https://github.com/sharex/xerahs --skill 'XIP Writing (XerahS Improvement Proposals)'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sharex/xerahs --skill 'XIP Writing (XerahS Improvement Proposals)'

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

xip-writing 用于辅助文档和 Markdown 内容的整理与改写。适合提炼结构、补齐章节或统一术语。xip-writing-(xerahs-improvement-proposals) 属于前端设计类 Skill,可作为该场景下的辅助能力补充。使用时需保留项目已有事实和路径,不虚构未确认信息。

对外文案应控制语气,避免过度营销或夸大能力。建议结合项目上下文确保内容准确性和一致性。

来源仓库内路径:skills/xip-writing-(xerahs-improvement-proposals)

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sharex/xerahs --skill 'XIP Writing (XerahS Imp…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

xip-writing-(xerahs-improvement-proposals) 怎么安装?

在终端执行 npx skills add https://github.com/sharex/xerahs --skill 'XIP Writing (XerahS Improvement P…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

xip-writing-(xerahs-improvement-proposals) 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

xip-writing-(xerahs-improvement-proposals) 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

xip-writing-(xerahs-improvement-proposals) 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

xip-writing-(xerahs-improvement-proposals) 用的人多吗?

公开数据是累计安装 20,000 次,近一周安装 497 次,下载 6,939 次,GitHub 239 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

xip-writing-(xerahs-improvement-proposals) 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
xip-writing-(xerahs-improvement-proposals)

xip 写作(xerah 的改进建议) · 本页

20,000239只读未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

XIP Writing Skill

This skill guides writing XerahS Improvement Proposals (XIPs) that are actionable, well-structured, and aligned with project architecture.

Workflow: GitHub is the source of truth for XIPs; the tasks/ folder is a backup. Create and edit XIPs as GitHub issues (label xip), then run the sync script to update the tasks folder. See sync-xips for create/edit/sync workflows.


What is a XIP?

A XIP (XerahS Improvement Proposal) is a design document that:

  • Describes a new feature, enhancement, or architectural change
  • Provides implementation guidance for developers
  • Serves as the single source of truth for the feature scope
  • Links to a GitHub issue for tracking

XIP Structure

Header Template

# XIP0001 Short Descriptive Title

**Status**: Draft | In Review | Ready for Implementation | In Progress | Completed
**Created**: YYYY-MM-DD
**Updated**: YYYY-MM-DD
**Area**: Desktop | Mobile | Core | Uploaders | UI | Architecture
**Goal**: One-sentence description of what this achieves.

---

Naming Convention

Format: XIPXXXX Description

  • XIP number padded with leading zeros (4 digits)
  • Single space between number and description
  • NO square brackets []
  • NO colon after XIP number
  • NO hyphen/dash between number and description
FormatStatus
XIP0030 Mobile Share Feature✅ Correct
XIP0030: Mobile Share Feature❌ No colon
[XIP0030] Mobile Share Feature❌ No brackets
XIP0030 - Mobile Share Feature❌ No dash
XIP30 Mobile Share Feature❌ Must be 4 digits

This format applies to:

  • Markdown file names: XIP0030_Mobile_Share_Feature.md
  • GitHub issue titles: XIP0030 Mobile Share Feature
  • Headers inside XIP files: # XIP0030 Mobile Share Feature

Required Sections

1. Overview
  • What problem does this solve?
  • Why is this approach chosen?
  • Key principles (reuse, no duplication, platform neutrality, etc.)
  • Keep it concise - 2-4 paragraphs maximum
2. Prerequisites (if any)
  • SDK versions
  • Platform requirements
  • Dependencies to install
3. Implementation Phases

Break into logical phases. Each phase should:

  • Have a clear objective
  • Include code examples where helpful
  • Reference existing patterns to follow
  • List specific files to create/modify

Example Phase Structure:

### Phase N: Phase Name

Description of what this phase accomplishes.

**Key Files:**
- `src/XerahS.Core/Services/NewService.cs`

**Code Example:**

// Include representative code


**Rules:**

- Specific constraints for this phase
- What NOT to do
4. Non-Negotiable Rules

Explicit constraints that must be followed:

  • Do not create duplicate upload pipelines
  • Do not call providers directly from platform code
  • Do not duplicate TaskSettings cloning logic
  • Platform-specific code stays in platform folders
  • etc.
5. Deliverables

Numbered list of concrete outputs:

  1. New service in XerahS.Core
  2. Settings additions
  3. Platform implementations
  4. UI components
  5. Documentation
6. Affected Components

List of projects/files that will change:

  • XerahS.Core: Specific classes
  • XerahS.App: Platform entry points
  • XerahS.Uploaders: Provider changes (if any)
  • etc.
7. Architecture Summary (recommended)

ASCII diagram showing data flow:


Component A ↓ Component B ← XerahS.Core ↓ Component C

Writing Principles

1. Reuse Existing Infrastructure

Before writing new code, study:

  • WatchFolderManager pattern for file handling
  • TaskManager.StartFileTask for upload triggering
  • TaskSettings.Clone for settings handling
  • UploaderProviderBase for provider patterns
  • TaskHelpers for file naming/storage

Golden Rule: If XerahS already does something similar, reuse that pattern.

2. Platform Neutrality

  • Core logic goes in XerahS.Core or XerahS.Common
  • Platform-specific code stays in Platforms/ folders
  • Use abstractions (interfaces) to bridge platform and core
  • Core services must not know about Android, iOS, or Avalonia views

3. No Duplicate Logic

Explicitly forbid:

  • Parallel upload pipelines
  • Copy-pasted file handling code
  • Reimplemented file naming logic
  • Duplicated settings cloning
  • Direct provider calls from platform code

4. Privacy and Security First

  • Prefer explicit user action over automatic monitoring
  • Request permissions only when necessary
  • Use platform secure storage for credentials
  • Document privacy implications

5. Clear Separation of Concerns

LayerResponsibility
Platform HeadsReceive platform data, convert to local files
Core ServicesProcess files, invoke TaskManager
TaskManagerCoordinate upload jobs
ProvidersExecute actual uploads
UIDisplay results, user interaction

6. Avalonia-Specific Accuracy for UI XIPs

When a XIP touches Avalonia .axaml bindings, write rules using Avalonia semantics (not WPF assumptions):

  • Treat #ElementName.Property as Avalonia binding syntax used by Binding/compiled binding paths.
  • Do not prescribe {ReflectionBinding #ElementName.Property}.
  • If dynamic reflection binding is truly required, keep it explicit and avoid #ElementName path segments.

XIP Evolution Process

XIPs often evolve during review. Document significant changes:

## Evolution History

| Date | Change | Rationale |
|------|--------|-----------|
| 2026-02-12 | Switched from auto-monitoring to share-based | Battery/privacy concerns |

When rewriting a XIP:

  1. Preserve the XIP number
  2. Update the "Updated" date
  3. Document the rationale for changes
  4. Update linked GitHub issue

GitHub Issue Integration (source of truth)

Every XIP lives as a GitHub issue (label xip). The issue body is the full XIP content. The tasks/ folder is a backup generated by the sync-xips script.

Issue Title Format

XIP0001 Brief Description

Must follow XIP naming convention:

  • 4-digit zero-padded number
  • Single space separator
  • No brackets, no colon, no dash

Example: XIP0030 Implement Share to XerahS on Mobile

Issue Body

  • Is the full XIP markdown (Overview, Phases, Deliverables, etc.). No separate “link to file” — the body is the XIP.
  • After editing the issue, run the sync script so the tasks folder backup is updated.

Create / Edit / Sync

Use the sync-xips skill to create issues, edit them, and run sync-from-github.ps1 to refresh the tasks backup.


Review Checklist

Before finalizing a XIP:

  • Header information complete (Status, Dates, Area, Goal)
  • Overview explains the "why"
  • Implementation phases are logical and actionable
  • Code examples are syntactically correct
  • References to existing patterns are accurate
  • Non-negotiable rules explicitly stated
  • Deliverables are concrete and verifiable
  • Affected components listed
  • Architecture diagram included (for complex features)
  • No duplicate logic implied
  • Platform neutrality maintained
  • For Avalonia UI XIPs, binding guidance uses Avalonia-native syntax (no WPF-style ReflectionBinding guidance for #ElementName paths)
  • GitHub issue created/updated (body = full XIP); sync run if needed

Common Patterns

Pattern: Share-to-App (Mobile)

When implementing "share" functionality:

  1. Platform receives shared content (Intent/Share Extension)
  2. Platform copies to local app storage
  3. Platform signals/passes paths to Core service
  4. Core service processes via TaskManager
  5. UI displays results

Pattern: New Upload Provider

When adding an uploader:

  1. Extend UploaderProviderBase
  2. Add config model
  3. Add settings UI (reuse existing patterns)
  4. Implement upload logic
  5. Register in provider factory
  6. No changes to upload pipeline

Pattern: Cross-Platform Service

When creating a service that works everywhere:

  1. Define interface in Abstractions
  2. Implement platform-specific versions in Platform folders
  3. Register in PlatformServices or DI
  4. Use from Core via interface only

Anti-Patterns to Avoid

Don't: Auto-Monitoring on Mobile

Monitor screenshots folder automatically  ← BAD
Let user share files explicitly           ← GOOD

Don't: Platform Code Doing Uploads

Android MainActivity calls S3 directly    ← BAD
Android → ShareImportService → TaskManager ← GOOD

Don't: Duplicate TaskSettings Logic

Create new settings cloning for mobile    ← BAD
Reuse existing TaskSettings.Clone()       ← GOOD

Don't: UI in Core

Show MessageBox from ShareImportService   ← BAD
Return results, let caller display        ← GOOD

File Locations (backup only)

The tasks folder is a backup of GitHub. Sync with .ai/skills/sync-xips/scripts/sync-from-github.ps1. Status is not reflected in paths; all backup files live in tasks/ as XIP####-Title-Slug.md.

  • Backup: tasks/XIPXXXX-Descriptive-Name.md (single folder)
  • Source of truth: GitHub issue https://github.com/ShareX/XerahS/issues/XXX

Quick Reference: XIP Template

# XIP0001 Title

**Status**: Draft
**Created**: YYYY-MM-DD
**Area**: Area
**Goal**: One sentence.

---

## Overview

Problem and approach.

## Prerequisites

- List

## Implementation Phases

### Phase 1: Name

Description.

**Key Files:**
- Path

**Code:**

// Example


**Rules:**

- Do X
- Don't Y

## Non-Negotiable Rules

1. Rule one
2. Rule two

## Deliverables

1. Item
2. Item

## Affected Components

- Project: Changes

## Architecture Summary

Diagram


Key Takeaways

  1. Study first - Understand existing patterns before writing
  2. Reuse always - No duplicate upload pipelines, no duplicate settings logic
  3. Separate concerns - Platform code handles platform things, Core handles logic
  4. Be explicit - Non-negotiable rules, clear deliverables, concrete file paths
  5. Privacy first - Prefer explicit user action over automatic monitoring
  6. GitHub first - Create/edit XIP in the issue; run sync-xips to update tasks backup

Remember: A good XIP is precise, reusable, and respects existing architecture.

平台分布

Codex

35.86%
按下载量换算2,488

Claude

29.4%
按下载量换算2,040

Cursor

18.21%
按下载量换算1,264

Gemini CLI

9.36%
按下载量换算649

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills