Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

codingcoding 搜索

Agent Skill

coding 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,727

周安装

195

GitHub Stars

公开资料未说明

下载量

1,544
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coding(coding 搜索)
来源仓库:https://github.com/davidkiss/smart-ai-skills
仓库路径:skills/coding
安装命令:
npx skills add https://github.com/davidkiss/smart-ai-skills --skill coding
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/davidkiss/smart-ai-skills --skill coding

简介

coding 记录任务执行中的错误、纠正与经验缺口,持续沉淀最佳实践与能力边界。

  • 适用于代码审查、重构指导与新特性实现,强调 DRY、KISS、YAGNI 原则。
  • 帮助 Agent 识别重复逻辑、过度工程与未验证假设,提升产出质量。
  • 安装命令为 npx skills add https://github.com/davidkiss/smart-ai-skills --skill coding。
  • 每次使用后应及时更新知识库,避免相同错误重复发生。

SKILL.md

General Coding Best Practices

Overview

This skill provides a set of core principles and practices for software development. Use this when implementing new features, refactoring existing code, or reviewing code to ensure high quality and maintainability.

Core Principles

  • DRY (Don't Repeat Yourself): Avoid logic duplication. If you find yourself writing the same code twice, abstract it.
  • KISS (Keep It Simple, Stupid): Prefer simple, straightforward solutions over complex ones. Avoid over-engineering.
  • YAGNI (You Ain't Gonna Need It): Don't implement features or abstractions until they are actually needed.
  • SOLID Principles:

- Single Responsibility: A class/function should have one reason to change. - Open/Closed: Software entities should be open for extension but closed for modification. - Liskov Substitution: Subtypes must be substitutable for their base types. - Interface Segregation: Many client-specific interfaces are better than one general-purpose interface. - Dependency Inversion: Depend on abstractions, not concretions.

  • Existing Guidelines: - Follow existing guidelines in the project (e.g. CLAUDE.md, AGENT.md, etc.)

Implementation Guidelines

  • Clean Code: Use descriptive names for variables, functions, and classes. Write code that is easy to read and understand.
  • Small Functions: Keep functions small and focused on a single task.
  • Error Handling: Use proactive error handling. Validate inputs and handle exceptions gracefully.
  • Documentation: Document the *why*, not the *what*. Use self-documenting code where possible.
  • Security: Sanitize inputs, avoid hardcoding secrets, and follow the principle of least privilege.
  • Performance: Be mindful of time and space complexity, but avoid premature optimization.

Automated Analysis & Quality Control

  • Static Analysis & Linting: Every project MUST have automated linting, formatting and static analysis (e.g., ESLint, Prettier, Ruff, Sonar).

- Check: Identify if these tools are configured. - Propose: If missing, immediately propose adding them (e.g., npm install --save-dev eslint).

  • Automated Tests: Ensure there is a test runner configured (e.g., Jest, Pytest).

- Check: Look for tests/ directory or test configurations in package.json/pyproject.toml. - Propose: If missing, propose a testing framework and initial setup.

Verifying Code Changes

Before completing any task, you MUST perform the following verification loop:

  1. Simplification: Use the code-simplifier plugin to make the code cleaner and more maintainable.
  2. Self-Code Review:

- Review the changes against the task requirements. - Ensure compliance with this coding skill (DRY, KISS, SOLID). - Check for potential security vulnerabilities or performance regressions.

  1. Static Analysis & Linting:

- If project does not have linting/formatting configured, propose adding it. - Run the project's linting/format commands (e.g., npm run lint, prettier --check.). - Fix all reported issues.

  1. Unit Testing:

- If project does not have a test runner configured, propose adding one. - Add Missing Tests: If new logic was added, write concise unit tests covering the happy path and edge cases. - Run Tests: Execute the test suite (e.g., npm test, pytest). - Verification: Ensure all tests pass. If they fail, fix the implementation or the test.

Key Principles

  • Clarity over Cleverness: Write code for humans first, machines second.
  • Consistency: Follow the established patterns and style of the existing codebase.
  • Composition over Inheritance: Prefer combining simple objects to build complex ones rather than creating deep inheritance hierarchies.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.92%
按下载量换算508

Claude

29.17%
按下载量换算450

Cursor

20.61%
按下载量换算318

Gemini CLI

9.84%
按下载量换算152

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills