Diagnoses compile-time, runtime, and cluster-level failures in atomr-based Rust projects. Covers missing feature flags, mailbox stalls, restart loops, and split-brain.
Ships in atomr-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A diagnostic checklist organized by symptom. For deep dives into a
subsystem, hand off to the matching skill (atomr-cluster,
atomr-persistence, atomr-python).
X in crate atomr"You almost certainly need a feature flag on the umbrella crate. Subsystems are gated; flipping the feature also re-exports the crate under a stable namespace.
| Type / module | Feature | Re-exported as |
|---|---|---|
Actor, ActorRef, Props, Context | (always available, in atomr::prelude) | atomr::core |
TestKit, TestProbe | testkit | atomr::testkit |
Cluster* | cluster (or cluster-tools / cluster-sharding) | atomr::cluster* |
PersistentActor, Eventsourced | persistence | atomr::persistence |
Source, Flow, Sink | streams | atomr::streams |
Telemetry exporters | telemetry | atomr::telemetry |
atomr = { version = "0.2", features = ["cluster", "persistence"] }
If you depend on a subsystem crate directly (e.g. atomr-persistence)
you skip the umbrella's feature gating but lose the unified namespace.
Actor is not implemented" / "missing type Msg"#[async_trait] is required because Actor::handle is async fn.
Either:
use atomr::prelude::*; // re-exports `async_trait`
#[async_trait]
impl Actor for MyActor { /* … */ }
…or import it directly: use async_trait::async_trait;.
Send is not implemented"Your Msg type owns something non-Send (e.g. Rc, raw pointers,
MutexGuard held across an await). Switch to Arc/Mutex from
std::sync or parking_lot, or restructure so locks aren't held
across .await points.
The actor is awaiting inside handle and the mailbox is queued
behind that future. Fix:
tell results back.pattern::pipe_to to fold a future's result back as a self-tell.tokio::task::spawn_blocking.Never call ask from inside handle on the same actor graph — it can
deadlock.
pre_restart printed repeatedly)The supervisor's restart budget keeps re-creating an actor that panics
during pre_start. Either:
OneForOneStrategy::new().with_max_retries(N)
so the parent eventually escalates.Directive::Stop for the offending error
instead of Restart.ask times outCommon causes, in order:
ActorRef outliving its actor is valid but tell becomes a
no-op. Wire system.event_stream() or use Context::watch to learn
about termination.For full cluster troubleshooting, hand off to atomr-cluster. Quick
checks:
Joining. Seed nodes unreachable, or auth
mismatch. Check the cluster config block and the gossip transport
logs.crates/atomr-cluster/src/sbr.rs and docs/architecture.md.atomr-persistence skill.Enable telemetry and wire an OTLP exporter; the runtime emits spans
for mailbox enqueue/dequeue, supervision decisions, and gossip
transitions. See docs/observability.md.
The dashboard (atomr-dashboard, feature dashboard) gives a live
view of the actor tree, mailbox depths, and recent supervision events
— often the fastest way to localize a problem.
docs/architecture.md — runtime structuredocs/observability.md — tracing + metricsdocs/dashboard.md — live UIdocs/remoting.md — delivery semanticscrates/atomr-core/src/supervision.rs — supervision strategiesWhat SKILL.md sets; muted values are Claude Code's defaults
/atomr-ai-skills:atomr-troubleshootingfrom atomr-ai-skills
npx claudepluginhub rustakka/atomr --plugin atomr-ai-skillsOther plugins' skills for the same job
6 skills in this plugin
/atomr-actor-designUse when authoring or modifying an actor in a project that depends on atomr. Covers Msg type design, the Actor trait's lifecycle hooks, ask vs tell, supervision strategies, and FSM patterns. Triggers on writing or editing an `impl Actor`, choosing a Msg enum, picking a supervision strategy, or wiring `Props`/`ActorSystem`./atomr-clusterUse when bringing up clustering, sharding, singleton, distributed pub/sub, or distributed-data (CRDT) features in a project that depends on atomr. Covers feature flag selection, seed-node bootstrap, MessageExtractor design for sharding, and DistributedPubSub patterns. Triggers when adding cluster membership, ShardRegion, ShardCoordinator, ClusterSingleton, or Replicator usage./atomr-