Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

code-assistant代码助理

Agent Skill

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

总安装

768

周安装

33

GitHub Stars

9

下载量

269
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kriscard/kriscard-claude-plugins --skill code-assistant

简介

code-assistant 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 使用时需要结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写。
  • 涉及命令执行时,应在提示词中明确确认步骤和失败处理方式。

SKILL.md

Code Assistant

Intelligent orchestrator that analyzes your coding request and automatically selects the most appropriate specialist agent or coordinates multiple agents for complex tasks.

When to Use

This skill triggers automatically when you need help with:

  • Writing new code or features
  • Debugging issues or errors
  • Refactoring existing code
  • Frontend development
  • TypeScript-specific work
  • React applications
  • Tanstack Start applications
  • Next.js applications
  • Code security reviews
  • UI/UX design decisions

How It Works

Phase 1: Analysis

Analyzes your request to determine:

  • Language/framework (TypeScript, React, Next.js, etc.)
  • Task type (new code, debugging, refactoring, review, design)
  • Complexity (single agent vs multi-agent coordination)
  • Security sensitivity (client-side security concerns)
  • Performance concerns (waterfalls, bundle size, RSC optimization)
  • Code audit requests (best practices check, review for patterns)

Phase 2: Agent Selection

Based on analysis, selects the optimal specialist:

ContextSelected AgentWhy
TypeScript codetypescript-coderType-safe, idiomatic TypeScript
React/Vue componentsfrontend-developerModern frontend patterns
Next.js specificnextjs-developerApp Router, RSC expertise
React/Next.js performancereact-best-practices skillWaterfall elimination, bundle optimization
React best practices auditreact-best-practices skillCode review against 45 Vercel rules
Client-side securityfrontend-security-coderXSS prevention, sanitization
Debugging issuesdebuggerError analysis specialist
Code review neededcode-reviewerQuality assurance
Refactoring taskcode-refactoring-specialistClean code patterns
UI/UX decisionsui-ux-designerDesign systems
General implementationcoderVersatile fallback

Phase 3: Coordination

For complex requests requiring multiple agents:

  1. Primary agent handles main task
  2. Secondary agents handle supporting tasks
  3. Orchestrator coordinates handoffs

Example multi-agent workflow:

Request: "Build a secure Next.js form with TypeScript"
     ↓
Orchestrator coordinates:
  1. nextjs-developer → Creates form component structure
  2. typescript-coder → Adds type-safe validation
  3. frontend-security-coder → Implements XSS protection
  4. ui-ux-designer → Reviews accessibility
     ↓
Delivers complete, secure, well-typed component

Agent Profiles

typescript-coder

Expertise: Type-safe TypeScript, "inevitable code" patterns Best for: Complex typing, generics, strict type safety

frontend-developer

Expertise: React 19+, Vue 3, modern web development Best for: Component composition, state management, performance

nextjs-developer

Expertise: Next.js 14+, App Router, Server Components Best for: Full-stack Next.js, SSR, edge functions

frontend-security-coder

Expertise: Client-side security, XSS prevention Best for: User input handling, sanitization, security reviews

debugger

Expertise: Error analysis, test failures, unexpected behavior Best for: Fixing bugs, understanding stack traces

code-reviewer

Expertise: Code quality, best practices, security scanning Best for: PR reviews, quality assurance

code-refactoring-specialist

Expertise: Clean code, reducing complexity, maintainability Best for: Simplifying logic, improving readability

ui-ux-designer

Expertise: Interface design, accessibility, design systems Best for: Component design, user flows, design tokens

coder

Expertise: General implementation from specifications Best for: PRD-based development, general coding tasks

Selection Algorithm

IF request contains ["Next.js", "App Router", "Server Component"]
   → nextjs-developer

ELSE IF request contains ["React" AND ("best practices" OR "audit" OR "optimize" OR "performance")]
   → react-best-practices skill

ELSE IF request contains ["waterfall", "bundle size", "re-render", "RSC optimization"]
   → react-best-practices skill

ELSE IF request contains ["TypeScript" AND (complex types OR generics)]
   → typescript-coder

ELSE IF request contains ["React", "Vue", "frontend", "component"]
   → frontend-developer

ELSE IF request contains ["XSS", "sanitize", "security", "user input"]
   → frontend-security-coder

ELSE IF request contains ["debug", "error", "bug", "failing test"]
   → debugger

ELSE IF request contains ["review", "code quality", "best practices"]
   → code-reviewer

ELSE IF request contains ["refactor", "simplify", "clean up"]
   → code-refactoring-specialist

ELSE IF request contains ["design", "UI", "UX", "interface"]
   → ui-ux-designer

ELSE IF request contains specific implementation requirements
   → coder

ELSE
   → Ask user to clarify or use coder as default

Examples

Example 1: Automatic Selection

User: "I need to debug this React component that's crashing"

Code Assistant analyzes:
  - Task: debugging
  - Framework: React
  - Primary concern: errors

Selects: debugger agent
Announces: "Using debugger to analyze your React component issue"

Example 2: Multi-Agent Coordination

User: "Create a user registration form in Next.js with TypeScript validation"

Code Assistant analyzes:
  - Framework: Next.js
  - Language: TypeScript
  - Task: new feature
  - Concerns: validation, security

Coordinates:
  1. nextjs-developer creates form structure
  2. typescript-coder adds type-safe validation
  3. frontend-security-coder reviews input handling

Delivers: Complete, type-safe, secure registration form

Example 3: Ambiguous Request

User: "Help me with my code"

Code Assistant:
  "I can help! To select the best specialist, could you tell me more:
   - What language/framework? (React, Next.js, TypeScript, etc.)
   - What do you need? (new feature, debugging, refactoring, review)
   - Any specific concerns? (performance, security, types)"

Override Options

Users can explicitly request specific agents:

  • "Use typescript-coder for this"
  • "I want the nextjs-developer"
  • "Let the debugger handle this"

When explicit request is made, orchestrator defers to user choice.

Gotchas

  • Don't over-route simple tasks — if the user just wants a quick fix, do it directly instead of spawning a specialist agent
  • Agent overhead adds ~5 seconds — for trivial changes (rename, add a log, fix a typo), skip orchestration entirely
  • The selection algorithm is a guideline, not rigid rules — use judgment when context suggests a different agent
  • Multi-agent coordination is sequential — don't promise parallel execution
  • When the user explicitly names an agent ("use the debugger"), defer to their choice immediately

Fallback Behavior

If no clear agent match:

  1. Ask clarifying questions
  2. Use coder as versatile default
  3. Announce selection rationale

Performance Notes

  • Analysis overhead: ~5 seconds for complex requests
  • Single agent: Same as direct agent invocation
  • Multi-agent: Sequential execution (no parallelization yet)

Future Enhancements

  • Parallel multi-agent execution
  • Learning from past selections
  • Context-aware preloading
  • User preference memory

See Also

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.18%
按下载量换算89

Claude

30.37%
按下载量换算82

Cursor

19.48%
按下载量换算52

Gemini CLI

9.38%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills