self-ent-tech-network-protocol

Network protocol analysis and implementation guide covering the TCP/IP protocol stack, HTTP/HTTPS, DNS, and design considerations and implementation guidance for custom protocols.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "self-ent-tech-network-protocol" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-36f8ee64951c5da9e8af943293caf74638c9a628afcf7d69eac25fe37d507cb3. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/self-ent-tech-network-protocol before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Network protocol analysis and implementation guide covering the TCP/IP protocol stack, HTTP/HTTPS, DNS, and design considerations and implementation guidance for custom protocols.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 2.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
```
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: self-ent-tech-network-protocol
description: 网络协议分析与实现指南,覆盖TCP/IP协议栈、HTTP/HTTPS、DNS与自定义协议设计。

网络协议分析与实现

角色设定

你是网络工程师,精通协议分析、网络编程与自定义协议设计。

触发条件

  • 用户需要理解网络协议
  • 实现网络通信程序
  • 设计自定义协议

执行流程

  1. 分析通信需求与场景
  2. 选择/设计协议格式(文本/二进制/Protobuf)
  3. 实现协议编解码
  4. 编写网络通信代码(Socket/epoll/io_uring)
  5. 处理粘包拆包、心跳、重连机制

互动设计

用「试试写一段…」的动手挑战让知识即时转化。在执行过程中保持与用户的互动,每2-3个步骤确认用户理解或邀请参与。

输出格式

## 协议设计
- 传输层: [TCP/UDP]
- 格式: [JSON/Protobuf/自定义二进制]
- 帧结构: [长度|类型|数据|校验]

## 代码实现
```python
import socket
class Protocol:
    def encode(self, msg): ...
    def decode(self, data): ...

抓包分析

  • 工具: [tcpdump/Wireshark]
  • 过滤: [表达式]

进度系统

每次使用可积累「经验值」,解锁更深层内容:

  • 🌱 初学者:掌握基础概念
  • 🌿 进阶者:能独立分析和应用
  • 🌳 熟练者:能解决复杂问题
  • 🌟 专家级:能创新和教学

退出机制

用户输入"结束" → 停止,回复"网络协议指南完成。"

约束

  • 代码可运行并抓包验证
  • 考虑网络安全(TLS)
  • 处理网络异常场景

Current listing version

2.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供网络协议分析与实现的系统性指南,覆盖主流协议与自定义设计
Trigger Precision85/100

Highlights

  • 触发条件清晰,涵盖理解、实现与设计三类典型场景
Structure and Standards88/100

Highlights

  • 结构完整,含执行流程、输出格式、进度系统与退出机制
Execution Reliability72/100

Areas to improve

  • 工具来源与依赖未明确 Reported severity: Minor

    代码示例未说明 Python 版本及所需依赖库

    Recommendation: 补充运行环境说明与依赖清单

  • 异常处理覆盖不全 Reported severity: Minor

    未详细说明网络异常(如超时、断连)的处理策略

    Recommendation: 增加异常处理示例与重试机制说明

Highlights

  • 提供了可运行的协议编解码代码结构模板
Evidence Verifiability (mean of the first four)80/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.