From sdcorejs-agent
Use when the user opens this agent for the first time inside an Angular-portal project, asks "what can you do", "how do I start", "list skills", "help", "agent này làm được gì", or seems unsure which skill to invoke. Provides an overview of the Angular-portal SDLC workflow, lists available skills, and routes the user to the next concrete step (usually `sdcorejs-clarify-requirements` from shared/sdlc/, or `sdcorejs-brainstorm` if scope is open-ended). Bilingual (VI/EN).
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdcorejs-agent:angular-portal-onboardingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Welcome the developer and help them pick the right next skill. This is the entry point when the developer is new to this agent or unsure where to start.
Welcome the developer and help them pick the right next skill. This is the entry point when the developer is new to this agent or unsure where to start.
"This agent helps you build Angular portal apps using
@sd-angular/core(Core UI), following SDCoreJS conventions across the full SDLC — from requirement clarification to code, tests, review, and documentation."
Design phase is cross-track (skills/shared/sdlc/); each skill detects the target as angular-portal and loads _refs/angular-portal.md. Code-writing + tests + reviews are track-specific.
Request
↓
shared/sdlc/01-brainstorm (sdcorejs-brainstorm)
← only if scope is open-ended
↓
shared/sdlc/02-clarify-requirements (sdcorejs-clarify-requirements)
← blocking questions: module / entity / fields / layout / workflow / coverage
↓
shared/sdlc/03-write-spec (sdcorejs-write-spec)
← spec written to <target>/.sdcorejs/docs/angular-portal/*-spec.md
↓
shared/sdlc/04-review-spec (sdcorejs-review-spec) — APPROVAL GATE
↓
orchestration/auto-specs ← MANDATORY on approval; snapshot to .sdcorejs/specs/angular-portal/
↓
shared/sdlc/05-plan (sdcorejs-plan)
← numbered file-by-file plan
↓
shared/sdlc/06-review-plan (sdcorejs-review-plan) — APPROVAL GATE
↓
orchestration/auto-plans ← MANDATORY on approval; snapshot to .sdcorejs/plans/angular-portal/
↓
tracks/angular-portal/07-write-code (angular-portal-write-code)
← orchestrator, picks sub-skills based on plan:
├─ 10-init-portal (new portal repo)
├─ 11-init-module (new feature module)
├─ 12-init-entity (new entity CRUD pages — templates in _refs/templates/)
├─ 20-screen-list (list page)
├─ 21-screen-detail (detail.component.ts — CREATE / UPDATE / DETAIL + form refinement)
└─ 31-actions (action buttons — workflow / bulk / custom side-effects)
↓
testing/e2e/angular-portal (sdcorejs-testing-e2e-angular-portal)
← happy-path E2E for what was just built
↓
review/code/angular-portal (sdcorejs-review-code-angular-portal)
← convention check; Critical / Important / Minor findings
↓
orchestration/repair-loop ← apply findings + iterate until Critical+Important resolved
↓
orchestration/comment-code ← MANDATORY ASK gate: skip / simple / medium / full
└─ rules applied inline (cross-track baseline + per-track addenda live in this skill)
↓
orchestration/verify-before-done ← MANDATORY acceptance-criteria gate; blocks "done" until ✅ / deferred
↓
orchestration/auto-docs ← MANDATORY summary to <target>/.sdcorejs/docs/angular-portal/
orchestration/auto-task-tracker ← MANDATORY; tick `[x]` done + append new in .sdcorejs/tasks/angular-portal.md
orchestration/memories ← durable knowledge (when surfaced) to .sdcorejs/memories/angular-portal/
You don't need to memorize skill names. Just describe what you want — the agent matches your request against each skill's description and picks the right one. Examples:
| User says | Skill picked |
|---|---|
| "Khởi tạo portal-shop với dev/qc/uat/prod" | 10-init-portal |
| "Thêm entity product, fields code/name/price" | sdcorejs-clarify-requirements (cross-track) → 12-init-entity |
| "Tạo màn list cho user" | 20-screen-list |
| "Review module catalog" | sdcorejs-review-code-angular-portal |
| "Test cho entity product" | sdcorejs-testing-e2e-angular-portal |
| "Brainstorm cho module sales" | sdcorejs-brainstorm (cross-track) |
| "Viết spec cho module catalog" | sdcorejs-write-spec (cross-track) |
<target-project>/.sdcorejs/docs/angular-portal/<YYYY-MM-DD-HH-mm>-<topic>.md. The agent reads this folder at session start to recall prior work.<target-project>/.sdcorejs/memories/angular-portal/. Agent reads frontmatter at session start; bodies on demand.npm run test -- --watch=false --include=src/libs/<module>/**/*.spec.ts. Report summary and failing spec names.@sd-angular/core components when one fits; otherwise generate skeleton + alert('TODO: ...') stubs and mark for developer.The agent only reads these when relevant — don't load upfront:
_refs/architecture-principles.md — the WHY: 16 principles governing what generated code looks like (feature-first, signal-first, no cross-module imports, OnPush default, 4 canonical layouts, mock-first, …). Load when explaining a decision, reviewing a deviation, or onboarding a new contributor._refs/core-version.md — pinned @sd-angular/core version_refs/sd-angular-core-catalog.md — Core UI components and patterns_refs/entity-field-types.md — field type → form control mapping_refs/templates/entity-{skeleton,tests,example-product}.md — canonical code templates emitted by 12-init-entitysdcorejs-clarify-requirements (cross-track) to define portal name + environments + first module — or sdcorejs-brainstorm first if scope is still open-ended.<target>/.sdcorejs/docs/angular-portal/ first to recall what's been built. Skim the latest entry yourself if you want a quick status — or invoke sdcorejs-recovery for a one-screen handoff.07-write-code and its sub-skills.sdcorejs-clarify-requirements's job (cross-track).Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub sdcorejs/sdcorejs-agent --plugin sdcorejs-agent