技能 coder
💻

coder

安全 ⚙️ 外部命令🌐 網路存取📁 檔案系統存取

使用AI实现代码修改

也可從以下取得: 0xSero

需要编写新功能、修复错误或重构现有代码。此技能提供了一个专注于AI的子代理,它遵循项目约定并进行精确的代码修改,只需最少的定向编辑。

支援: Claude Codex Code(CC)
📊 70 充足
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「coder」。 添加一个计算数字列表平均值的函数

預期結果:

  • Created calculate_average(numbers) in utils/math.py
  • Handles empty list by returning None
  • Includes type hints and docstring
  • Added unit tests in test_math.py

正在使用「coder」。 重构用户认证模块以使用async/await

預期結果:

  • Converted all callback-based auth functions to async
  • Updated function signatures to return awaitable results
  • Added error handling for async operations
  • Maintained backward compatibility with existing API

正在使用「coder」。 修复数据处理管道中的内存泄漏

預期結果:

  • Identified unreleased connections in database pool
  • Added proper cleanup in finally blocks
  • Replaced streaming approach with chunked processing
  • Verified fix with memory profiling tools

安全審計

安全
v3 • 1/16/2026

Pure prompt-based skill containing only YAML metadata and AI instructions. No executable code, scripts, network calls, filesystem access, or command execution capabilities. All 18 static findings were algorithmic false positives triggered on benign metadata field names and documentation text.

2
已掃描檔案
201
分析行數
3
發現項
3
審計總數

風險因素

⚙️ 外部命令 (1)
🌐 網路存取 (1)
📁 檔案系統存取 (1)
審計者: claude 查看審計歷史 →

品質評分

38
架構
100
可維護性
85
內容
28
社群
100
安全
91
規範符合性

你能建構什麼

功能实现

在遵循现有代码模式的同时,根据规范实现新功能

重构协助

重构代码段以提高可读性和可维护性

Bug修复自动化

应用定向修复来解决代码库中的特定错误或问题

試試這些提示

简单功能请求
Write a function that [describe functionality]. Follow the existing code style in the project.
代码修改
Modify the [specific function/file] to [describe the change needed]. Keep the overall structure intact.
重构任务
Refactor [specific section] to improve readability. Maintain the same behavior and public API.
带测试的实现
Implement [feature description] including the implementation and corresponding tests. Verify the solution works correctly.

最佳實務

  • 提供清晰具体的描述以获得最佳结果
  • 提及要遵循的现有代码模式
  • 指定要处理的任何边界情况
  • 当准确性至关重要时,要求提供验证步骤

避免

  • 像修复代码这样模糊的请求,没有具体细节
  • 期望AI猜测项目架构
  • 跳过关键更改的测试验证
  • 在单次请求中进行大规模全面更改

常見問題

此技能支持哪些AI模型?
支持Claude、Codex和Claude Code平台。
此技能可以处理哪些类型的代码?
任何编程语言均可。请提供项目编码约定的上下文信息。
如何将此技能集成到工作流程中?
当需要编写、编辑或重构代码时调用此技能。请提供清晰的规范。
我的代码数据安全吗?
是的。此技能在本地运行,不会存储或外部传输您的代码。
为什么我的结果不准确?
确保您的提示具体明确。包括文件路径、预期行为和边界情况。
与直接编码相比有何不同?
此技能提供了一个用于实现的AI助手。复杂的架构决策仍然受益于人工审查。

開發者詳情

檔案結構

📄 SKILL.md