petchat-standard

Community

Ship PetChat features with clean architecture and reliable tests.

AuthorXustalis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill reduces costly integration mistakes by enforcing PetChat’s client-server architecture, protocol rules, clean-code conventions, and mandatory verification steps before changes are considered complete.

Core Features & Use Cases

  • Architecture guardrails: Keeps heavy logic (AI and heavy DB operations) on the server while making the PyQt6 client UI “dumb,” preserving the Client-Server design.
  • Protocol safety: Protects the TCP message protocol by requiring that the fixed header and routing workflow stay consistent when adding features.
  • Clean-code standards: Enforces type hints for all function signatures and forbids inline “what” comments to keep code readable and consistent.
  • Threading correctness for PyQt6: Requires background threads for network/DB I/O and strictly uses pyqtSignal for main-thread UI updates.
  • Testing & verification workflow (critical): Makes network/protocol, server logic, and concurrency/stress verification part of the definition of done.

Quick Start

Ask an AI assistant to implement your change in PetChat while following the constraints in petchat-standard, then run tests/network_test.py, tests/verify_cs_server.py, and tests/stress_test.py to confirm it is production-safe.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: petchat-standard
Download link: https://github.com/Xustalis/petchat/archive/main.zip#petchat-standard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.