원클릭으로
dev-create-injectable
Use when adding a signal-based store or utility service - creates injectable with inject() and Angular Signals.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when adding a signal-based store or utility service - creates injectable with inject() and Angular Signals.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when you need a comprehensive code audit covering security, performance, architecture, and dependencies before a release, major refactor, or compliance review.
Use when you want to iteratively build a feature using a PRD as source of truth, with progress tracking and fresh-context iterations - the Autopilot technique for autonomous development.
Use when starting a complex feature, exploring unclear requirements, or needing to challenge assumptions before committing to a design - before /plan.
Use when you need a comprehensive code review combining architecture, security, and test perspectives - especially before merging, releasing, or after major changes.
Use when creating marketing copy for landing pages, email campaigns, product descriptions, or social media - with A/B variants and conversion-focused frameworks.
Use when optimizing landing pages, signup flows, checkout processes, or any user-facing page for higher conversion rates - before A/B testing.
| name | dev-create-injectable |
| description | Use when adding a signal-based store or utility service - creates injectable with inject() and Angular Signals. |
| user-invocable | true |
| argument-hint | [injectable-name] |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
Create an Angular injectable following docs/ARCHITECTURE.md section 4.4.
Injectable: $ARGUMENTS
Read docs/ARCHITECTURE.md section 4.4.
Determine the type:
Create the injectable in the appropriate location:
import { Injectable, signal, computed } from '@angular/core'
@Injectable({ providedIn: 'root' })
export class MyStore {
private readonly _state = signal<StateType>(initialValue)
readonly state = this._state.asReadonly()
readonly derived = computed(() => /* derive from _state */)
updateState(value: StateType) {
this._state.set(value)
}
}
import { Injectable, inject } from '@angular/core'
@Injectable({ providedIn: 'root' })
export class MyUtilityService {
private readonly dep = inject(OtherService)
doSomething(input: InputType): OutputType {
// typed logic
}
}
Rules:
Validate: npx tsc --noEmit