Source profileQuality 92/100Review permissions

hua-bang/pulse-agent/apps/remote-server/.pulse-coder/skills/requirement-to-mr/SKILL.md

requirement-to-mr

Explicitly authorized workflow that converts a requirement into an implemented change, validation evidence, commit, push, and MR for this Pulse Coder project.

Source repository stars
28
Declared platforms
0
Static risk flags
2
Last source update
2026-08-24
Source checked
2026-08-25

Decision brief

What it does: where it fits

This skill turns a short product/engineering request into a reviewable MR with minimal back-and-forth. It is optimized for the current Pulse Coder TypeScript pnpm monorepo.

Best for

  • The user names this skill directly:
  • “用 requirement-to-mr 做这个需求”
  • “按 requirement-to-mr 流程执行”

Not for

  • “帮我看看这个需求怎么做”
  • “支持一下 X”

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/hua-bang/pulse-agent --skill "apps/remote-server/.pulse-coder/skills/requirement-to-mr"
Safe inspection promptEditorial

Inspect the Agent Skill "requirement-to-mr" from https://github.com/hua-bang/pulse-agent/blob/8245c14cdee086f38128a0e4a39ccff702014ab0/apps/remote-server/.pulse-coder/skills/requirement-to-mr/SKILL.md at commit 8245c14cdee086f38128a0e4a39ccff702014ab0. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    End-to-End Workflow

    For multi-step work, use task tracking:

    List existing active tasks.Create focused tasks for intake, implementation, validation, and MR handoff.Keep one primary task inprogress.
  2. 02

    8. Review the Diff Before Commit

    Diff matches the requirement.

    Diff matches the requirement.No secrets, local paths, logs, generated junk, or unrelated files are included.Tests/docs are included when needed.
  3. 03

    When to Use

    Use this skill only when the user explicitly authorizes an end-to-end implementation workflow that includes commit/push/MR or PR creation.

    The user names this skill directly:“用 requirement-to-mr 做这个需求”“按 requirement-to-mr 流程执行”
  4. 04

    When Not to Use

    Do not trigger this skill merely because the user asks to implement, support, inspect, or plan something.

    “帮我看看这个需求怎么做”“支持一下 X”“分析一下能不能做”
  5. 05

    Operating Mode

    Default behavior after valid trigger: one-time authorization, then autonomous execution.

    Default behavior after valid trigger: one-time authorization, then autonomous execution.The user should not need to confirm every step. Once the skill is explicitly triggered, proceed directly from requirement intake to implementation, validation, commit, push, and MR creation, unless a hard stop condition…Ask at most one clarification question before starting, and only when the answer materially changes the implementation.

Permission review

Static risk signals and limitations

Reads files

low · line 85

The documentation asks the agent to read local files, directories, or repositories.

| Skills only | `.pulse-coder/skills/<name>/SKILL.md` | Check frontmatter and read generated file |

Runs scripts

medium · line 112

The documentation asks the agent to run terminal commands or scripts.

git status --short

Runs scripts

medium · line 113

The documentation asks the agent to run terminal commands or scripts.

git branch --show-current

Reads files

low · line 202

The documentation asks the agent to read local files, directories, or repositories.

| Skill/docs only | Read generated file; verify YAML frontmatter has `name` and `description` |

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars28SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
hua-bang/pulse-agent
Skill path
apps/remote-server/.pulse-coder/skills/requirement-to-mr/SKILL.md
Commit
8245c14cdee086f38128a0e4a39ccff702014ab0
License
MIT
Collected
2026-08-25
Default branch
master
View the original SKILL.md

Requirement to MR Skill

This skill turns a short product/engineering request into a reviewable MR with minimal back-and-forth. It is optimized for the current Pulse Coder TypeScript pnpm monorepo.

When to Use

Use this skill only when the user explicitly authorizes an end-to-end implementation workflow that includes commit/push/MR or PR creation.

Valid triggers include one of these patterns:

  1. The user names this skill directly:
    • “用 requirement-to-mr 做这个需求”
    • “按 requirement-to-mr 流程执行”
  2. The user explicitly asks for implementation plus MR/PR handoff:
    • “帮我实现这个需求,改完提交并提 MR”
    • “修一下这个 bug,验证后提 PR”
    • “改完 commit、push 并创建 MR”
  3. The user explicitly grants low-interaction execution and asks for MR/PR output:
    • “按低交互流程直接实现并出 MR”
    • “这个需求你自己落地,最后提 PR”

The trigger must include either:

  • explicit skill name / low-interaction workflow authorization, or
  • both implementation intent and MR/PR/commit/push handoff intent.

When Not to Use

Do not trigger this skill merely because the user asks to implement, support, inspect, or plan something.

Examples that should not trigger this skill by themselves:

  • “帮我看看这个需求怎么做”
  • “支持一下 X”
  • “分析一下能不能做”
  • “这个项目后面要怎么推进”
  • “帮我改一下 X”
  • “实现一下 X”

For those cases, use ordinary coding flow, project-roadmap, refactor, or code-review as appropriate. Ask for explicit MR/PR handoff authorization before committing, pushing, or creating an MR.

Operating Mode

Default behavior after valid trigger: one-time authorization, then autonomous execution.

The user should not need to confirm every step. Once the skill is explicitly triggered, proceed directly from requirement intake to implementation, validation, commit, push, and MR creation, unless a hard stop condition is met.

Interaction Budget

Ask at most one clarification question before starting, and only when the answer materially changes the implementation.

If the requirement is understandable but incomplete, proceed with explicit assumptions instead of asking.

Hard Stop Conditions

Pause and ask for confirmation when any of these are true:

  1. Destructive or irreversible operation: deleting user data, rewriting history, force-push, migrations that may lose data.
  2. Security/secrets risk: handling private keys, tokens, credentials, production secrets, or broad permission changes.
  3. Unowned dirty worktree: git status --short shows existing changes that are unrelated to this task and the user did not say they are yours.
  4. Production operation: deploy, restart production services, modify live infra, rotate credentials.
  5. Requirement is too ambiguous to test: no clear observable outcome can be inferred.
  6. MR cannot be created safely: no remote, authentication failure, branch policy unknown, or current branch is protected and no branch creation is possible.

When blocked, report:

Blocked: <reason>
Minimum decision needed: <one concrete question or action>
Safe next option: <what can be done without the decision>

Current Project Defaults

Treat the repository as a TypeScript pnpm monorepo:

AreaDefault investigation pathValidation
Engine loop/tools/pluginspackages/engine/src/pnpm --filter pulse-coder-engine test; pnpm --filter pulse-coder-engine typecheck
CLIpackages/cli/src/pnpm --filter pulse-coder-cli test; pnpm --filter pulse-coder-cli build
Sandboxpackages/cli/src/tools/sandbox/pnpm --filter pulse-coder-cli test
Memorypackages/plugin-kit/src/memory/pnpm --filter pulse-coder-plugin-kit test
Remote serverapps/remote-server/src/pnpm --filter @pulse-coder/remote-server build
Skills only.pulse-coder/skills/<name>/SKILL.mdCheck frontmatter and read generated file
Cross-packageRelevant package checks firstpnpm run build as final gate if practical

Use repository conventions:

  • TypeScript strict mode.
  • 2-space indentation, semicolons, single quotes.
  • PascalCase for classes/types, camelCase for functions/vars, kebab-case filenames.
  • Keep diffs small and follow nearby code style.

End-to-End Workflow

0. Initialize Execution Tracking

For multi-step work, use task tracking:

  1. List existing active tasks.
  2. Create focused tasks for intake, implementation, validation, and MR handoff.
  3. Keep one primary task in_progress.
  4. Mark blockers explicitly.

1. Protect the Worktree

Always run:

pwd
git status --short
git branch --show-current
git remote -v

Rules:

  • If the worktree is clean, proceed.
  • If dirty files are clearly from this same session/task, proceed and include them in the commit.
  • If dirty files may belong to the user or another task, stop before editing and ask what to do.
  • Never discard or overwrite uncommitted work unless explicitly instructed.

2. Parse the Requirement into an Executable Brief

Create a short internal brief before editing:

Requirement brief:
- Goal:
- User-visible behavior:
- Likely area/package:
- Non-goals:
- Assumptions:
- Acceptance checks:

Keep it concise. Do not ask the user to approve the brief unless a hard stop condition applies.

3. Classify Scope

Use the smallest safe path:

ScopeExamplesDefault behavior
XSdocs, skill, config, small bug fixImplement directly
Sone package, limited testsImplement directly
Mmultiple files/packages, clear interfacesImplement in one focused MR if still reviewable
Larchitecture change, migration, unclear behaviorPlan first; ask one decision question if needed

Prefer an MR-sized slice over a broad rewrite. If the request is large, implement the smallest valuable slice and document follow-ups.

4. Branch Strategy

Before editing, inspect the current branch.

  • If on main or master, create a new branch.
  • If already on a feature/fix branch and the worktree is clean, use the current branch unless the user asked for a new branch.
  • If the current branch name is unrelated to the requirement but clean, prefer creating a new branch.

Branch naming:

feat/<short-kebab-goal>
fix/<short-kebab-bug>
docs/<short-kebab-topic>
chore/<short-kebab-maintenance>

If the branch-naming skill is available and naming is non-trivial, use it.

5. Minimal Targeted Discovery

Read only files needed for the requirement.

Recommended sequence:

  1. Search for exact symbols, routes, command names, or package names from the requirement.
  2. Read the smallest relevant files.
  3. Inspect tests near those files.
  4. Avoid broad exploration, generated output, dist/, node_modules/, local session stores, and private memory data.

6. Implement

Implementation rules:

  • Make the smallest coherent change that satisfies acceptance checks.
  • Preserve existing public APIs unless the requirement explicitly changes them.
  • Add or update tests for behavior changes.
  • Update docs or skill instructions when behavior is user-facing.
  • Keep unrelated refactors out of the MR.
  • Prefer targeted edits over wholesale rewrites.

7. Validate

Run the narrowest useful validation first, then broader checks only when justified.

Validation decision table:

Change typeMinimum validation
Skill/docs onlyRead generated file; verify YAML frontmatter has name and description
Unit behaviorRelated package test or focused Vitest test
Type/interface changeRelated package typecheck/build
Remote server behaviorpnpm --filter @pulse-coder/remote-server build plus relevant tests if present
Cross-package behaviorTargeted package checks, then pnpm run build if practical

If validation fails:

  1. Fix failures directly if clearly caused by this change.
  2. Re-run the failed check.
  3. If unrelated or environment-caused, report evidence and continue only if safe.

8. Review the Diff Before Commit

Run:

git diff --stat
git diff -- <relevant paths>

Check:

  • Diff matches the requirement.
  • No secrets, local paths, logs, generated junk, or unrelated files are included.
  • Tests/docs are included when needed.

9. Commit, Push, and MR

Use the existing git-workflow and mr-generator skills when available.

Default sequence:

git status --short
git add -A
git commit -m "<type>: <short summary>"
git push -u origin HEAD

Commit message rules:

  • Use Conventional Commits: feat, fix, docs, test, refactor, chore.
  • Keep the subject concise and specific.
  • If useful, include bullet details in the commit body.

After a successful push:

  1. Check whether an open PR/MR already exists for the branch.
  2. If none exists, run mr-generator by default.
  3. If automatic MR creation fails, provide the generated title/body and exact command for manual creation.

Expected MR body:

## Summary
- <change 1>
- <change 2>

## Validation
- `<command>` ✅ / ⚠️ <result>

## Risk
- <main risk or "Low; scoped change">

10. Final Response

Keep the final response short and execution-oriented:

已完成:<one-line outcome>

MR: <url or creation status>
Commit: <sha or branch>
验证:
- `<command>`: <result>

备注:
- <assumption, skipped check, or follow-up if any>

If no MR was created:

代码已完成但 MR 未创建。
原因:<reason>
下一步:<exact command or decision needed>

Autonomous Decision Heuristics

When the user gives only a short requirement after a valid trigger, infer using these rules:

  1. Prefer fixing the root cause over adding a workaround, unless the workaround is the only MR-sized safe slice.
  2. Prefer behavior covered by tests over undocumented behavior.
  3. Prefer existing patterns in nearby code over introducing new abstractions.
  4. Prefer package-local changes over cross-package coupling.
  5. Prefer explicit errors and recoverable failure modes over silent failures.
  6. Prefer small, reviewable MRs over large bundled changes.
  7. If the task could be docs-only or code, choose code only when user-visible behavior requires it.
  8. If multiple packages are plausible, start from the user-facing entrypoint and trace inward.

Low-Interaction Clarification Templates

Use one of these only when needed:

我可以继续,但有一个会影响实现范围的问题:<question>
如果你不补充,我将按这个默认假设执行:<assumption>。
当前工作区已有未提交改动,可能不是本任务产生的。请确认:
A. 我可以一起纳入本次 MR
B. 我只改新需求相关文件
C. 先停止,等你处理工作区

Completion Criteria

This skill is complete when all are true:

  • The user explicitly authorized the requirement-to-MR flow.
  • Requirement is implemented in the smallest safe MR-sized slice.
  • Relevant validation was run or a clear reason is documented.
  • Diff was reviewed for scope and secrets.
  • Changes are committed and pushed, unless blocked.
  • MR is created or manual MR instructions are provided.
  • Final response includes MR/branch, validation evidence, and remaining risks.

Frequently asked questions

What to verify before installation and use

What does the requirement-to-mr source document cover?

This skill turns a short product/engineering request into a reviewable MR with minimal back-and-forth. It is optimized for the current Pulse Coder TypeScript pnpm monorepo.

How do I install requirement-to-mr?

The source record exposes this install command: npx skills add https://github.com/hua-bang/pulse-agent --skill "apps/remote-server/.pulse-coder/skills/requirement-to-mr". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged read-files, exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10029,034

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10024,921

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10015,122

wanshuiyin/Auto-claude-code-research-in-sleep

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.

Computed 10014,671

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance