搜索

PythonReactSEOPDF
GitHub Skill

repo-orchestrator

Repo-wide rules, task workflow, and quality gates for this portfolio project. Use at the start of any task or when making cross-cutting decisions.

alissonbgs☆ 1 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Repo Orchestrator

Build a modern portfolio project with Next.js App Router and React Server Components (RSC) by default. Scale to complex UI and keep the repo future-ready for a BFF.

Tech stack (authoritative)

  • Use TypeScript.
  • Use Next.js with RSC default and Tailwind.
  • Use Jest for tests (existing tooling).
  • Use GitHub Actions for CI.
  • Deploy with Vercel now; plan for AWS/K8s later.
  • Plan for a future BFF (Node/Fastify) but do not add it yet.

Frontend global standard

  • Use Next.js as the only frontend framework.
  • Default to Server Components.
  • Use Client Components only when required (state, effects, browser APIs, event handlers).
  • Keep client boundaries minimal; never leak server-only data to the client.

SOLID (mandatory)

  • Enforce SOLID in architecture and module boundaries.
  • When the BFF exists, introduce controllers/services/repositories, but keep frontend SRP/DIP and composition-first design now.

Task system (mandatory)

Tasks live in /tasks
  • Create a Markdown ticket:
    • /tasks/NNN-short-title.md
    • or a task pack folder /tasks/NNN-short-title/ with task.md as entrypoint.
Tasks are time-bounded instructions, not permanent architecture
  • Treat tickets as "what to do now".
  • Record durable truth in:
    • ProjectDecisions.md for architecture/design decisions.
    • ProjectLearnings.md for general learnings and patterns.
    • web/src/features/<feature>/FEATURE.md when applicable.
Required task lifecycle
  • Use states: OPEN -> IN_PROGRESS -> DONE -> ARCHIVED.
  • When a task is DONE:
    • Log decisions and learnings.
    • Optionally move it to /tasks/_archive/ or mark State: ARCHIVED.
    • Do not treat old tasks as authoritative guidance.
How to consume task context
  • Read the task ticket first.
  • Read relevant FEATURE.md (if it exists).
  • Follow the relevant skill in skills/ for the touched area:
    • Frontend: skills/frontend-engineer/SKILL.md
    • Testing: skills/testing-specialist/SKILL.md
    • Infra/deploy: skills/deploy-devops-lite/SKILL.md
    • Tech lead review: skills/tech-lead-reviewer/SKILL.md
  • Update ProjectDecisions.md and/or ProjectLearnings.md when applicable.

Mandatory knowledge logging

  • Record architectural/design decisions in ProjectDecisions.md (context, decision, reasoning, alternatives).
  • Record useful lessons and patterns in ProjectLearnings.md.
  • If you change architecture, folder structure, caching, data-fetching, or component boundaries, log it in ProjectDecisions.md.
  • If you teach or discover something useful during implementation/review, log it in ProjectLearnings.md.

Non-negotiables

  • Do not invent requirements.
  • Prefer small, safe diffs.
  • Enforce TypeScript strictness; avoid any (prefer unknown with narrowing).
  • Include tests with each change or write a justification.

Definition of done

  • Build passes.
  • Tests pass.
  • Typecheck passes.
  • CI passes.
  • Logs updated.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!