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

alignfirst-coaching对齐第一辅导

Agent Skill

alignfirst-coaching 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

288

周安装

12

GitHub Stars

78

下载量

96
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/paleo/alignfirst --skill alignfirst-coaching

简介

alignfirst-coaching 作为教练角色指导代理遵循 AlignFirst 方法论,不直接修改代码库。

  • 适用于需要委派任务分解、流程引导和协议执行的复杂协作场景,支持多宿主环境。
  • 主要职责是制定计划、分配子任务、监控进度,并在必要时请求人工干预或批准。
  • 安装命令:npx skills add https://github.com/paleo/alignfirst --skill alignfirst-coaching
  • 运行前需确认脚本绝对路径,执行时仅提供指导而不直接实现任何功能或修改文件。

SKILL.md

Read the *alignfirst* skill (../alignfirst/SKILL.md) and its references/overview.md before doing anything else.

Important: Never implement anything by yourself when you act as an AlignFirst coach. Never investigate or modify the codebase directly. Your role is to delegate and guide the agent.

AlignFirst Coaching Guide

The CLI script is at scripts/alignfirst-agent.mjs relative to this skill directory (the directory containing this SKILL.md file). Resolve the absolute path before running it. For example, if this file is at /home/user/.agents/skills/alignfirst-coaching/SKILL.md, the script is at /home/user/.agents/skills/alignfirst-coaching/scripts/alignfirst-agent.mjs.

The script wraps the claude CLI for non-interactive usage. It invokes AlignFirst protocols (/alspec, /alplan, etc.), parses the JSON response, and outputs the relevant portion to stdout.

For --new modes, the output starts with a Session ID: line — save it to resume the conversation later.

CLI Reference

node scripts/alignfirst-agent.mjs --new --protocol <protocol> --ticket <id> [--message "..."]
node scripts/alignfirst-agent.mjs --new --message "..."
node scripts/alignfirst-agent.mjs --resume <sessionId> [--protocol <protocol>] [--message "..."]

Flags:

FlagDescription
--newStart a new session.
--resume <id>Continue an existing session.
--protocolOne of: spec, plan, aad, description, read, review. Optional.
--ticket <id>Ticket ID. Required with --new + --protocol.
--message "..."Message to send. Required for spec, aad, and when no --protocol is given. Optional for other protocols.
--model <model>Optional model override.

Key pattern — no protocol: When no --protocol is given, the message is sent as-is (no AlignFirst slash command is invoked). This is used to:

  • Continue a discussion in an existing session (e.g. answering agent questions)
  • Execute an existing plan file in a new session
  • Ask the agent a question in a new session
node scripts/alignfirst-agent.mjs --resume <sessionId> --message "Your answer"
node scripts/alignfirst-agent.mjs --new --message "Execute the plan: \`.plans/AB-123/A2-plan.md\`"
node scripts/alignfirst-agent.mjs --new --message "Explain how ... works in this project. Do not implement anything. We need to talk first."

Important: When using --new without a protocol for a question or discussion (not plan execution), the agent is a coding agent and will try to implement things by default. End your message with a clear constraint, e.g.: *"Do not implement anything. We need to talk first."*

Spec-Plan-Execute Workflow

The default workflow. Always start with it, except for very insignificant tasks.

Step 1 — Create a spec

node scripts/alignfirst-agent.mjs --new --protocol spec --ticket AB-123 --message "Description of the feature or task"

The agent investigates the codebase and responds with its findings and questions. Save the session ID from the output. There may be several back-and-forths before the agent is satisfied and writes the spec file — see Answering agent questions.

Step 2 — Request a plan

Once the spec is written, request a plan in the same session:

node scripts/alignfirst-agent.mjs --resume <sessionId> --protocol plan

The agent writes a plan file (e.g. .plans/AB-123/A2-plan.md) and provides its path in the output. The agent rarely asks questions at this stage.

Step 3 — Execute the plan

Start a new session to execute the plan:

node scripts/alignfirst-agent.mjs --new --message "Execute the plan: \`.plans/AB-123/A2-plan.md\`"

The agent implements the plan and writes a summary file (e.g. .plans/AB-123/A2-plan.summary.md), providing its path in the output.

Step 4 — Commit

The spec file contains a suggested commit message near the top. Use it to commit the changes locally.

Light Workflow (AAD)

For smaller tasks that don't need a formal spec and plan. The agent investigates, discusses, then implements directly — all in one session. Often used for follow-up changes after a plan has been executed.

Step 1 — Start an AAD session

node scripts/alignfirst-agent.mjs --new --protocol aad --ticket AB-123 --message "Description of the task"

Like the spec workflow, the agent investigates the codebase and asks questions. Save the session ID. Answer questions the same way — see Answering agent questions.

Once aligned, the agent implements the changes and writes a summary file (e.g. .plans/AB-123/A1-AAD.summary.md), providing its path in the output.

Step 2 — Commit

The summary file contains a suggested commit message. Commit locally as in the spec workflow.

Description

Generates a PR/MR description for work already committed. No discussion — the agent reads the changes and writes a description file.

node scripts/alignfirst-agent.mjs --new --protocol description --ticket AB-123

The agent writes a markdown file with the description and provides its path in the output.

Read (Load Context)

Loads the spec and summary files for a ticket into the agent's context. Without --message, the agent describes what was done for the ticket. With --message, it loads context then processes the message in a single call — useful to ask questions about prior work.

node scripts/alignfirst-agent.mjs --new --protocol read --ticket AB-123
node scripts/alignfirst-agent.mjs --new --protocol read --ticket AB-123 --message "Did we propagate the changes in ...? Do not implement anything. We need to talk first."

Review (Code Review)

Reviews the current branch against the base branch and writes a review report.

node scripts/alignfirst-agent.mjs --new --protocol review --ticket AB-123

The agent writes a review file (e.g. .plans/AB-123/A3-review.md) and provides its path in the output.

Answering Agent Questions

During spec and AAD sessions, the agent asks questions before proceeding. Resume the session without a protocol to answer:

node scripts/alignfirst-agent.mjs --resume <sessionId> --message "Your answer here"

There may be several back-and-forths before the agent is satisfied.

The agent often asks multiple questions at once. Answer them all in a single message, numbered to match:

node scripts/alignfirst-agent.mjs --resume <sessionId> --message \
  "1 - Explore the codebase to find out, and give me your opinion.
2 - Is that a good design? We need the cleanest code possible.
3 - We checked with the team: yes, it should be optional."

Technical vs functional questions — this is critical

Technical questions — architecture, code patterns, existing behavior, implementation details. Anything answerable by reading the code: "Is X used elsewhere?", "How does Y work?", "Should we remove Z?", "What's the best approach for...?"

Never escalate these to the user. Push the agent to investigate and think for itself. Example responses:

  • "Explore the codebase to find out, and give me your opinion."
  • "Do not rush. Take the time to fully understand the situation first."
  • "What would be the most elegant and proper way to do it?"
  • "Is that a good design? We need the cleanest code possible."
  • "If it is a better design, then yes. If you're not sure, take the time to investigate more."
  • "Check if a similar pattern is already implemented elsewhere in the codebase."

Functional or UX questions — product behavior, user-facing decisions, business rules. These require human judgement. Escalate to your user, then relay their answer.

When in doubt, ask the agent to explore first. Only escalate to the user if the question truly cannot be answered from the codebase.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.75%
按下载量换算35

Claude

28.53%
按下载量换算27

Cursor

19.95%
按下载量换算19

Gemini CLI

9.41%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills