aiskillstore/marketplace / skills/7spade/delon-cache-caching-strategies
delon-cache-caching-strategies
VerifiedImplement caching strategies using @delon/cache. Use this skill when adding memory cache, LocalStorage cache, SessionStorage cache, or cache interceptors for HTTP requests. Supports TTL-based expiration, cache invalidation, cache grouping, and persistent storage. Optimizes performance by reducing redundant API calls and database queries.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.9 KB |
| skill-report.json | config | 54.1 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-04T17:19:35.653Z",
"slug": "7spade-delon-cache-caching-strategies",
"source_url": "https://github.com/7Spade/ng-dragon/tree/main/.github/skills/delon-cache",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "2a660253fd3738fd60291e179ed430f896bb0d4e58bdb139ae1751df7db2a0f5",
"tree_hash": "3d54e61b24e876fc2ac5b6fd8026813a8238da58d6a66402605361dee1bff5d8",
"provenance": {
"model_requested": "gpt-5.5:high",
"model_effective": "codex:gpt-5.5:high",
"fallback_chain": [
{
"agent": "codex",
"model": "gpt-5.5",
"effort": "high",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "delon-cache-caching-strategies",
"description": "Guides Angular developers through @delon/cache patterns for memory, LocalStorage, SessionStorage, TTLs, invalidation, and HTTP response caching.",
"summary": "Implement practical @delon/cache strategies for Angular applications.",
"icon": "📦",
"version": "1.0.0",
"author": "7Spade",
"license": "MIT",
"tags": [
"angular",
"delon-cache",
"caching",
"performance",
"http-interceptor"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands",
"network"
],
"category": "coding"
},
"security_audit": {
"risk_level": "medium",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "All static command-execution, reconnaissance, and direct network findings were adjudicated as false positives caused by Markdown, TypeScript examples, or documentation links. No prompt injection, malicious execution, or data exfiltration intent was found. Semantic review found one medium cache isolation risk in the HTTP interceptor guidance.",
"remediation": [
{
"issue": "HTTP cache keys do not include user or tenant context.",
"suggestion": "Document that authenticated or user-specific GET responses should be skipped or keyed by user, tenant, and relevant authorization context.",
"severity": "medium"
},
{
"issue": "Browser storage guidance lacks explicit sensitive data boundaries.",
"suggestion": "Add warnings not to cache credentials, tokens, secrets, regulated personal data, or private HTTP responses in LocalStorage or SessionStorage.",
"severity": "low"
}
],
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 27,
"line_end": 43
},
{
"file": "SKILL.md",
"line_start": 43,
"line_end": 47
},
{
"file": "SKILL.md",
"line_start": 47,
"line_end": 140
},
{
"file": "SKILL.md",
"line_start": 140,
"line_end": 144
},
{
"file": "SKILL.md",
"line_start": 144,
"line_end": 150
},
{
"file": "SKILL.md",
"line_start": 161,
"line_end": 204
},
{
"file": "SKILL.md",
"line_start": 204,
"line_end": 208
},
{
"file": "SKILL.md",
"line_start": 208,
"line_end": 248
},
{
"file": "SKILL.md",
"line_start": 248,
"line_end": 252
},
{
"file": "SKILL.md",
"line_start": 252,
"line_end": 261
},
{
"file": "SKILL.md",
"line_start": 261,
"line_end": 286
},
{
"file": "SKILL.md",
"line_start": 286,
"line_end": 290
},
{
"file": "SKILL.md",
"line_start": 290,
"line_end": 310
},
{
"file": "SKILL.md",
"line_start": 310,
"line_end": 316
},
{
"file": "SKILL.md",
"line_start": 316,
"line_end": 330
},
{
"file": "SKILL.md",
"line_start": 330,
"line_end": 342
},
{
"file": "SKILL.md",
"line_start": 342,
"line_end": 350
},
{
"file": "SKILL.md",
"line_start": 350,
"line_end": 354
},
{
"file": "SKILL.md",
"line_start": 354,
"line_end": 379
},
{
"file": "SKILL.md",
"line_start": 379,
"line_end": 383
},
{
"file": "SKILL.md",
"line_start": 383,
"line_end": 410
},
{
"file": "SKILL.md",
"line_start": 410,
"line_end": 431
},
{
"file": "SKILL.md",
"line_start": 431,
"line_end": 435
},
{
"file": "SKILL.md",
"line_start": 435,
"line_end": 447
},
{
"file": "SKILL.md",
"line_start": 447,
"line_end": 451
},
{
"file": "SKILL.md",
"line_start": 451,
"line_end": 459
},
{
"file": "SKILL.md",
"line_start": 459,
"line_end": 482
},
{
"file": "SKILL.md",
"line_start": 482,
"line_end": 488
},
{
"file": "SKILL.md",
"line_start": 488,
"line_end": 490
},
{
"file": "SKILL.md",
"line_start": 490,
"line_end": 511
},
{
"file": "SKILL.md",
"line_start": 511,
"line_end": 515
},
{
"file": "SKILL.md",
"line_start": 515,
"line_end": 521
},
{
"file": "SKILL.md",
"line_start": 521,
"line_end": 529
},
{
"file": "SKILL.md",
"line_start": 529,
"line_end": 533
},
{
"file": "SKILL.md",
"line_start": 533,
"line_end": 535
},
{
"file": "SKILL.md",
"line_start": 535,
"line_end": 553
},
{
"file": "SKILL.md",
"line_start": 553,
"line_end": 559
},
{
"file": "SKILL.md",
"line_start": 559,
"line_end": 569
},
{
"file": "SKILL.md",
"line_start": 569,
"line_end": 573
},
{
"file": "SKILL.md",
"line_start": 573,
"line_end": 588
}
]
},
{
"factor": "network",
"evidence": [
{
"file": "SKILL.md",
"line_start": 302,
"line_end": 302
},
{
"file": "SKILL.md",
"line_start": 3,
"line_end": 3
},
{
"file": "SKILL.md",
"line_start": 607,
"line_end": 607
},
{
"file": "SKILL.md",
"line_start": 608,
"line_end": 608
},
{
"file": "SKILL.md",
"line_start": 609,
"line_end": 609
}
]
}
],
"static_findings": [
{
"id": "external_commands:SKILL.md:27:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 27,
"line_end": 43,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:43:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 43,
"line_end": 47,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:47:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 47,
"line_end": 140,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:140:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 140,
"line_end": 144,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:144:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 144,
"line_end": 150,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:161:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 161,
"line_end": 204,
"snippet": "`"
},
{
"id": "external_commands:SKILL.md:204:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 204,
"line_end": 208,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:208:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 208,
"line_end": 248,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:248:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 248,
"line_end": 252,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:252:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 252,
"line_end": 261,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:261:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 261,
"line_end": 286,
"snippet": "const cacheKey = `search:${query}`;"
},
{
"id": "external_commands:SKILL.md:286:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 286,
"line_end": 290,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:290:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 290,
"line_end": 310,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:310:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 310,
"line_end": 316,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:316:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 316,
"line_end": 330,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:330:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 330,
"line_end": 342,
"snippet": "this.cacheService.remove(`tasks:blueprint:${task.blueprintId}`);"
},
{
"id": "external_commands:SKILL.md:342:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 342,
"line_end": 350,
"snippet": "this.cacheService.remove(`tasks:${id}`);"
},
{
"id": "external_commands:SKILL.md:350:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 350,
"line_end": 354,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:354:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 354,
"line_end": 379,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:379:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 379,
"line_end": 383,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:383:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 383,
"line_end": 410,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:410:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 410,
"line_end": 431,
"snippet": "const cacheKey = `http:${req.urlWithParams}`;"
},
{
"id": "external_commands:SKILL.md:431:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 431,
"line_end": 435,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:435:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 435,
"line_end": 447,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:447:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 447,
"line_end": 451,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:451:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 451,
"line_end": 459,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:459:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 459,
"line_end": 482,
"snippet": "return `${this.namespace}:${key}`;"
},
{
"id": "external_commands:SKILL.md:482:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 482,
"line_end": 488,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:488:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 488,
"line_end": 490,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:490:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 490,
"line_end": 511,
"snippet": "const cacheKey = `tasks:${id}`;"
},
{
"id": "external_commands:SKILL.md:511:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 511,
"line_end": 515,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:515:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 515,
"line_end": 521,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:521:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 521,
"line_end": 529,
"snippet": "const cacheKey = `tasks:${id}`;"
},
{
"id": "external_commands:SKILL.md:529:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 529,
"line_end": 533,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:533:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 533,
"line_end": 535,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:535:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 535,
"line_end": 553,
"snippet": "const cacheKey = `tasks:blueprint:${blueprintId}`;"
},
{
"id": "external_commands:SKILL.md:553:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 553,
"line_end": 559,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:559:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 559,
"line_end": 569,
"snippet": "```typescript"
},
{
"id": "external_commands:SKILL.md:569:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 569,
"line_end": 573,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:573:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 573,
"line_end": 588,
"snippet": "```typescript"
},
{
"id": "network:SKILL.md:302:http-https-get",
"category": "network",
"severity": "low",
"pattern": "HTTP/HTTPS get",
"file": "SKILL.md",
"line_start": 302,
"line_end": 302,
"snippet": "() => this.http.get<AppConfig>('/api/config'),"
},
{
"id": "network:SKILL.md:3:python-http-libraries",
"category": "network",
"severity": "low",
"pattern": "Python HTTP libraries",
"file": "SKILL.md",
"line_start": 3,
"line_end": 3,
"snippet": "description: \"Implement caching strategies using @delon/cache. Use this skill when adding memory cac"
},
{
"id": "network:SKILL.md:607:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 607,
"line_end": 607,
"snippet": "- [@delon/cache Documentation](https://ng-alain.com/cache)"
},
{
"id": "network:SKILL.md:608:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 608,
"line_end": 608,
"snippet": "- [Caching Best Practices](https://aws.amazon.com/caching/best-practices/)"
},
{
"id": "network:SKILL.md:609:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "SKILL.md",
"line_start": 609,
"line_end": 609,
"snippet": "- [Cache Patterns](https://docs.microsoft.com/en-us/azure/architecture/patterns/cache-aside)"
},
{
"id": "sensitive:SKILL.md:594:browser-storage-access",
"category": "sensitive",
"severity": "high",
"pattern": "Browser storage access",
"file": "SKILL.md",
"line_start": 594,
"line_end": 594,
"snippet": "- [ ] Choose appropriate cache type (memory/localStorage/sessionStorage)"
},
{
"id": "blocker:SKILL.md:63:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 63,
"line_end": 63,
"snippet": "}): void {"
},
{
"id": "blocker:SKILL.md:87:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 87,
"line_end": 87,
"snippet": "remove(key: string): void {"
},
{
"id": "blocker:SKILL.md:94:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 94,
"line_end": 94,
"snippet": "clear(): void {"
},
{
"id": "blocker:SKILL.md:199:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 199,
"line_end": 199,
"snippet": "clearCache(): void {"
},
{
"id": "blocker:SKILL.md:221:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 221,
"line_end": 221,
"snippet": "savePreferences(preferences: UserPreferences): void {"
},
{
"id": "blocker:SKILL.md:238:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 238,
"line_end": 238,
"snippet": "clearPreferences(): void {"
},
{
"id": "blocker:SKILL.md:362:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 362,
"line_end": 362,
"snippet": "invalidateGroup(prefix: string): void {"
},
{
"id": "blocker:SKILL.md:371:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 371,
"line_end": 371,
"snippet": "registerCacheKey(key: string): void {"
},
{
"id": "blocker:SKILL.md:462:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 462,
"line_end": 462,
"snippet": "set<T>(key: string, value: T, options?: any): void {"
},
{
"id": "blocker:SKILL.md:470:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 470,
"line_end": 470,
"snippet": "remove(key: string): void {"
}
],
"finding_verdicts": [
{
"id": "external_commands:SKILL.md:27:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:43:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:47:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:140:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:144:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:161:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:204:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:208:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:248:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:252:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:261:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:286:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:290:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:310:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:316:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:330:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:342:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:350:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:354:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:379:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:383:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:410:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:431:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:435:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:447:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:451:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:459:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:482:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:488:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:490:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:511:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:515:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:521:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:529:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:533:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:535:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:553:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:559:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:569:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "external_commands:SKILL.md:573:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "The snippet is Markdown or TypeScript syntax, mainly code fences or JavaScript template literals, not shell backtick execution. No shell interpreter, command API, or user-controlled command is present."
},
{
"id": "network:SKILL.md:302:http-https-get",
"verdict": "false_positive",
"confidence": 0.91,
"reason": "The HttpClient call is a same-origin '/api/config' example inside an Angular caching pattern. It does not send secrets or contact an external domain."
},
{
"id": "network:SKILL.md:3:python-http-libraries",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "The frontmatter only describes caching HTTP requests. It imports no HTTP library and performs no network call."
},
{
"id": "network:SKILL.md:607:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "This URL appears only in the References section as documentation. It is not executed by the skill or used to transmit data."
},
{
"id": "network:SKILL.md:608:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "This URL appears only in the References section as documentation. It is not executed by the skill or used to transmit data."
},
{
"id": "network:SKILL.md:609:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "This URL appears only in the References section as documentation. It is not executed by the skill or used to transmit data."
},
{
"id": "sensitive:SKILL.md:594:browser-storage-access",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "The line is a checklist item naming memory, LocalStorage, and SessionStorage options. It does not access browser storage or include sensitive values, although the guide should warn against storing secrets."
},
{
"id": "blocker:SKILL.md:63:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:87:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:94:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:199:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:221:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:238:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:362:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:371:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:462:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
},
{
"id": "blocker:SKILL.md:470:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "This is a TypeScript cache API method declaration or call in sample code, not system reconnaissance. It does not inspect the host, enumerate files, or run operating system commands."
}
],
"semantic_findings": [
{
"title": "Unscoped HTTP Response Cache Could Expose User Data",
"description": "The interceptor caches every GET response by URL unless a skip header or realtime path is present. Authenticated or user-specific responses could be reused after an account change because the key does not include user or tenant context.",
"severity": "medium",
"locations": [
{
"file": "SKILL.md",
"line_start": 393,
"line_end": 425
}
],
"confidence": 0.78,
"confidence_reasoning": "The code sample clearly caches GET responses using only req.urlWithParams and provides only narrow bypass logic. The impact depends on how adopters apply the interceptor, so confidence is high enough to flag but not critical."
}
],
"critical_findings": [],
"high_findings": [],
"medium_findings": [
{
"title": "Unscoped HTTP Response Cache Could Expose User Data",
"description": "The interceptor caches every GET response by URL unless a skip header or realtime path is present. Authenticated or user-specific responses could be reused after an account change because the key does not include user or tenant context.",
"locations": [
{
"file": "SKILL.md",
"line_start": 393,
"line_end": 425
}
],
"review_kind": "security",
"source_category": "semantic",
"source_severity": "medium",
"confidence": 0.78,
"confidence_reasoning": "The code sample clearly caches GET responses using only req.urlWithParams and provides only narrow bypass logic. The impact depends on how adopters apply the interceptor, so confidence is high enough to flag but not critical."
}
],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 1,
"total_lines": 610,
"audit_model": "codex",
"audited_at": "2026-07-04T17:19:35.653Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Implement Angular Caching with @delon/cache",
"value_statement": "Angular apps often repeat API requests and recompute data without a cache plan. This skill guides memory, session, LocalStorage, and HTTP caching with @delon/cache.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"Angular caching",
"@delon/cache",
"LocalStorage cache",
"SessionStorage cache",
"HTTP cache interceptor",
"TTL cache",
"cache invalidation"
],
"actual_capabilities": [
"Configures provideDelonCache with default TTL and metadata options.",
"Shows a reusable Angular CacheService wrapper for common cache operations.",
"Compares memory, LocalStorage, and SessionStorage cache examples.",
"Demonstrates cache invalidation after create and update operations.",
"Provides an Angular HTTP interceptor that caches GET responses.",
"Documents read-through, write-through, and cache-aside patterns."
],
"limitations": [
"Targets Angular applications that can use @delon/cache.",
"Does not include automated tests or runnable project files.",
"Does not cover server-side distributed caches such as Redis.",
"Browser storage examples require careful handling of sensitive data."
],
"use_cases": [
{
"title": "Add client-side cache wrappers",
"description": "Create an Angular service that wraps @delon/cache with consistent keys, TTLs, and storage choices.",
"target_user": "Frontend developer"
},
{
"title": "Reduce repeated API requests",
"description": "Apply memory caching or HTTP interception to frequently requested data with short expiration windows.",
"target_user": "Application performance engineer"
},
{
"title": "Standardize cache invalidation",
"description": "Document when cache entries must be removed after create, update, or grouped data changes.",
"target_user": "Angular technical lead"
}
],
"prompt_templates": [
{
"title": "Add Basic Memory Cache",
"scenario": "Beginner task for one service method.",
"prompt": "Add a memory cache to this Angular service using @delon/cache. Use a five minute TTL and keep invalidation simple."
},
{
"title": "Choose Browser Storage",
"scenario": "Intermediate task for persisted user preferences.",
"prompt": "Review this Angular preference service and choose memory, LocalStorage, or SessionStorage. Explain the TTL and sensitive data risks."
},
{
"title": "Design Cache Invalidation",
"scenario": "Advanced task for mutable domain data.",
"prompt": "Design a cache invalidation plan for these create and update flows. Include keys, groups, TTLs, and missed invalidation risks."
},
{
"title": "Audit HTTP Cache Interceptor",
"scenario": "Advanced security and performance review.",
"prompt": "Audit this Angular HTTP cache interceptor. Identify stale data, authentication, tenant isolation, and cache bypass requirements."
}
],
"output_examples": [
{
"input": "A task list service repeatedly loads the same data for one page.",
"output": [
"A memory cache is recommended for short-lived task data.",
"The cache key should include the task list scope.",
"The entry should expire after five minutes.",
"Create and update operations should remove related list keys."
]
},
{
"input": "A user preferences service needs values to survive page reloads.",
"output": [
"LocalStorage is appropriate for non-sensitive preferences.",
"A longer TTL can be used for display settings.",
"The design should exclude tokens, secrets, and private records."
]
},
{
"input": "An Angular app wants to cache GET responses globally.",
"output": [
"Only cache safe, idempotent responses.",
"Skip realtime, authenticated, and user-specific endpoints unless keys include identity context.",
"Provide a header or route rule to bypass cache when needed."
]
}
],
"best_practices": [
"Use memory cache for short-lived API data unless persistence is required.",
"Set TTL values based on data volatility and user impact.",
"Invalidate related keys after writes, not only the item key."
],
"anti_patterns": [
"Do not store auth tokens, secrets, or sensitive personal data in browser storage.",
"Do not cache responses that include user-specific data under shared keys.",
"Do not omit invalidation for data that users can edit."
],
"faq": [
{
"question": "What does this skill help build?",
"answer": "It helps build Angular caching patterns with @delon/cache, including TTLs, storage selection, and invalidation."
},
{
"question": "Does it support persistent browser storage?",
"answer": "Yes. It includes LocalStorage and SessionStorage examples for data that is safe to store in the browser."
},
{
"question": "Can it cache HTTP requests?",
"answer": "Yes. It shows an Angular interceptor pattern for caching selected GET responses."
},
{
"question": "Does it replace server-side caching?",
"answer": "No. It focuses on client-side Angular caching and does not cover Redis or distributed cache systems."
},
{
"question": "Is it safe for sensitive data?",
"answer": "Use caution. Do not place credentials, tokens, secrets, or regulated personal data in browser storage."
},
{
"question": "Which AI coding tools can use it?",
"answer": "The skill is intended for Claude, Codex, and Claude Code workflows."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 610
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |