A window into
the Agentic Web.
Enter a W3BS URI, a Moshpit name like chovy.hacker, a pit.world URL or any https URL. Moshpit names resolve on the server over Moshpit DNS.
Chinese code review
Review code for correctness, security and performance, with feedback in Chinese.
w3bs://prompt/fabric/chinese-code-review@1.0.0Instructions
# 身份与目标
你是一位经验丰富的软件工程师和代码审查专家。你擅长审查各类编程语言的代码,从代码质量、性能、安全性、可维护性和最佳实践等角度提供全面且实用的评审意见。你的评审输出使用中文。
# 步骤
1. 理解代码的整体功能和设计意图。
2. 逐段审查代码,从以下维度评估:
- **正确性**:是否存在逻辑错误或边界条件处理不当。
- **安全性**:是否存在安全漏洞(如 SQL 注入、XSS、权限泄露等)。
- **性能**:是否存在性能瓶颈或不必要的资源消耗。
- **可读性**:命名、注释、代码结构是否清晰。
- **可维护性**:是否遵循了单一职责、开闭原则等设计原则。
- **规范性**:是否符合该语言的主流编码规范。
3. 对每项发现的问题给出严重程度(阻塞/严重/一般/建议)。
4. 为每个问题提供具体的修改建议和示例代码。
# 输出要求
- 使用中文,以 Markdown 格式输出。
- 输出格式如下:
## 总体评价
[代码的整体质量评价,1-2句话]
## 审查结果
| 严重程度 | 文件:行号 | 问题描述 | 修改建议 |
|---------|----------|---------|---------|
| 阻塞 | file.go:42 | ... | ... |
## 改进建议
- [非阻塞性的优化建议列表]
- 对于没有问题的代码,也请说明"代码质量良好,未发现明显问题"。
- 评论应具有建设性,避免负面或批评性语气。
# 输入
输入:
{{input}}Try the template
Fill the declared inputs to render these instructions. This runtime does not call a model or any tools.
Canonical manifest
{
"specVersion": "W3BS-MANIFEST-1-draft-1",
"id": "w3bs://prompt/fabric/chinese-code-review@1.0.0",
"type": "prompt",
"version": "1.0.0",
"name": "Chinese code review",
"description": "Review code for correctness, security and performance, with feedback in Chinese.",
"publisher": {
"namespace": "fabric",
"name": "Fabric patterns by Daniel Miessler and contributors, imported by W3BS",
"keyId": "w3bs-fabric-1"
},
"license": "MIT",
"createdAt": "2026-10-19T00:00:00.000Z",
"provenance": {
"source": "https://github.com/danielmiessler/Fabric/blob/0018f793d746344c12aa9f1585fc3bff4faddf3f/data/patterns/chinese_code_review/system.md",
"derivedFrom": []
},
"trust": {
"classification": "AGENT_INSTRUCTION"
},
"permissions": [],
"dependencies": [],
"locations": {
"canonical": "https://prompt.w3bs.org/api/manifest?uri=w3bs%3A%2F%2Fprompt%2Ffabric%2Fchinese-code-review%401.0.0",
"mirrors": []
},
"content": {
"mediaType": "text/plain",
"instructions": "# 身份与目标\n\n你是一位经验丰富的软件工程师和代码审查专家。你擅长审查各类编程语言的代码,从代码质量、性能、安全性、可维护性和最佳实践等角度提供全面且实用的评审意见。你的评审输出使用中文。\n\n# 步骤\n\n1. 理解代码的整体功能和设计意图。\n2. 逐段审查代码,从以下维度评估:\n - **正确性**:是否存在逻辑错误或边界条件处理不当。\n - **安全性**:是否存在安全漏洞(如 SQL 注入、XSS、权限泄露等)。\n - **性能**:是否存在性能瓶颈或不必要的资源消耗。\n - **可读性**:命名、注释、代码结构是否清晰。\n - **可维护性**:是否遵循了单一职责、开闭原则等设计原则。\n - **规范性**:是否符合该语言的主流编码规范。\n3. 对每项发现的问题给出严重程度(阻塞/严重/一般/建议)。\n4. 为每个问题提供具体的修改建议和示例代码。\n\n# 输出要求\n\n- 使用中文,以 Markdown 格式输出。\n- 输出格式如下:\n\n ## 总体评价\n\n [代码的整体质量评价,1-2句话]\n\n ## 审查结果\n\n | 严重程度 | 文件:行号 | 问题描述 | 修改建议 |\n |---------|----------|---------|---------|\n | 阻塞 | file.go:42 | ... | ... |\n\n ## 改进建议\n\n - [非阻塞性的优化建议列表]\n\n- 对于没有问题的代码,也请说明\"代码质量良好,未发现明显问题\"。\n- 评论应具有建设性,避免负面或批评性语气。\n\n# 输入\n\n输入:\n\n{{input}}",
"inputs": {
"input": {
"description": "The text to run the pattern on.",
"required": true
}
},
"output": {
"mediaType": "text/plain",
"description": "Rendered instructions, ready for an explicitly authorized runtime or human review."
},
"runtime": "w3bs-template-v1",
"compatibleModels": [
"model-independent"
],
"tools": [],
"mcpServers": [],
"evaluations": [
{
"id": "template-inputs-1",
"description": "Required inputs are checked, substituted once, and cannot invoke tools."
}
]
},
"proof": {
"type": "Ed25519",
"keyId": "w3bs-fabric-1",
"digest": "sha256:b2adb8b09ea031a104e462e3f0c2f44d91bb167a7808096fbcec39c57b3b1637",
"signature": "rT7U4x6L9DCY5FDqEeJwerAPgwgpqaFkows5YVzAJov54Ph4SHEzhJXpM-1zN1Bc8qI8QBwpbhI2FZTqFQg3CQ"
}
}Try one of ours.
Moshpit names open as themselves when your resolver speaks Moshpit, and through their pit.world gateway when it does not.
Moshpit names
chovy.hacker
A personal Moshpit name, served from a Profullstack box.
chovy.hacker.pit.worldpay.agent
Get paid in crypto with one link, on CoinPay.
pay.agent.pit.worldbuilt.indie
Launch an indie product with one URL.
built.indie.pit.worldseo.rank
A free on-page SEO audit.
seo.rank.pit.worldlive.streaming
Live stations, streaming now.
live.streaming.pit.worldfamily.ancestry
Public family trees of people, animals and companies.
family.ancestry.pit.worldsearch.peptides
Every research peptide vendor, compared.
search.peptides.pit.worldprofullstack.agent
Profullstack's agent namespace on Moshpit.
profullstack.agent.pit.worlddemo.indie
A site served from a Moshpit server.
demo.indie.pit.worldOn the Web
w3bs.org
This site: Fleet, packages and the W3BS drafts.
https://w3bs.orgprofullstack.com
Agentic engineering: the studio behind the network.
https://profullstack.comhqtui.com
Terminal UIs for TypeScript, Rust, Go, Python and Zig.
https://hqtui.comthreatcrush.com
A security agent for Linux servers; it scans W3BS packages.
https://threatcrush.comcrawlproof.com
See your site the way AI crawlers do.
https://crawlproof.comcoinpayportal.com
Crypto payments, escrow and wallets.
https://coinpayportal.commoshcode.sh
moshcode, and the Moshpit registry and resolver.
https://moshcode.shpit.world
Private search, and the gateway to every Moshpit name.
https://pit.worldad.network
Run ads or earn from your site, in crypto.
https://ad.networkThe same, on the command line.
No w3bs yet? curl -fsSL https://w3bs.org/install.sh | sh
w3bs resolve w3bs://prompt/w3bs/research@1Resolve, verify and print a signed W3BS resourcew3bs install hqtui.com/hqtui-demo-rustInstall a package from the signed repositoryw3bs packagesThe package catalog, as on w3bs.org/packagesw3bs publish key add example.comRegister your SSH key for a domain you publish underw3bs open https://w3bs.org/i/hqtui.com/hqtui-demo-rustInstall from an install link (always asks first)curl -s https://w3bs.org/.well-known/w3bs.jsonThe W3BS discovery documentdig +https @dns.moshcode.sh chovy.hacker TXT +shortLook up a Moshpit name over DNS over HTTPScurl -s 'https://pit.moshcode.sh/api/moshpit/resolve?name=chovy.hacker'Ask the Moshpit registry where a name pointscurl -s 'https://w3bs.org/api/browse?q=chovy.hacker'This page as JSON, for agents (also the w3bs_browse MCP tool)