Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

rfc-generator射频发生器

Agent Skill

rfc-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,791

周安装

114

GitHub Stars

32

下载量

903
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/patricio0312rev/skills --skill rfc-generator

简介

rfc-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于基于关键词或任务场景的信息聚合场景。
  • 可通过 npx 命令从 patricio0312rev/skills 仓库安装,建议查阅原始 README 了解具体用法。
  • 使用前需确认权限范围和维护状态,警惕可能的联网或文件读写行为。
  • 输出内容应以原始 README 和项目事实为依据,不直接作为最终结论。

SKILL.md

RFC Generator

Create comprehensive technical proposals with RFCs.

RFC Template

# RFC-042: Implement Read Replicas for Analytics

**Status:** Draft | In Review | Accepted | Rejected | Implemented
**Author:** Alice (alice@example.com)
**Reviewers:** Bob, Charlie, David
**Created:** 2024-01-15
**Updated:** 2024-01-20
**Target Date:** Q1 2024

## Summary

Add PostgreSQL read replicas to separate analytical queries from transactional workload, improving database performance and enabling new analytics features.

## Problem Statement

### Current Situation

Our PostgreSQL database serves both transactional (OLTP) and analytical (OLAP) workloads:

- 1000 writes/min (checkout, orders, inventory)
- 5000 reads/min (user browsing, search)
- 500 analytics queries/min (dashboards, reports)

### Issues

1. **Performance degradation**: Analytics queries slow down transactions
2. **Resource contention**: Complex reports consume CPU/memory
3. **Blocking features**: Can't add more dashboards without impacting users
4. **Peak hour problems**: Analytics scheduled during business hours

### Impact

- Checkout p95 latency: 800ms (target: <300ms)
- Database CPU: 75% average, 95% peak
- Customer complaints about slow pages
- Product team blocked on analytics features

### Success Criteria

- Checkout latency <300ms p95
- Database CPU <50%
- Support 2x more analytics queries
- Zero impact on transactional performance

## Proposed Solution

### High-Level Design

┌─────────────┐ │ Primary │────────────────┐ │ (Write) │ │ └─────────────┘ │ ▼ ┌─────────────┐ │ Replica 1 │ │ (Read) │ └─────────────┘ ▼ ┌─────────────┐ │ Replica 2 │ │ (Analytics)│ └─────────────┘

### Architecture
1. **Primary database**: Handles all writes and critical reads
2. **Read Replica 1**: Serves user-facing read queries
3. **Read Replica 2**: Dedicated to analytics/reporting

### Routing Strategy

const db = { primary: primaryConnection, read: replicaConnection, analytics: analyticsConnection, };

// Write await db.primary.users.create(data);

// Critical read (always fresh) await db.primary.users.findById(id);

// Non-critical read (can be slightly stale) await db.read.products.search(query);

// Analytics await db.analytics.orders.aggregate(pipeline);


### Replication

- **Type:** Streaming replication
- **Lag:** <1 second for read replica, <5 seconds acceptable for analytics
- **Monitoring:** Alert if lag >5 seconds

## Detailed Design

### Database Configuration

Primary

max_connections: 200 shared_buffers: 4GB work_mem: 16MB

Read Replica

max_connections: 100 shared_buffers: 8GB work_mem: 32MB

Analytics Replica

max_connections: 50 shared_buffers: 16GB work_mem: 64MB


### Connection Pooling

const pools = { primary: new Pool({ max: 20, min: 5 }), read: new Pool({ max: 50, min: 10 }), analytics: new Pool({ max: 10, min: 2 }), };


### Query Classification

enum QueryType { WRITE = "primary", CRITICAL_READ = "primary", READ = "read", ANALYTICS = "analytics", }

function route(queryType: QueryType) { return pools[queryType]; }


## Alternatives Considered

### Alternative 1: Vertical Scaling

**Approach:** Upgrade to larger database instance

- **Pros:** Simple, no code changes
- **Cons:** Expensive ($500 → $2000/month), doesn't separate workloads, still hits limits
- **Verdict:** Rejected - doesn't solve isolation problem

### Alternative 2: Separate Analytics Database

**Approach:** Copy data to dedicated analytics DB (e.g., ClickHouse)

- **Pros:** Optimal for analytics, no impact on primary
- **Cons:** Complex ETL pipeline, eventual consistency, high maintenance
- **Verdict:** Defer - consider for future if replicas insufficient

### Alternative 3: Materialized Views

**Approach:** Pre-compute analytics results

- **Pros:** Fast queries, no replicas needed
- **Cons:** Limited to known queries, maintenance overhead
- **Verdict:** Complement to replicas, not replacement

## Tradeoffs

### What We're Optimizing For

- Performance isolation
- Cost efficiency
- Quick implementation
- Operational simplicity

### What We're Sacrificing

- Slight data staleness (acceptable for analytics)
- Additional infrastructure complexity
- Higher operational costs

## Risks & Mitigations

### Risk 1: Replication Lag

**Impact:** Analytics sees stale data **Probability:** Medium **Mitigation:**

- Monitor lag continuously
- Alert if >5 seconds
- Document expected lag for users

### Risk 2: Configuration Complexity

**Impact:** Routing errors, performance issues **Probability:** Low **Mitigation:**

- Comprehensive testing
- Gradual rollout
- Easy rollback mechanism

### Risk 3: Cost Overrun

**Impact:** Budget exceeded **Probability:** Low **Mitigation:**

- Use smaller instance for analytics ($300/month)
- Monitor usage
- Right-size after 1 month

## Rollout Plan

### Phase 1: Setup (Week 1-2)

- Provision read replica 1
- Provision analytics replica 2
- Configure replication
- Verify lag <1 second
- Load testing

### Phase 2: Read Replica (Week 3)

- Deploy routing logic
- Route 10% search queries to replica
- Monitor errors and latency
- Ramp to 100%

### Phase 3: Analytics Migration (Week 4-5)

- Identify analytics queries
- Update dashboard queries to analytics replica
- Test reports
- Migrate all analytics

### Phase 4: Validation (Week 6)

- Measure checkout latency improvement
- Verify CPU reduction
- User acceptance testing
- Mark as complete

## Success Metrics

### Primary Goals

- ✅ Checkout latency <300ms p95 (currently 800ms)
- ✅ Primary DB CPU <50% (currently 75%)
- ✅ Zero errors from replication lag

### Secondary Goals

- Support 2x analytics queries
- Enable new dashboard features
- Team satisfaction survey >8/10

## Cost Analysis

| Component | Current | Proposed | Delta |
| --- | --- | --- | --- |
| Primary DB | $500/mo | $500/mo | $0 |
| Read Replica | - | $500/mo | +$500 |
| Analytics Replica | - | $300/mo | +$300 |
| **Total** | **$500/mo** | **$1,300/mo** | **+$800/mo** |

**ROI:** Better performance enables revenue growth; analytics unlocks product insights

## Open Questions

1. What's acceptable replication lag for analytics? (Proposed: <5 sec)
2. How do we handle replica failure? (Proposed: Fallback to primary)
3. Should we add more replicas later? (Proposed: Monitor and decide in Q2)

## Timeline

- Week 1-2: Provisioning and setup
- Week 3: Read replica migration
- Week 4-5: Analytics migration
- Week 6: Validation
- **Total: 6 weeks**

## Appendix

### References

- [PostgreSQL Replication Docs](https://postgresql.org/docs/replication)
- [Cost Analysis Spreadsheet](https://docs.google.com/)
- [Load Test Results](https://example.com)

### Review History

- 2024-01-15: Initial draft (Alice)
- 2024-01-17: Added cost analysis (Bob)
- 2024-01-20: Addressed review comments

RFC Process

1. Draft (1 week)

  • Author writes RFC
  • Include problem, solution, alternatives
  • Share with team for early feedback

2. Review (1-2 weeks)

  • Distribute to reviewers
  • Collect comments
  • Address feedback
  • Iterate on design

3. Approval (1 week)

  • Present to architecture review
  • Resolve remaining concerns
  • Vote: Accept/Reject
  • Update status

4. Implementation

  • Track progress
  • Update RFC with learnings
  • Mark as implemented

Best Practices

  1. Clear problem: Start with why
  2. Concrete solution: Be specific
  3. Consider alternatives: Show you explored options
  4. Honest tradeoffs: Every choice has costs
  5. Measurable success: Define done
  6. Risk mitigation: Plan for failure
  7. Iterative: Update based on feedback

Output Checklist

  • [ ] Problem statement
  • [ ] Proposed solution with architecture
  • [ ] 2+ alternatives considered
  • [ ] Tradeoffs documented
  • [ ] Risks with mitigations
  • [ ] Rollout plan with phases
  • [ ] Success metrics defined
  • [ ] Cost analysis
  • [ ] Timeline estimated
  • [ ] Reviewers assigned

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

30.43%
按下载量换算275

github-copilot

22.6%
按下载量换算204

OpenCode

15.89%
按下载量换算143

Gemini CLI

13%
按下载量换算117

Antigravity

7.33%
按下载量换算66

windsurf

3.67%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills