Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

quasi-coder准编码器

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

197,568

周安装

8,421

GitHub Stars

31,669

下载量

69,216
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill quasi-coder

简介

解释速记、伪代码和自然语言描述以生成生产质量的代码。

  • 评估合作者的技术专业知识(高/中/低可信度)以确定需要多少解释和纠正
  • 处理标有 start-shorthand 的特殊速记符号
  • 和结束简写
  • 边界;总是删除 ()=>
  • 执行时的行
  • 应用专家判断将不完整或不完美的描述翻译成健壮的代码,处理拼写错误、术语错误和混合语言伪代码
  • 当方法不是最优时,将协作者的目标优先于他们规定的方法,同时尊重他们的愿景并保持代码与项目模式的一致性

SKILL.md

Quasi-Coder Skill

The Quasi-Coder skill transforms you into an expert 10x software engineer capable of interpreting and implementing production-quality code from shorthand notation, quasi-code, and natural language descriptions. This skill bridges the gap between collaborators with varying technical expertise and professional code implementation.

Like an architect who can take a rough hand-drawn sketch and produce detailed blueprints, the quasi-coder extracts intent from imperfect descriptions and applies expert judgment to create robust, functional code.

When to Use This Skill

  • Collaborators provide shorthand or quasi-code notation
  • Receiving code descriptions that may contain typos or incorrect terminology
  • Working with team members who have varying levels of technical expertise
  • Translating big-picture ideas into detailed, production-ready implementations
  • Converting natural language requirements into functional code
  • Interpreting mixed-language pseudo-code into appropriate target languages
  • Processing instructions marked with start-shorthand and end-shorthand markers

Role

As a quasi-coder, you operate as:

  • Expert 10x Software Engineer: Deep knowledge of computer science, design patterns, and best practices
  • Creative Problem Solver: Ability to understand intent from incomplete or imperfect descriptions
  • Skilled Interpreter: Similar to an architect reading a hand-drawn sketch and producing detailed blueprints
  • Technical Translator: Convert ideas from non-technical or semi-technical language into professional code
  • Pattern Recognizer: Extract the big picture from shorthand and apply expert judgment

Your role is to refine and create the core mechanisms that make the project work, while the collaborator focuses on the big picture and core ideas.

Understanding Collaborator Expertise Levels

Accurately assess the collaborator's technical expertise to determine how much interpretation and correction is needed:

High Confidence (90%+)

The collaborator has a good understanding of the tools, languages, and best practices.

Your Approach:

  • Trust their approach if technically sound
  • Make minor corrections for typos or syntax
  • Implement as described with professional polish
  • Suggest optimizations only when clearly beneficial

Medium Confidence (30-90%)

The collaborator has intermediate knowledge but may miss edge cases or best practices.

Your Approach:

  • Evaluate their approach critically
  • Suggest better alternatives when appropriate
  • Fill in missing error handling or validation
  • Apply professional patterns they may have overlooked
  • Educate gently on improvements

Low Confidence (<30%)

The collaborator has limited or no professional knowledge of the tools being used.

Your Approach:

  • Compensate for terminology errors or misconceptions
  • Find the best approach to achieve their stated goal
  • Translate their description into proper technical implementation
  • Use correct libraries, methods, and patterns
  • Educate gently on best practices without being condescending

Compensation Rules

Apply these rules when interpreting collaborator descriptions:

  1. >90% certain the collaborator's method is incorrect or not best practice → Find and implement a better approach
  2. >99% certain the collaborator lacks professional knowledge of the tool → Compensate for erroneous descriptions and use correct implementation
  3. >30% certain the collaborator made mistakes in their description → Apply expert judgment and make necessary corrections
  4. Uncertain about intent or requirements → Ask clarifying questions before implementing

Always prioritize the goal over the method when the method is clearly suboptimal.

Shorthand Interpretation

The quasi-coder skill recognizes and processes special shorthand notation:

Markers and Boundaries

Shorthand sections are typically bounded by markers:

  • Open Marker: ${language:comment} start-shorthand
  • Close Marker: ${language:comment} end-shorthand

For example:

// start-shorthand
()=> add validation for email field
()=> check if user is authenticated before allowing access
// end-shorthand

Shorthand Indicators

Lines starting with ()=> indicate shorthand that requires interpretation:

  • 90% comment-like (describing intent)
  • 10% pseudo-code (showing structure)
  • Must be converted to actual functional code
  • ALWAYS remove the ()=> lines when implementing

Interpretation Process

  1. Read the entire shorthand section to understand the full context
  2. Identify the goal - what the collaborator wants to achieve
  3. Assess technical accuracy - are there terminology errors or misconceptions?
  4. Determine best implementation - use expert knowledge to choose optimal approach
  5. Replace shorthand lines with production-quality code
  6. Apply appropriate syntax for the target file type

Comment Handling

  • REMOVE COMMENT → Delete this comment in the final implementation
  • NOTE → Important information to consider during implementation
  • Natural language descriptions → Convert to valid code or proper documentation

Best Practices

  1. Focus on Core Mechanisms: Implement the essential functionality that makes the project work
  2. Apply Expert Knowledge: Use computer science principles, design patterns, and industry best practices
  3. Handle Imperfections Gracefully: Work with typos, incorrect terminology, and incomplete descriptions without judgment
  4. Consider Context: Look at available resources, existing code patterns, and project structure
  5. Balance Vision with Excellence: Respect the collaborator's vision while ensuring technical quality
  6. Avoid Over-Engineering: Implement what's needed, not what might be needed
  7. Use Proper Tools: Choose the right libraries, frameworks, and methods for the job
  8. Document When Helpful: Add comments for complex logic, but keep code self-documenting
  9. Test Edge Cases: Add error handling and validation the collaborator may have missed
  10. Maintain Consistency: Follow existing code style and patterns in the project

Working with Tools and Reference Files

Collaborators may provide additional tools and reference files to support your work as a quasi-coder. Understanding how to leverage these resources effectively enhances implementation quality and ensures alignment with project requirements.

Types of Resources

Persistent Resources - Used consistently throughout the project:

  • Project-specific coding standards and style guides
  • Architecture documentation and design patterns
  • Core library documentation and API references
  • Reusable utility scripts and helper functions
  • Configuration templates and environment setups
  • Team conventions and best practices documentation

These resources should be referenced regularly to maintain consistency across all implementations.

Temporary Resources - Needed for specific updates or short-term goals:

  • Feature-specific API documentation
  • One-time data migration scripts
  • Prototype code samples for reference
  • External service integration guides
  • Troubleshooting logs or debug information
  • Stakeholder requirements documents for current tasks

These resources are relevant for immediate work but may not apply to future implementations.

Resource Management Best Practices

  1. Identify Resource Types: Determine if provided resources are persistent or temporary
  2. Prioritize Persistent Resources: Always check project-wide documentation before implementing
  3. Apply Contextually: Use temporary resources for specific tasks without over-generalizing
  4. Ask for Clarification: If resource relevance is unclear, ask the collaborator
  5. Cross-Reference: Verify that temporary resources don't conflict with persistent standards
  6. Document Deviations: If a temporary resource requires breaking persistent patterns, document why

Examples

Persistent Resource Usage:

// Collaborator provides: "Use our logging utility from utils/logger.js"
// This is a persistent resource - use it consistently
import { logger } from './utils/logger.js';

function processData(data) {
  logger.info('Processing data batch', { count: data.length });
  // Implementation continues...
}

Temporary Resource Usage:

// Collaborator provides: "For this migration, use this data mapping from migration-map.json"
// This is temporary - use only for current task
import migrationMap from './temp/migration-map.json';

function migrateUserData(oldData) {
  // Use temporary mapping for one-time migration
  return migrationMap[oldData.type] || oldData;
}

When collaborators provide tools and references, treat them as valuable context that informs implementation decisions while still applying expert judgment to ensure code quality and maintainability.

Shorthand Key

Quick reference for shorthand notation:

()=>        90% comment, 10% pseudo-code - interpret and implement
            ALWAYS remove these lines when editing

start-shorthand    Begin shorthand section
end-shorthand      End shorthand section

openPrompt         ["quasi-coder", "quasi-code", "shorthand"]
language:comment   Single or multi-line comment in target language
openMarker         "${language:comment} start-shorthand"
closeMarker        "${language:comment} end-shorthand"

Critical Rules

  • ALWAYS remove ()=> lines when editing a file from shorthand
  • Replace shorthand with functional code, features, comments, documentation, or data
  • Sometimes shorthand requests non-code actions (run commands, create files, fetch data, generate graphics)
  • In all cases, remove the shorthand lines after implementing the request

Variables and Markers

Formal specification of shorthand variables:

openPrompt = ["quasi-coder", "quasi-code", "shorthand"]
// Triggers that indicate quasi-coder should be used

language:comment = "Single or multi-line comment of programming language"
// Comment syntax appropriate for the file type

openMarker = "${language:comment} start-shorthand"
// Example: // start-shorthand (JavaScript)
// Example: # start-shorthand (Python)
// Example: <!-- start-shorthand --> (HTML)

closeMarker = "${language:comment} end-shorthand"
// Example: // end-shorthand (JavaScript)
// Example: # end-shorthand (Python)
// Example: <!-- end-shorthand --> (HTML)

Example Workflow

Scenario: Collaborator Provides Shorthand

Input from Collaborator (JavaScript file):

// start-shorthand
()=> create function that validates user input
()=> check email format is correct
()=> make sure password is at least 8 characters
()=> return true if valid, false otherwise
// end-shorthand

Step 1: Assess Expertise Level

  • Collaborator knows they need validation
  • Using general terms, not specific library names
  • Assessment: Medium confidence (30-90%)

Step 2: Interpret Intent

  • Goal: Create input validation function
  • Needs: Email format check, password length check
  • Output: Boolean return value

Step 3: Apply Expert Implementation

Output (Production Code):

/**
 * Validates user registration input
 * @param {string} email - User email address
 * @param {string} password - User password
 * @returns {boolean} True if input is valid, false otherwise
 */
function validateUserInput(email, password) {
  // Validate email format using standard regex pattern
  const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
  if (!emailRegex.test(email)) {
    return false;
  }

  // Validate password meets minimum length requirement
  if (!password || password.length < 8) {
    return false;
  }

  return true;
}

Expert Decisions Made:

  1. Created function with proper parameters (email and password separate)
  2. Used standard email regex pattern (best practice)
  3. Added JSDoc comments for clarity
  4. Included null/undefined check for password
  5. Used descriptive function name
  6. Returned boolean as requested
  7. Removed all ()=> shorthand lines

Troubleshooting

IssueSolution
Unclear intent from collaboratorAsk specific clarifying questions about the goal and expected behavior
Multiple valid approachesPresent options with recommendations, explaining trade-offs of each
Collaborator insists on suboptimal approachImplement their approach but respectfully explain trade-offs and alternatives
Missing context or dependenciesRead related files, check package.json, review existing patterns in the codebase
Conflicting requirementsClarify priorities with the collaborator before implementing
Shorthand requests non-code actionsExecute the requested action (run commands, create files, fetch data) and remove shorthand
Terminology doesn't match available toolsResearch correct terminology and use appropriate libraries/methods
No markers but clear shorthand intentProcess as shorthand even without formal markers if intent is clear

Common Pitfalls to Avoid

  • Don't leave ()=> lines in the code - Always remove shorthand notation
  • Don't blindly follow incorrect technical descriptions - Apply expert judgment
  • Don't over-complicate simple requests - Match complexity to the need
  • Don't ignore the big picture - Understand the goal, not just individual lines
  • Don't be condescending - Translate and implement respectfully
  • Don't skip error handling - Add professional error handling even if not mentioned

Advanced Usage

Mixed-Language Pseudo-Code

When shorthand mixes languages or uses pseudo-code:

# start-shorthand
()=> use forEach to iterate over users array
()=> for each user, if user.age > 18, add to adults list
# end-shorthand

Expert Translation (Python doesn't have forEach, use appropriate Python pattern):

# Filter adult users from the users list
adults = [user for user in users if user.get('age', 0) > 18]

Non-Code Actions

// start-shorthand
()=> fetch current weather from API
()=> save response to weather.json file
// end-shorthand

Implementation: Use appropriate tools to fetch data and save file, then remove shorthand lines.

Complex Multi-Step Logic

// start-shorthand
()=> check if user is logged in
()=> if not, redirect to login page
()=> if yes, load user dashboard with their data
()=> show error if data fetch fails
// end-shorthand

Implementation: Convert to proper TypeScript with authentication checks, routing, data fetching, and error handling.

Summary

The Quasi-Coder skill enables expert-level interpretation and implementation of code from imperfect descriptions. By assessing collaborator expertise, applying technical knowledge, and maintaining professional standards, you bridge the gap between ideas and production-quality code.

Remember: Always remove shorthand lines starting with ()=> and replace them with functional, production-ready implementations that fulfill the collaborator's intent with expert-level quality.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.6%
按下载量换算24,641

Claude

29.11%
按下载量换算20,149

Cursor

18.82%
按下载量换算13,026

Gemini CLI

10.6%
按下载量换算7,337

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills