一键导入
new-component
Scaffold a new Angular standalone component following project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold a new Angular standalone component following project conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run local security checks (golangci-lint gosec, go vet) before pushing to catch issues before CI
Guided dependency upgrade workflow for Go or frontend packages with lockstep bumping and CI verification
Development discipline guardrails for Go and Angular work. Use when implementing features, fixing bugs, or writing validation code. Enforces validation-first development, research escalation after repeated failures, real data testing, and comprehensive failure reporting.
Scaffold a new PostgreSQL migration pair (up + down) with sequential numbering
Run full pre-deployment validation for both frontend and backend
| name | new-component |
| description | Scaffold a new Angular standalone component following project conventions |
Create a new Angular standalone component at the specified path.
Arguments: <component-name> [--page] [--shared]
--page: projects/ui/src/app/pages/<name>/<name>.component.ts--shared (default): projects/ui/src/app/components/<name>/<name>.component.tsstandalone: true (default in Angular 20)template not templateUrlapp-<name> (kebab-case).css file (not SCSS), use Tailwind CSS classesviewProviders: [provideIcons({...})]import { Component } from '@angular/core';
@Component({
selector: 'app-COMPONENT_NAME',
template: `
<div>
<!-- Component content -->
</div>
`,
styleUrl: './COMPONENT_NAME.component.css',
})
export class ComponentNameComponent {}
authenticated.routes.ts (for pages) or import it where needed (for shared components)npm run format to auto-formatnpm run lint to verify