AGENT SKILL

project-flow-ops

Operate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains the internal execution layer. Use when the user wants backlog control, PR triage, or GitHub-to-Linear coordination.

License 许可
Apache-2.0
最近更新
2026-11-08
Stars
★ 0
Forks
0

01 前言 Front Matter

name
fm-clean-code
description
Use to audit generated React migration code for quality (composition, naming, types, accessibility, performance, convention compliance, simplicity/over-engineering) — a standalone review, independent of the pipeline, runnable on any path.
allowed-tools
Read, Glob, Grep, Bash, Agent
argument-hint
[path] [--app pc|mobile|hana]
user-invocable
true

03 SKILL.md 正文

Clean Code Audit

Runs the quality-reviewer agent on generated React code. Completely independent of the migration pipeline — no progress tracking, no lock, no feature context required. All user-facing output in workingLanguage.

Instructions

Step 0: Config

Read .claude/frontend-migration-plugin.json (absent → run fm-init; stop). Resolve app (--app/currentApp) and, from that app's entry, appDir and targetDir, plus workingLanguage. Both app-scoped paths must be resolved before Step 1 — the default review target is targetDir.

Confirm apps[app] before using it (CLAUDE.md → Configuration): the app entry must exist and carry the keys this stage reads. Config-file presence is not app presence — mobile/hana are scaffolded, and a --app naming an unconfigured one must stop here with a clear message rather than fail deep inside an agent on an unresolved path.

Step 1: Resolve the target

  • If [path] is given, review it.
  • Else default to the current app's generated source under targetDir (or the page's targetDir if a page is implied). Confirm the path.

Step 2: Review

Launch quality-reviewer (Agent) with path, appDir, workingLanguage. It reads the code and writes a report (no source or state changes).

Step 3: Report

In workingLanguage: overall score, per-dimension findings with file:line and fixes, and the top issues by severity. This skill never mutates pipeline state or takes the lock.

04 同仓库更多 Skills