risingwavelabs/agent-skills/risingwave-best-practices
Claude Code and agent skill by risingwavelabs/agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when designing RisingWave schemas, writing materialized views, configuring sources or sinks, optimizing streaming SQL performance, troubleshooting slow backfills, setting up CDC, designing time-windowed aggregations, or reviewing a RisingWave streaming pipeline
Install
npx vskill@latest install risingwavelabs/agent-skills/risingwave-best-practicesSKILL.md
RisingWave Best Practices
14 rules covering schema design, streaming SQL patterns, sink configuration, and performance.
How to Apply
- Read the relevant rule files for the review type below
- Apply rules to the design or code under review
- Explain violations with their impact and the fix
Review Procedures
Schema Review
- [ ] schema-source-vs-table.md — SOURCE vs TABLE selection
- [ ] schema-append-only.md — APPEND ONLY for immutable streams
- [ ] schema-watermark.md — Watermark placement
Materialized View Review
- [ ] mv-emit-on-window-close.md — EOWC for windowed queries
- [ ] mv-background-ddl.md — Non-blocking DDL for large tables
- [ ] mv-no-order-by.md — ORDER BY in MVs
Streaming SQL Review
- [ ] stream-tumble-windows.md — Time window functions
- [ ] stream-cdc-pattern.md — Two-step CDC setup
- [ ] stream-temporal-join.md — Joining streams with CDC tables
Sink Review
- [ ] sink-snapshot-false.md — Prevent backfill duplicates
- [ ] sink-force-compaction.md — Reduce output volume
Performance Review
- [ ] perf-shared-source.md — Shared Kafka source
- [ ] perf-indexes-on-mv.md — Indexes on materialized views
- [ ] perf-parallelism.md — MV parallelism tuning
Rule Categories
| Priority | Category | Impact | Prefix | Rules | |
|---|---|---|---|---|---|
| 1 | Schema Design | CRITICAL / HIGH | schema- | 3 | |
| 2 | Materialized Views | CRITICAL / HIGH | mv- | 3 | |
| 3 | Streaming SQL | CRITICAL / HIGH | stream- | 3 | |
| 4 | Sink Configuration | HIGH / MEDIUM | sink- | 2 | |
| 5 | Performance | HIGH / MEDIUM | perf- | 3 |
Quick Reference
Schema:
schema-source-vs-table— CDC requires TABLE; SOURCE is for append-only streamsschema-append-only— APPEND ONLY enables optimizations; use for immutable event dataschema-watermark— Define watermarks at ingestion point (source/table), not in MVs
Materialized Views:
mv-emit-on-window-close— Use EOWC for final window results; default emits partial updatesmv-background-ddl— SET BACKGROUND_DDL=true before creating MVs over large tablesmv-no-order-by— ORDER BY in MV applies only at creation, not to ongoing results
Streaming SQL:
stream-tumble-windows— Use TUMBLE/HOP/SESSION, not date_trunc, for streaming windowsstream-cdc-pattern— Two-step: CREATE SOURCE (shared) → CREATE TABLE ... FROM sourcestream-temporal-join— Join streaming source with CDC table using FOR SYSTEM_TIME AS OF
Sinks:
sink-snapshot-false— Always usesnapshot = falsewhen adding sinks to existing MVssink-force-compaction— Useforce_compaction = truefor high-cardinality upsert sinks
Performance:
perf-shared-source— Multiple MVs from one Kafka topic should use shared sourceperf-indexes-on-mv— Create indexes on MV columns used in WHERE/JOIN predicatesperf-parallelism— Increase parallelism for high-throughput MVs
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/risingwave-best-practices/SKILL.md
Popularity
- Repository stars
- 9
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/risingwavelabs/agent-skills/risingwave-best-practices)