edge-cloud-sync
Skill4 starsChanged 2 months agoApache-2.0View on GitHub
Design or review offline edge/cloud telemetry and configuration synchronization: replay, ordering, acknowledgment, backpressure, and recovery. Not local WAL internals or a mandate to add a broker.
In this repository81 other files it gives its agents.
- agent-cli-designSkill
- agent-tool-boundariesSkill
- behavior-first-implementationSkill
- bounded-prototypeSkill
- bounded-pr-sliceSkill
- building-fdd-validationSkill
- context-efficiencySkill
- cross-language-contractsSkill
- cross-platform-agent-instructionsSkill
- design-interviewSkill
- diagnosis-loopSkill
- domain-languageSkill
- handoff-continuitySkill
- immutable-pr-reviewSkill
- memory-context-hygieneSkill
- module-designSkill
- orchestrateSkill
- owner-decision-gateSkill
- parallel-portfolioSkill
- pr-gate-loopSkill
- pyo3-async-lifecycleSkill
- pyo3-buffer-performanceSkill
- pyo3-free-threadingSkill
- pyo3-ownership-errorsSkill
- pyo3-wheel-releaseSkill
- python-api-typingSkill
- python-async-concurrencySkill
- python-ci-releaseSkill
- python-data-boundariesSkill
- python-packaging-environmentsSkill
- python-performanceSkill
- python-pytestSkill
- python-reviewSkill
- python-test-designSkill
- python-threading-workersSkill
- python-workflowSkill
- react-components-stateSkill
- react-performanceSkill
- repository-groundingSkill
- rust-api-designSkill
- rust-async-concurrencySkill
- rust-build-diagnosticsSkill
- rust-ci-releaseSkill
- rust-memory-layoutSkill
- rust-nextestSkill
- rust-numerics-simdSkill
- rust-performanceSkill
- rust-protocol-codecsSkill
- rust-python-bindingsSkill
- rust-reviewSkill
- rust-storage-durabilitySkill
- rust-test-designSkill
- rust-unsafe-ffiSkill
- rust-workflowSkill
- rust-workspace-dependenciesSkill
- shadcn-react-componentsSkill
- shadcn-svelte-componentsSkill
- simplify-existing-codeSkill
- source-verificationSkill
- svelte-components-runesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Use the current contract for event identity, device/site/tenant scope, ordering, and deduplication.
- Distinctive: line 27
Use the existing protocol, storage, and deployment model.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Edge and Cloud Synchronization
Trace one record or operation from its origin through local persistence, transport, cloud admission, durable processing, and acknowledgment. Determine which guarantee the application actually promises at each boundary.
Define identity and ownership
Use the current contract for event identity, device/site/tenant scope, ordering, and deduplication. Keep observation time, receive time, and ordering metadata distinct. Clock time alone is not a reliable unique identifier or total order across reconnects and device restarts.
Establish who owns configuration and how conflicts are reconciled. Telemetry upload, configuration delivery, and physical command execution have different risks; do not reuse a data replay mechanism as command authorization. Preserve unknown or ambiguous command outcomes until reconciled.
Follow interruption and replay
Examine disconnects before and after local persistence, sending, server commit, and acknowledgment. A retry may deliver an already processed record. Deduplicate at the durable boundary required by the promised behavior, and define retention/expiry of deduplication state. Do not claim exactly-once behavior merely because the transport has acknowledgments.
Handle partial batches, reordered responses, checkpoint advancement, client or server restarts, and schema evolution. Advance a checkpoint only past work whose required acknowledgment has been established; do not discard unacknowledged data to make the queue look healthy.
Bound offline operation
State queue and disk limits, backpressure, overflow policy, retry pacing, and fairness across sites or streams. Preserve data quality and loss visibility when the configured capacity is exhausted. Test sustained offline behavior rather than only a brief network outage.
Use the existing protocol, storage, and deployment model. Do not add a broker, conflict framework, hosted service, or new persistence format without a demonstrated need and the relevant scope.
Verify end-to-end behavior
Use deterministic disconnect/restart seams and compare source records with durable downstream results. Cover duplicate delivery, lost acknowledgments, reordering, clock jumps, stale configuration, partial failure, quota exhaustion, and reconnect storms. A local queue test is not cloud durability evidence; a process-kill test is not a power-loss proof.
Report the tested guarantee, loss/duplication window if any, relevant resource bounds, and unrun platform or failure modes. Use language-specific storage and concurrency specialists for implementation details rather than duplicating them here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

