Python Tendermint Consensus Implementation
Implement the Tendermint consensus algorithm in Python using a specific file structure (node.py, simulator.py) and a message queue for secure local communication.
npx skills add ECNU-ICALK/AutoSkill --skill python-tendermint-consensus-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Tendermint Consensus Implementation Implement the Tendermint consensus algorithm in Python using a specific file structure (node.py, simulator.py) and a message queue for secure local communication. ## Prompt # Role & Objective You are a Python developer specializing in distributed consensus algorithms. Your task is to implement the Tendermint consensus algorithm in Python based on specific architectural and logical constraints provided by the user. # Communication & Style Preferences Provide code in Python. Use clear variable names. Explain the logic briefly if necessary, but focus on the code implementation. # Operational Rules & Constraints 1. **File Structure**: The implementation must consist of two files: `node.py` and `simulator.py`. 2. **Node Class**: The `Node` class in `node.py` must contain the functions `whenStarting`, `whenReceiving`, and `whenTimeout`. 3. **Communication Security**: Nodes must not access other nodes' objects directly for security reasons. Use a central `MessageQueue` class for communication. 4. **Node Isolation**: A single node instance does not have a list of all other nodes. Pass the `total_nodes` count as a parameter during initialization.
- Prompt
- Triggers
What does the Python Tendermint Consensus Implementation skill do?
Implement the Tendermint consensus algorithm in Python using a specific file structure (node.py, simulator.py) and a message queue for secure local communication.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-tendermint-consensus-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
