agent-engineering-skills 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/AGENTS.md +249 -0
  2. package/LICENSE +21 -0
  3. package/README.md +113 -0
  4. package/bin/cli.js +223 -0
  5. package/docs/agent-integration.md +200 -0
  6. package/docs/philosophy.md +131 -0
  7. package/docs/reference-authoring.md +117 -0
  8. package/docs/skill-authoring.md +126 -0
  9. package/examples/authorization-bypass.md +191 -0
  10. package/examples/frontend-review.md +244 -0
  11. package/examples/race-condition.md +128 -0
  12. package/examples/xp-reward-loop.md +123 -0
  13. package/package.json +45 -0
  14. package/references/engineering.yaml +88 -0
  15. package/references/frontend.yaml +139 -0
  16. package/references/product.yaml +54 -0
  17. package/references/research.yaml +88 -0
  18. package/references/security.yaml +85 -0
  19. package/references/ux.yaml +37 -0
  20. package/scripts/validate.py +454 -0
  21. package/skills/audit/adversarial-review/SKILL.md +190 -0
  22. package/skills/audit/business-logic-audit/SKILL.md +182 -0
  23. package/skills/audit/edge-case-hunter/SKILL.md +159 -0
  24. package/skills/audit/error-flow-audit/SKILL.md +184 -0
  25. package/skills/audit/state-consistency-audit/SKILL.md +174 -0
  26. package/skills/audit/user-flow-audit/SKILL.md +161 -0
  27. package/skills/frontend/accessibility-review/SKILL.md +186 -0
  28. package/skills/frontend/animation-review/SKILL.md +171 -0
  29. package/skills/frontend/interaction-design/SKILL.md +162 -0
  30. package/skills/frontend/ux-review/SKILL.md +172 -0
  31. package/skills/frontend/visual-quality-review/SKILL.md +160 -0
  32. package/skills/meta/research-router/SKILL.md +184 -0
  33. package/skills/meta/skill-router/SKILL.md +206 -0
  34. package/skills/product/gamification-audit/SKILL.md +213 -0
  35. package/skills/reliability/data-integrity-audit/SKILL.md +187 -0
  36. package/skills/reliability/idempotency-audit/SKILL.md +191 -0
  37. package/skills/reliability/race-condition-hunter/SKILL.md +181 -0
  38. package/skills/research/github-reference-research/SKILL.md +197 -0
  39. package/skills/research/implementation-research/SKILL.md +181 -0
  40. package/skills/research/market-research/SKILL.md +202 -0
  41. package/skills/research/reference-research/SKILL.md +186 -0
  42. package/skills/security/api-abuse-audit/SKILL.md +178 -0
  43. package/skills/security/authorization-audit/SKILL.md +176 -0
  44. package/skills/security/input-trust-audit/SKILL.md +178 -0
  45. package/templates/audit-report.md +89 -0
  46. package/templates/bug-report.md +107 -0
  47. package/templates/design-review.md +122 -0
  48. package/templates/research-report.md +96 -0
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "agent-engineering-skills",
3
+ "version": "1.0.0",
4
+ "description": "Modular skills that teach AI agents to audit systems, find bugs, review UX/frontend, and research before reinventing. npx agent-engineering-skills install",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "agent-engineering-skills": "./bin/cli.js"
9
+ },
10
+ "files": [
11
+ "bin/",
12
+ "skills/",
13
+ "references/",
14
+ "templates/",
15
+ "examples/",
16
+ "docs/",
17
+ "scripts/",
18
+ "AGENTS.md",
19
+ "README.md",
20
+ "LICENSE"
21
+ ],
22
+ "engines": {
23
+ "node": ">=18"
24
+ },
25
+ "keywords": [
26
+ "claude-code",
27
+ "agent",
28
+ "skills",
29
+ "audit",
30
+ "security",
31
+ "frontend",
32
+ "ux",
33
+ "research",
34
+ "bug-finding",
35
+ "ai-agent"
36
+ ],
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/1arley/1arley-agent-skills.git"
40
+ },
41
+ "bugs": {
42
+ "url": "https://github.com/1arley/1arley-agent-skills/issues"
43
+ },
44
+ "homepage": "https://github.com/1arley/1arley-agent-skills#readme"
45
+ }
@@ -0,0 +1,88 @@
1
+ # references/engineering.yaml
2
+ # Catálogo de fontes para engenharia, arquitetura, concorrência, integridade e bugs.
3
+ # Schema: ver docs/reference-authoring.md
4
+
5
+ - name: OWASP Cheat Sheet Series
6
+ url: https://cheatsheetseries.owasp.org/
7
+ type: methodology
8
+ category: engineering
9
+ authority: established
10
+ use_when:
11
+ - auditing authentication and authorization flows
12
+ - reviewing input validation and injection risks
13
+ - securing session management and error handling
14
+ avoid_when:
15
+ - pure frontend visual review
16
+ - tasks with no security-relevant surface
17
+ search_queries:
18
+ - "OWASP cheat sheet authorization"
19
+ - "OWASP input validation"
20
+ - "OWASP race condition concurrency"
21
+
22
+ - name: OWASP Top 10
23
+ url: https://owasp.org/Top10/
24
+ type: methodology
25
+ category: engineering
26
+ authority: established
27
+ use_when:
28
+ - classifying security risks in a web application
29
+ - prioritizing which audit skills to run
30
+ - mapping findings to recognized risk categories
31
+ avoid_when:
32
+ - mobile-specific or desktop-specific concerns not covered
33
+ - already-classified, narrow single-issue investigations
34
+ search_queries:
35
+ - "OWASP Top 10 broken access control"
36
+ - "OWASP Top 10 identification authentication failures"
37
+ - "OWASP security risk categories"
38
+
39
+ - name: PortSwigger Web Security Academy
40
+ url: https://portswigger.net/web-security
41
+ type: methodology
42
+ category: engineering
43
+ authority: established
44
+ use_when:
45
+ - learning concrete attack patterns for access control and API abuse
46
+ - finding reproducible exploit examples
47
+ - training adversarial-review mental models
48
+ avoid_when:
49
+ - non-web targets
50
+ - when a quick checklist suffices
51
+ search_queries:
52
+ - "PortSwigger access control vulnerabilities"
53
+ - "PortSwigger business logic vulnerabilities"
54
+ - "PortSwigger API testing"
55
+
56
+ - name: Google Testing Blog
57
+ url: https://testing.googleblog.com/
58
+ type: heuristic
59
+ category: engineering
60
+ authority: established
61
+ use_when:
62
+ - designing edge-case and state-based tests
63
+ - reasoning about concurrency and flakiness
64
+ - evaluating testing strategy for race conditions
65
+ avoid_when:
66
+ - frontend visual or UX review
67
+ - operational/infra concerns
68
+ search_queries:
69
+ - "Google testing blog flaky tests"
70
+ - "Google testing blog concurrency"
71
+ - "testing blog state machine testing"
72
+
73
+ - name: GitHub
74
+ url: https://github.com/
75
+ type: implementation
76
+ category: engineering
77
+ authority: community
78
+ use_when:
79
+ - searching for production implementations of a pattern
80
+ - comparing how real projects handle concurrency or idempotency
81
+ - finding test cases for edge conditions
82
+ avoid_when:
83
+ - when official documentation exists and is authoritative
84
+ - copying code blindly instead of extracting principles
85
+ search_queries:
86
+ - "<feature> idempotency implementation"
87
+ - "<feature> race condition test"
88
+ - "<feature> transaction integrity"
@@ -0,0 +1,139 @@
1
+ # references/frontend.yaml
2
+ # Catálogo de fontes para frontend: visual, implementação, animação, acessibilidade.
3
+ # Schema: ver docs/reference-authoring.md
4
+
5
+ - name: Impeccable
6
+ url: https://impeccable.style/
7
+ type: heuristic
8
+ category: frontend
9
+ authority: established
10
+ use_when:
11
+ - reviewing visual quality and craft
12
+ - auditing spacing, typography, hierarchy, and density
13
+ - calibrating design taste against a high bar
14
+ avoid_when:
15
+ - backend-only tasks
16
+ - when a strict component spec already exists
17
+ search_queries:
18
+ - "impeccable style visual quality"
19
+ - "impeccable spacing typography hierarchy"
20
+ - "impeccable frontend craft"
21
+
22
+ - name: Impeccable Slop
23
+ url: https://impeccable.style/slop/
24
+ type: heuristic
25
+ category: frontend
26
+ authority: established
27
+ use_when:
28
+ - detecting AI slop and generic AI visual patterns
29
+ - auditing visual-quality-review findings for templated output
30
+ - training the eye to recognize low-craft generated UI
31
+ avoid_when:
32
+ - non-frontend review
33
+ - when evaluating genuinely bespoke design
34
+ search_queries:
35
+ - "impeccable slop AI generated UI patterns"
36
+ - "detect AI slop frontend"
37
+ - "generic AI visual patterns"
38
+
39
+ - name: Interfaces
40
+ url: https://interfaces.rauno.me/
41
+ type: heuristic
42
+ category: frontend
43
+ authority: curated
44
+ use_when:
45
+ - referencing high-craft interaction and visual detail
46
+ - comparing micro-interaction polish
47
+ - seeking non-generic UI reference
48
+ avoid_when:
49
+ - copying identity or branding
50
+ - needing prescriptive methodology
51
+ search_queries:
52
+ - "interfaces rauno visual detail"
53
+ - "high craft frontend reference"
54
+ - "interface polish micro-interactions"
55
+
56
+ - name: Dribbble
57
+ url: https://dribbble.com/
58
+ type: inspiration
59
+ category: frontend
60
+ authority: curated
61
+ use_when:
62
+ - seeking visual inspiration for composition and style
63
+ - exploring alternative treatments for a screen
64
+ - breaking out of generic patterns
65
+ avoid_when:
66
+ - using as evidence for a technical finding
67
+ - copying layouts or branding
68
+ - any decision requiring authority or methodology
69
+ search_queries:
70
+ - "dribbble <screen type> design"
71
+ - "dribbble dashboard composition"
72
+ - "dribbble empty state inspiration"
73
+
74
+ - name: dark.design
75
+ url: https://www.dark.design/
76
+ type: inspiration
77
+ category: frontend
78
+ authority: curated
79
+ use_when:
80
+ - exploring dark-mode and high-contrast visual treatments
81
+ - seeking non-generic aesthetic direction
82
+ avoid_when:
83
+ - using as technical evidence
84
+ - light-mode or accessibility-contrast requirements
85
+ search_queries:
86
+ - "dark design dark mode UI"
87
+ - "dark design high contrast inspiration"
88
+ - "dark theme visual reference"
89
+
90
+ - name: Animate UI
91
+ url: https://animate-ui.com/
92
+ type: implementation
93
+ category: frontend
94
+ authority: community
95
+ use_when:
96
+ - implementing or reviewing concrete animation components
97
+ - referencing real transition and motion patterns
98
+ - auditing animation-review findings against working examples
99
+ avoid_when:
100
+ - needing animation principles over code
101
+ - when reduced-motion accessibility is the primary concern
102
+ search_queries:
103
+ - "animate ui component animation"
104
+ - "animate ui transition examples"
105
+ - "animate ui motion implementation"
106
+
107
+ - name: LazyWeb
108
+ url: https://www.lazyweb.com/
109
+ type: discovery
110
+ category: frontend
111
+ authority: community
112
+ use_when:
113
+ - discovering more frontend sources and tools
114
+ - finding what the community is using for a given problem
115
+ - expanding the reference set before deep research
116
+ avoid_when:
117
+ - when authoritative sources are already identified
118
+ - as primary evidence for a finding
119
+ search_queries:
120
+ - "lazyweb frontend tools"
121
+ - "lazyweb UI libraries"
122
+ - "lazyweb design resources"
123
+
124
+ - name: Shoogle
125
+ url: https://shoogle.dev/
126
+ type: discovery
127
+ category: frontend
128
+ authority: community
129
+ use_when:
130
+ - discovering frontend libraries and components
131
+ - surveying implementation options for a UI need
132
+ - broadening research before committing to an approach
133
+ avoid_when:
134
+ - as primary evidence
135
+ - when official docs for a chosen library exist
136
+ search_queries:
137
+ - "shoogle frontend components"
138
+ - "shoogle UI library discovery"
139
+ - "shoogle react components"
@@ -0,0 +1,54 @@
1
+ # references/product.yaml
2
+ # Catálogo de fontes para produto: regras de negócio, gamificação, comportamento de mercado.
3
+ # Schema: ver docs/reference-authoring.md
4
+
5
+ - name: GitHub
6
+ url: https://github.com/
7
+ type: implementation
8
+ category: product
9
+ authority: community
10
+ use_when:
11
+ - comparing how real products implement gamification and reward loops
12
+ - finding production examples of XP, streaks, and achievement systems
13
+ - locating test cases for reward abuse
14
+ avoid_when:
15
+ - copying logic blindly
16
+ - when official documentation for a framework's reward primitives exists
17
+ search_queries:
18
+ - "<product> XP reward implementation"
19
+ - "gamification streak system github"
20
+ - "achievement reward loop implementation"
21
+
22
+ - name: Product Hunt
23
+ url: https://www.producthunt.com/
24
+ type: discovery
25
+ category: product
26
+ authority: community
27
+ use_when:
28
+ - discovering real products that solved a similar problem
29
+ - surveying how the market approaches a feature
30
+ - feeding market-research before deeper analysis
31
+ avoid_when:
32
+ - as primary evidence for a technical finding
33
+ - when authoritative methodology is needed
34
+ search_queries:
35
+ - "product hunt gamification"
36
+ - "product hunt <feature category>"
37
+ - "product hunt reward systems"
38
+
39
+ - name: Reforge
40
+ url: https://reforge.com/resources
41
+ type: methodology
42
+ category: product
43
+ authority: established
44
+ use_when:
45
+ - reasoning about retention loops and engagement mechanics
46
+ - auditing whether a reward system is gamed-resistant by design
47
+ - grounding a gamification-audit in recognized product thinking
48
+ avoid_when:
49
+ - pure visual or frontend review
50
+ - tasks unrelated to engagement or business metrics
51
+ search_queries:
52
+ - "Reforge retention loops"
53
+ - "Reforge gamification mechanics"
54
+ - "Reforge engagement systems"
@@ -0,0 +1,88 @@
1
+ # references/research.yaml
2
+ # Catálogo de fontes para pesquisa: descoberta de referências, implementações e mercado.
3
+ # Schema: ver docs/reference-authoring.md
4
+
5
+ - name: GitHub
6
+ url: https://github.com/
7
+ type: implementation
8
+ category: research
9
+ authority: community
10
+ use_when:
11
+ - searching production implementations of a feature or pattern
12
+ - comparing architecture, database, API, and framework choices
13
+ - evaluating activity, quality, tests, docs, adoption, license
14
+ avoid_when:
15
+ - when official documentation is more authoritative
16
+ - copying code instead of extracting ideas
17
+ search_queries:
18
+ - "<feature> implementation architecture"
19
+ - "<feature> database schema API"
20
+ - "<feature> framework tests adoption"
21
+
22
+ - name: Google Scholar
23
+ url: https://scholar.google.com/
24
+ type: discovery
25
+ category: research
26
+ authority: established
27
+ use_when:
28
+ - finding authoritative technical literature on a hard problem
29
+ - grounding concurrency, integrity, or algorithm decisions in research
30
+ - when uncertainty and impact are both high
31
+ avoid_when:
32
+ - routine implementation tasks
33
+ - when practitioner sources already answer the question
34
+ search_queries:
35
+ - "<topic> race condition formal"
36
+ - "<topic> idempotency distributed systems"
37
+ - "<topic> consensus integrity"
38
+
39
+ - name: Hacker News
40
+ url: https://news.ycombinator.com/
41
+ type: discovery
42
+ category: research
43
+ authority: community
44
+ use_when:
45
+ - finding practitioner discussion and post-mortems
46
+ - discovering real-world edge cases and failures
47
+ - surveying community sentiment on a library or approach
48
+ avoid_when:
49
+ - as primary technical evidence
50
+ - when authoritative docs exist
51
+ search_queries:
52
+ - "Hacker News <library> experience"
53
+ - "Hacker News <feature> post-mortem"
54
+ - "Hacker News <pattern> pitfalls"
55
+
56
+ - name: Stack Overflow
57
+ url: https://stackoverflow.com/
58
+ type: heuristic
59
+ category: research
60
+ authority: community
61
+ use_when:
62
+ - finding how practitioners solved a specific technical problem
63
+ - locating known edge cases and gotchas
64
+ - debugging an obscure error during investigation
65
+ avoid_when:
66
+ - when official documentation covers the topic
67
+ - as justification for a security finding
68
+ search_queries:
69
+ - "<error message> stack overflow"
70
+ - "<library> <edge case>"
71
+ - "<pattern> concurrency gotcha"
72
+
73
+ - name: DevDocs
74
+ url: https://devdocs.io/
75
+ type: implementation
76
+ category: research
77
+ authority: vendor
78
+ use_when:
79
+ - quickly consulting consolidated official documentation
80
+ - cross-referencing API references across frameworks
81
+ - during implementation-research for canonical signatures
82
+ avoid_when:
83
+ - when the vendor's own docs have fuller guides
84
+ - non-documented, behavioral questions
85
+ search_queries:
86
+ - "devdocs <framework> api reference"
87
+ - "devdocs <method> signature"
88
+ - "devdocs <library> documentation"
@@ -0,0 +1,85 @@
1
+ # references/security.yaml
2
+ # Catálogo de fontes para segurança: autorização, abuso de API, confiança de input.
3
+ # Schema: ver docs/reference-authoring.md
4
+
5
+ - name: OWASP Cheat Sheet Series
6
+ url: https://cheatsheetseries.owasp.org/
7
+ type: methodology
8
+ category: security
9
+ authority: established
10
+ use_when:
11
+ - auditing authorization and access control
12
+ - reviewing input validation and trust boundaries
13
+ - designing server-side enforcement of permissions
14
+ avoid_when:
15
+ - pure UX or visual review
16
+ - non-web security contexts
17
+ search_queries:
18
+ - "OWASP authorization cheat sheet"
19
+ - "OWASP injection prevention"
20
+ - "OWASP server-side validation"
21
+
22
+ - name: OWASP Top 10
23
+ url: https://owasp.org/Top10/
24
+ type: methodology
25
+ category: security
26
+ authority: established
27
+ use_when:
28
+ - classifying authorization and input-trust findings
29
+ - prioritizing security skill selection
30
+ - mapping defects to Broken Access Control / Identification & Auth Failures
31
+ avoid_when:
32
+ - narrow investigations already scoped to one issue
33
+ search_queries:
34
+ - "OWASP broken access control A01"
35
+ - "OWASP identification authentication A07"
36
+ - "OWASP security by design"
37
+
38
+ - name: PortSwigger Web Security Academy
39
+ url: https://portswigger.net/web-security
40
+ type: methodology
41
+ category: security
42
+ authority: established
43
+ use_when:
44
+ - reproducing access control and API abuse attack patterns
45
+ - learning IDOR and privilege escalation techniques
46
+ - training input-trust adversarial thinking
47
+ avoid_when:
48
+ - non-web targets
49
+ search_queries:
50
+ - "PortSwigger access control"
51
+ - "PortSwigger IDOR insecure direct object reference"
52
+ - "PortSwigger API abuse mass assignment"
53
+
54
+ - name: CWE — Common Weakness Enumeration
55
+ url: https://cwe.mitre.org/
56
+ type: heuristic
57
+ category: security
58
+ authority: established
59
+ use_when:
60
+ - naming and classifying a confirmed weakness
61
+ - finding canonical descriptions of input-trust and authorization flaws
62
+ - referencing a finding to a recognized standard
63
+ avoid_when:
64
+ - discovery of novel patterns (CWE classifies known ones)
65
+ search_queries:
66
+ - "CWE authorization missing"
67
+ - "CWE improper input validation"
68
+ - "CWE trust boundary violation"
69
+
70
+ - name: GitHub
71
+ url: https://github.com/
72
+ type: implementation
73
+ category: security
74
+ authority: community
75
+ use_when:
76
+ - finding real-world examples of authorization middleware
77
+ - comparing how projects enforce ownership and roles server-side
78
+ - locating test suites for access control
79
+ avoid_when:
80
+ - when official guidance is more authoritative
81
+ - copying middleware blindly without adapting to the project's model
82
+ search_queries:
83
+ - "<framework> authorization middleware"
84
+ - "<framework> role based access control implementation"
85
+ - "<feature> ownership check server side"
@@ -0,0 +1,37 @@
1
+ # references/ux.yaml
2
+ # Catálogo de fontes para UX: usabilidade, heurísticas, fluxos, carga cognitiva.
3
+ # Schema: ver docs/reference-authoring.md
4
+
5
+ - name: Laws of UX
6
+ url: https://lawsofux.com/
7
+ type: methodology
8
+ category: ux
9
+ authority: established
10
+ use_when:
11
+ - reviewing usability and cognitive load
12
+ - designing or auditing user flows
13
+ - justifying a UX decision with a recognized principle
14
+ avoid_when:
15
+ - pure visual or aesthetic review
16
+ - backend-only tasks
17
+ search_queries:
18
+ - "Laws of UX heuristics"
19
+ - "Laws of UX cognitive load"
20
+ - "Laws of UX Hick's law Fitts's law"
21
+
22
+ - name: Interfaces
23
+ url: https://interfaces.rauno.me/
24
+ type: heuristic
25
+ category: ux
26
+ authority: curated
27
+ use_when:
28
+ - calibrating taste for interaction detail and feedback
29
+ - comparing affordances and micro-interactions
30
+ - seeking reference for high-craft interface patterns
31
+ avoid_when:
32
+ - needing authoritative methodology
33
+ - copying visual identity
34
+ search_queries:
35
+ - "interfaces rauno interaction detail"
36
+ - "high craft UI affordances"
37
+ - "interface micro-interactions reference"