api-error-taxonomy
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 "api-error-taxonomy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-164ec6fd396acdc6e5a1d071e4df822086058da5d2ad30d1e8ab914b6e6db95f. Verify the upstream source and version against https://github.com/proflead/codex-skills-library before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Defines consistent API error codes and responses. Intended for mid-level developers who need to implement error standardization.
Introduction source: third_party · proflead · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Define consistent API error codes and responses. Use when a mid-level developer needs error standardization.
- Inputs and outputs
- Current error responses and status usage. Client expectations for retries and messaging. Logging and observability requirements.
- Testing
- Not tested
Browse files
Frontmatter
name: api-error-taxonomy
description: Define consistent API error codes and responses. Use when a mid-level developer needs error standardization.API Error Taxonomy
Purpose
Define consistent API error codes and responses.
Inputs to request
- Current error responses and status usage.
- Client expectations for retries and messaging.
- Logging and observability requirements.
Workflow
- List common error categories and HTTP mappings.
- Define error payload shape and fields.
- Set guidelines for logging and client messaging.
Output
- Error taxonomy table and examples.
Quality bar
- Ensure errors are machine-parseable.
- Align retryable vs non-retryable semantics.
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 API 错误代码标准化方案,适用于中级开发人员实现错误一致性
- 覆盖常见错误分类、HTTP 映射及机器可解析性要求,实用性强
Highlights
- description 明确指出目标用户和典型使用场景,边界清晰
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档未设置独立的 When to Use 章节说明具体使用时机
Recommendation: 建议增加 When to Use 章节,列举典型触发场景如 'API 重构时统一错误格式' 或 '新服务上线前定义错误规范'
-
缺少端到端完整示例 Reported severity: Minor
Workflow 提到输出错误表示例,但未提供具体 JSON 响应样例
Recommendation: 建议在 Output 部分补充一个完整的错误响应 JSON 示例,展示 error code、message、retryable 等字段
Highlights
- 结构清晰,包含 Purpose、Inputs、Workflow、Output、Quality bar 等必要模块
Areas to improve
-
未覆盖客户端兼容性异常处理 Reported severity: Minor
未说明当客户端无法解析新错误格式时的降级或迁移策略
Recommendation: 建议在 Quality bar 或 Workflow 中增加对向后兼容性的考虑,例如通过版本化错误响应或提供迁移指南
Highlights
- 强调机器可解析性和重试语义对齐,符合工程实践最佳标准
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.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.