Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计通过

generic-feature-developer通用功能开发人员

Agent Skill

generic-feature-developer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,533

周安装

62

GitHub Stars

48

下载量

481
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:generic-feature-developer(通用功能开发人员)
来源仓库:https://github.com/travisjneuman/.claude
仓库路径:skills/generic-feature-developer
安装命令:
npx skills add https://github.com/travisjneuman/.claude --skill generic-feature-developer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/travisjneuman/.claude --skill generic-feature-developer

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合围绕代码变更和协作事项进行整理。
  • 可结合仓库状态和代码变更快速定位问题。
  • 安装前建议确认权限和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • generic-feature-developer 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
generic-feature-developer
description
Guide feature development with architecture patterns for any tech stack. Covers frontend, backend, full-stack, and automation projects. Use when adding new features, modifying systems, or planning changes.

Generic Feature Developer

Guide feature development across any tech stack.

When to Use This Skill

Use for:

  • Adding new features to existing codebase
  • Modifying or extending current systems
  • Planning architectural changes
  • Choosing between implementation approaches
  • Designing data flow for new functionality

Don't use when:

  • Pure UI/styling work → use generic-design-system
  • UX design decisions → use generic-ux-designer
  • Code review → use generic-code-reviewer

Development Workflow

  1. Understand - Read CLAUDE.md, identify affected files, list constraints
  2. Plan - Choose patterns, design data flow, identify edge cases
  3. Implement - Small testable changes, commit frequently
  4. Test & Document - Write tests, update docs, performance check

Architecture by Project Type

Static Sites

project/
├── index.html
├── css/           # variables.css, style.css
├── js/            # main.js, utils.js
└── assets/

Patterns: CSS variables, ES modules, event delegation

React/Next.js

src/
├── components/    # ui/, features/, layout/
├── hooks/
├── stores/
├── services/
└── types/

Patterns: Container/Presentational, custom hooks, Zustand/React Query

NestJS Backend

src/
├── modules/[feature]/
│   ├── feature.module.ts
│   ├── feature.controller.ts
│   ├── feature.service.ts
│   └── dto/
└── common/        # guards, decorators

Patterns: Module organization, DTOs, Guards, Prisma

Feature Decision Framework

Scope Assessment (First)

ScopeAction
Single componentImplement directly
Cross-cutting concernDesign interface first
New subsystemCreate architecture doc, get approval

Build vs Integrate

FactorBuild CustomUse Library
Core to productYes
Commodity featureYes
Tight integration neededYes
Time-criticalYes
Long-term ownershipYes

State Management Selection

ScopeSolution
Component-localuseState/useReducer
Feature-wideContext or Zustand slice
App-wideZustand/Redux store
Server stateReact Query/SWR
Form stateReact Hook Form

API Design Checklist

  • [ ] RESTful or GraphQL decision documented
  • [ ] Authentication method chosen
  • [ ] Error response format standardized
  • [ ] Pagination strategy defined
  • [ ] Rate limiting considered

Common Features

Adding UI Component

  1. Create component → 2. Export → 3. Add tests → 4. Document

Adding API Endpoint

  1. Define route → 2. Add validation → 3. Implement service → 4. Test

Adding State Management

  1. Define shape → 2. Create store → 3. Add actions → 4. Connect components

Database Changes

  1. Design schema → 2. Create migration → 3. Update models → 4. Add service

Data Flow Patterns

Frontend Data Flow

User Action → Event Handler → State Update → Re-render → UI Feedback
  • Optimistic updates: Update UI immediately, rollback on error
  • Pessimistic updates: Wait for server confirmation
  • Decision: Optimistic for low-risk (likes), pessimistic for high-risk (payments)

API Request Flow

Request → Auth Check → Validation → Business Logic → Database → Response
  • Early exit on validation failure
  • Transaction boundaries around multi-step operations
  • Consistent error response format

Event-Driven Patterns

Event TypeApproach
User eventsImmediate feedback
Server eventsWebSocket/SSE for real-time
Background tasksQueue for long operations

Error Handling Strategy

Error TypeFrontendBackend
ValidationInline field errors400 + field errors
AuthRedirect to login401/403
Not FoundEmpty state or redirect404
Server ErrorGeneric message + retry500 + log
NetworkOffline indicator + queueN/A

Frontend Pattern

try {
  await apiCall();
} catch (error) {
  if (error instanceof ValidationError) showFieldErrors(error.fields);
  else showGenericError();
}

Backend Pattern

if (err instanceof ValidationError)
  return res.status(400).json({ errors: err.errors });
if (err instanceof AuthError)
  return res.status(401).json({ message: "Unauthorized" });

Testing Strategy

LayerTypeTools
UIComponentTesting Library
LogicUnitJest, Vitest
APIIntegrationSupertest
E2EEnd-to-endPlaywright

Performance

Frontend: Code splitting, lazy loading, memoization, debounce Backend: DB indexing, caching, connection pooling, background jobs

Feature Implementation Checklist

Before marking feature complete:

  • [ ] Works for happy path
  • [ ] Error states handled
  • [ ] Loading states implemented
  • [ ] Edge cases tested
  • [ ] TypeScript types complete
  • [ ] Tests written
  • [ ] Documentation updated

See Also

  • Code Review Standards - Quality checks
  • Design Patterns - UI patterns
  • generic-design-system - For styling and visual consistency
  • generic-ux-designer - For UX flow decisions
  • Project CLAUDE.md - Workflow rules

READ shared standards when:

  • Complex feature design → CODE_REVIEW_STANDARDS.md (architecture section)
  • UI component patterns → DESIGN_PATTERNS.md (component section)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.73%
按下载量换算167

Claude

29%
按下载量换算139

Cursor

17.73%
按下载量换算85

Gemini CLI

9.61%
按下载量换算46

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills