Favicon of testing-message-queue

testing-message-queue Skill

AI Agent SkillCommunicationPythonOpen source

Write tests for the bocpy message queue — the lock-free tag-based MPSC ring buffer. Use when: testing send/receive, FIFO ordering, selective receive, timeouts, cross-thread messaging, multi-producer scenarios, tag capacity limits, settags behavior, or payload round-trip fidelity. Published by microsoft in bocpy.

What is testing-message-queue Skill?

Write tests for the bocpy message queue — the lock-free tag-based MPSC ring buffer. Use when: testing send/receive, FIFO ordering, selective receive, timeouts, cross-thread messaging, multi-producer scenarios, tag capacity limits, settags behavior, or payload round-trip fidelity. Published by microsoft in bocpy. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
55/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Writing
  • Testing use cases
  • Writing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use testing-message-queue Skill

  • Use it for testing.
  • Use it for writing.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/bocpy
  • Skill file: .github/skills/testing-message-queue/SKILL.md

What it does

Write tests for the bocpy message queue — the lock-free tag-based MPSC ring buffer. Use when: testing send/receive, FIFO ordering, selective receive, timeouts, cross-thread messaging, multi-producer scenarios, tag capacity limits, settags behavior, or payload round-trip fidelity.

Skill instructions

Testing the Message Queue This skill describes how to write tests for the bocpy message queue — the lock-free, tag-based MPSC ring buffer implemented in C that underlies send()/receive(). Architecture Overview | Component | Detail | |-----------|--------| | Queues | 16 statically allocated ring buffers (BOCQUEUECOUNT = 16), each with capacity 16 384. | | Tags | String labels that map 1:1 to queues. Each unique tag occupies one queue slot. | | Assignment modes | Automatic (default): tags claim a queue on first send/receive. Explicit: settags() pre-assigns tags, clears all messages, and resets queues. | | settags([]) | Drains every queue, frees all tag associations, and sets all queues to UNASSIGNED — effectively restoring auto-assign mode. | | Thread safety | Enqueue is lock-free (atomic CAS on tail). Multiple threads can send to the same tag concurrently. receive spins on the queue with a sleep until a message is available or a timeout elapses. | Test File Location Message queue tests

Explore related resources

Frequently asked questions

What is testing-message-queue?

testing-message-queue is a open-source AI agent skill with Copy skill directory. Write tests for the bocpy message queue — the lock-free tag-based MPSC ring buffer.

Who is testing-message-queue best for?

testing-message-queue is best for reusing agent instructions, scripts, and references, testing workflows, writing workflows.

How do I install testing-message-queue?

Install or run testing-message-queue using Copy skill directory. Check testing-message-queue for the latest setup command.

Is testing-message-queue actively maintained?

testing-message-queue may need a closer maintenance check before production use.

Share:

Stars
168
Forks
8
Last commit
9 days ago
Repository age
5 months
License
MIT

Auto-fetched from GitHub.

Similar to testing-message-queue