event-store-design
Design Reliable Event Stores
Event-sourced systems fail when ordering, concurrency, and replay behavior are designed incompletely. This skill provides architecture guidance, technology comparisons, schemas, and implementation patterns.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "event-store-design" from https://skillstore.io/skills/sickn33-event-store-design.md and its manifest at https://skillstore.io/api/skills/sickn33-event-store-design/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "event-store-design". Choose storage for an order service using PostgreSQL with moderate traffic.
Expected outcome:
- Recommendation: use PostgreSQL with one ordered stream per order and a global sequence for subscriptions.
- Enforce a unique stream and version constraint, then handle conflicts as optimistic concurrency failures.
- Store correlation identifiers in metadata and checkpoint each projection independently.
Using "event-store-design". Review a projection consumer that may receive duplicate events.
Expected outcome:
- Primary risk: repeated delivery can apply the same state change more than once.
- Record processed event identifiers or make every projection update naturally idempotent.
- Advance the checkpoint only after the projection transaction succeeds.
Using "event-store-design". Plan snapshots for long-lived account streams.
Expected outcome:
Create snapshots after a measured event threshold, retain their source version, and verify state by replaying events after that version.
Security Audit
Medium RiskAll 31 static findings are false positives caused by Markdown formatting, database method names, schema identifiers, and documentation links. Two implementation examples contain real security-relevant weaknesses: disabled transport security and a DynamoDB write path that does not enforce its claimed concurrency condition.
Confirmed security concerns (2)
Risk Factors
โ๏ธ External commands (11)
๐ Network access (5)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/sickn33-event-store-design/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/sickn33-event-store-design?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/sickn33-event-store-design?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-event-store-design/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/sickn33-event-store-design.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
sickn33. (2026). event-store-design security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-event-store-design/audits/5BibTeX citation
@techreport{sickn33-sickn33-event-store-design-2026,
author = {sickn33},
title = {event-store-design security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-event-store-design/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "event-store-design security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-24"
url: "https://skillstore.io/skills/sickn33-event-store-design/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-event-store-design:audit:5"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
wshobson-event-store-design
2026-08-21
sickn33-event-store-design
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Plan a New Event Store
Compare storage technologies and define ordering, concurrency, subscription, and retention requirements before implementation.
Implement PostgreSQL Persistence
Create an event schema and service design for teams that already operate PostgreSQL.
Review Replay and Scaling Safety
Assess checkpoints, idempotency, snapshots, projections, and indexes before increasing event volume.
Try These Prompts
Design an event store for [application]. Ask about event volume, ordering, consistency, retention, replay, and operational constraints before recommending an approach.
Compare PostgreSQL, EventStoreDB, Kafka, and DynamoDB for [workload]. Evaluate stream reads, global ordering, subscriptions, operations, cost, and scaling.
Design a production event-store schema for [domain] using [database]. Include concurrency, idempotency, metadata, indexes, checkpoints, snapshots, retention, and migration strategy.
Review this event-store design: [design]. Identify integrity, concurrency, replay, projection, security, recovery, and scaling risks. Prioritize fixes and define verification tests.
Best Practices
- State ordering, consistency, replay, retention, and throughput requirements before selecting technology.
- Protect event integrity with immutable records, atomic version checks, idempotent writes, and tested recovery procedures.
- Validate every example against current libraries, production security controls, and realistic load tests.
Avoid
- Do not modify or delete historical events to correct domain state.
- Do not advance consumer checkpoints before handlers and projection writes succeed.
- Do not treat sample connection settings or storage code as production-ready configuration.
Frequently Asked Questions
Does this skill choose a database automatically?
Can it design a PostgreSQL event store?
Does it support EventStoreDB and DynamoDB?
How does it address concurrent writes?
Does it cover event schema evolution?
Is the generated design ready for production?
Developer Details
Author
sickn33License
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Repository
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/event-store-designRef
88a8e9a07f4c54ab105c1c41b6267c287146b07b
Maintenance freshness
7/26/2026
Usage
7 downloads ยท 138 views
File structure