sky-angular
Skill8 starsChanged 6 days agoMITView on GitHub
Modern Angular (17+): standalone bileşenler, sinyaller (signal, computed, effect, input/output sinyalleri), yeni kontrol akışı (@if, @for, @defer), bağımlılık enjeksiyonu (inject), servisler, HttpClient ve interceptor'lar, router (lazy loading, guard'lar, resolver'lar), reactive forms ve typed forms, RxJS ile sinyal birlikteliği, SSR ve hydration, zoneless, test ve performans. Angular projesinde kullan.
In this repository213 other files it gives its agents.
- sky-3dSkill
- sky-a11y-auditorSkill
- sky-a11ySkill
- sky-ai-agentsSkill
- sky-ai-evalSkill
- sky-aiSkill
- sky-ai-uxSkill
- sky-algorithmsSkill
- sky-androidSkill
- sky-ansibleSkill
- sky-api-reviewerSkill
- sky-architectSkill
- sky-architecture-docsSkill
- sky-architecture-patternsSkill
- sky-astroSkill
- sky-audit-historySkill
- sky-authSkill
- sky-auth-uxSkill
- sky-awsSkill
- sky-azureSkill
- sky-baasSkill
- sky-backend-apiSkill
- sky-botsSkill
- sky-brandSkill
- sky-browser-apisSkill
- sky-browser-extensionSkill
- sky-browser-qaSkill
- sky-builderSkill
- sky-build-fixerSkill
- sky-cachingSkill
- sky-canvasSkill
- sky-changelogSkill
- sky-chat-productSkill
- sky-checkout-uxSkill
- sky-claude-codeSkill
- sky-claude-mdSkill
- sky-cli-toolsSkill
- sky-cloudflareSkill
- sky-cmsSkill
- sky-codebase-mapperSkill
- sky-code-reviewerSkill
- sky-code-reviewSkill
- sky-code-styleSkill
- sky-colorSkill
- sky-cppSkill
- sky-criticSkill
- sky-cryptoSkill
- sky-css-modernSkill
- sky-dashboardSkill
- sky-data-analysisSkill
- sky-data-pipelinesSkill
- sky-dataSkill
- sky-datavizSkill
- sky-date-timeSkill
- sky-db-reviewerSkill
- sky-debuggerSkill
- sky-debugSkill
- sky-deploySkill
- sky-designerSkill
- sky-design-systemSkill
- The first 60 shown.
The file
Files
Sky · Angular
Bileşen (standalone + sinyaller)
@Component({
selector: "app-bookings",
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [BookingRowComponent],
template: `
@if (loading()) { <app-skeleton /> }
@else {
@for (b of filtered(); track b.id) { <app-booking-row [booking]="b" (cancel)="cancel(b.id)" /> }
@empty { <p>Henüz randevu yok</p> }
}
@defer (on viewport) { <app-stats [orgId]="orgId()" /> } @placeholder { <div class="h-40"></div> }
`,
})
export class BookingsComponent {
orgId = input.required<string>();
selected = output<string>();
private api = inject(BookingApi);
query = signal("");
bookings = signal<Booking[]>([]);
loading = signal(true);
filtered = computed(() => this.bookings().filter((b) => b.clientName.includes(this.query())));
constructor() {
effect(() => { this.loading.set(true); this.api.list(this.orgId()).subscribe((r) => { this.bookings.set(r); this.loading.set(false); }); });
}
cancel(id: string) { this.api.cancel(id).subscribe(() => this.bookings.update((l) => l.filter((x) => x.id !== id))); }
}- Yeni projede NgModule yok (standalone),
OnPushvarsayılan düşünce, sinyaller +@if/@for(track zorunlu). resource()/httpResource()(yeni sürümlerde) async veriyi sinyal olarak; RxJS gerektiğindetoSignal/toObservable.@deferile görünüm bazlı tembel yükleme — bundle'ı küçültür.
Servisler ve HTTP
@Injectable({ providedIn: "root" }) servisler, inject() fonksiyonu; provideHttpClient(withInterceptors([authInterceptor])) — fonksiyonel interceptor ile token ve hata yönetimi.
Router
provideRouter(routes, withComponentInputBinding()) (route parametreleri input olarak), loadComponent ile lazy, fonksiyonel guard'lar (canActivate: [() => inject(Auth).isLoggedIn() || inject(Router).parseUrl("/login")]) — yetki asıl sunucuda.
Formlar
Typed reactive forms (FormBuilder.nonNullable.group({...})), Validators + özel doğrulayıcılar, hata mesajları sky-forms kurallarına göre; signal forms (yeni API) sürüm desteğine göre.
SSR ve performans
@angular/ssr + hydration (incremental hydration @defer ile), zoneless change detection (provideZonelessChangeDetection() — sürüme göre), NgOptimizedImage (ngSrc), bundle bütçeleri angular.json'da.
Test ve araçlar
Angular CLI (ng generate, ng update ile sürüm yükseltme — bkz. sky-upgrades), Vitest/Jest veya Karma, Testing Library Angular, Playwright; ESLint angular-eslint.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

