Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计未展示

angular-20Angular 20 搜索

Agent Skill

angular-20 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

618

周安装

26

GitHub Stars

公开资料未说明

下载量

216
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:angular-20(Angular 20 搜索)
来源仓库:https://github.com/7spade/black-tortoise
仓库路径:skills/angular-20
安装命令:
npx skills add 7spade/black-tortoise --skill "angular-20"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add 7spade/black-tortoise --skill "angular-20"

简介

angular-20 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它支持基于任务场景或来源线索进行信息聚合与筛选,适用于研究类工作流。
  • 通过 npx skills add 7spade/black-tortoise --skill "angular-20" 命令安装。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • angular-20 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
angular-20
description
Angular 20 knowledge and best practices. Use this skill when asked about Angular 20 development, architecture, components, routing, state management, performance, testing, and deployment. Includes standalone components, signals, and modern Angular patterns.
license
MIT

Angular 20 Skill

Rules

Component Architecture

MUST use standalone components:

  • All new components MUST be standalone
  • Components MUST use standalone: true in decorator
  • Components MUST explicitly import dependencies in imports array

MUST NOT use NgModule-based components in new code:

  • NgModule declarations are forbidden for new components

State Management

MUST use Signals for local state:

  • Use signal() for component-level reactive state
  • Use computed() for derived state
  • Use effect() for side effects

MUST use @ngrx/signals for global state:

  • Centralized application state MUST use @ngrx/signals
  • MUST NOT use custom state management solutions

Routing

MUST use lazy-loaded routes for large modules:

  • Feature modules MUST be lazy loaded
  • Use loadChildren or loadComponent for routing

MUST implement prefetching strategies:

  • Configure preloading strategy for performance optimization

HTTP & API

MUST use HttpClient with typed responses:

  • All HTTP calls MUST specify response types
  • API services MUST centralize HTTP logic
  • Error handling MUST be implemented for all HTTP calls

Testing

MUST include unit tests:

  • Use Jasmine/Karma or Jest for unit testing
  • Components MUST have corresponding spec files

MUST include E2E tests for critical flows:

  • Use Playwright for E2E testing

Performance

MUST use AOT compilation for production:

  • Production builds MUST use ng build with AOT

MUST use OnPush change detection where applicable:

  • Components with Signals SHOULD use ChangeDetectionStrategy.OnPush

Accessibility

MUST enforce accessibility (a11y) guidelines:

  • Templates MUST follow WCAG standards
  • Interactive elements MUST be keyboard accessible

Build & Deployment

MUST use Angular CLI for builds:

  • Use ng build to create production artifacts

MUST configure environment-specific settings:

  • Separate configurations for development, staging, and production

Context

Purpose

This skill provides structured guidance and best practices for Angular 20 development, including typical workflows, common patterns, quality standards, and example templates.

Angular 20 Core Concepts

  • Angular 20 features & changes
  • TypeScript-first architecture
  • Standalone components
  • Signals and reactivity
  • Composition API
  • Angular CLI workflows

When to Use This Skill

Use this skill when:

  • Developing Angular 20 applications
  • Setting up new Angular projects
  • Implementing components, routing, state management
  • Optimizing performance
  • Writing tests
  • Deploying Angular applications

Key Tasks & Workflows

1) Create a new Angular 20 app

Use Angular CLI to bootstrap projects:

ng new your-app --routing --style=scss

2) Component & Template Patterns

  • Use standalone components where possible
  • Keep templates clean & concise
  • Enforce accessibility (a11y) guidelines

3) Routing & Navigation

  • Setup RouterModule with routes
  • Use lazy-loaded routes for large modules
  • Implement prefetching strategies for performance

4) State & Reactivity

  • Prefer Signals for local state
  • Consider @ngrx/signals for global state
  • Manage effects/rx workflows carefully

5) HTTP & REST

  • Use HttpClient with typed responses
  • Centralize API service layer with error handling

6) Testing

  • Unit test with Jasmine/Karma or Jest
  • E2E tests with Playwright

7) Performance

  • Use AOT compilation
  • Optimize bundle with ng build
  • Use OnPush change detection where applicable

8) Deployment

  • Build artifacts: ng build
  • Serve with static hosts / CDNs
  • Configure environment-specific settings

📌 Examples & Code Snippets

Example Standalone Component

import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';

@Component({
  selector: 'app-example',
  standalone: true,
  imports: [CommonModule],
  template: `
    @if (showContent()) {
      <div>Content here</div>
    }
  `
})
export class ExampleComponent {
  showContent = signal(true);
}

Example Reactive Form

import { Component, inject } from '@angular/core';
import { FormBuilder, ReactiveFormsModule, Validators } from '@angular/forms';

@Component({
  selector: 'app-form',
  standalone: true,
  imports: [ReactiveFormsModule],
  template: `
    <form [formGroup]="form">
      <input formControlName="name" />
    </form>
  `
})
export class FormComponent {
  private fb = inject(FormBuilder);
  
  form = this.fb.group({
    name: ['', Validators.required]
  });
}

Example API Service

import { Injectable, inject } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';

@Injectable({ providedIn: 'root' })
export class ApiService {
  private http = inject(HttpClient);
  
  getData(): Observable<any[]> {
    return this.http.get<any[]>('/api/data');
  }
}

Refer to official Angular docs and community standards for evolving best practices.


📂 Installation Path

🎯 Project-specific skill

.github/skills/angular-20/SKILL.md

🎯 Personal global skill

~/.github/skills/angular-20/SKILL.md

💡 Copilot will automatically load this skill based on your prompt content.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

30.02%
按下载量换算65

OpenCode

21.69%
按下载量换算47

Claude Code

16.03%
按下载量换算35

Codex

11.42%
按下载量换算25

windsurf

7.39%
按下载量换算16

Gemini CLI

3.43%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills