@ryuenn3123/agentic-senior-core 5.3.0 → 5.5.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.
- package/.agents/plugins/agentic-senior-core/rules/agentic-senior-core.md +12 -77
- package/.agents/plugins/agentic-senior-core/skills/asc/SKILL.md +11 -0
- package/.agents/plugins/agentic-senior-core/skills/asc-debt/SKILL.md +64 -0
- package/.agents/plugins/agentic-senior-core/skills/asc-refactor/SKILL.md +1 -1
- package/.agents/plugins/agentic-senior-core/skills/asc-reference/SKILL.md +51 -0
- package/.agents/plugins/agentic-senior-core/skills/asc-review/SKILL.md +4 -3
- package/.agents/rules/agentic-senior-core.md +12 -77
- package/.claude-plugin/plugin.json +1 -1
- package/.clinerules/agentic-senior-core.md +9 -12
- package/.codex-plugin/plugin.json +1 -1
- package/.continue/rules/agentic-senior-core.md +9 -12
- package/.cursor/rules/agentic-senior-core.mdc +9 -12
- package/.devin/rules/agentic-senior-core.md +9 -12
- package/.devin-plugin/plugin.json +1 -1
- package/.github/copilot-instructions.md +9 -12
- package/.github/plugin/plugin.json +1 -1
- package/.kilocode/rules/agentic-senior-core.md +9 -12
- package/.kiro/steering/agentic-senior-core.md +9 -12
- package/.openclaw/skills/asc/SKILL.md +11 -0
- package/.openclaw/skills/asc-debt/SKILL.md +71 -0
- package/.openclaw/skills/asc-reference/SKILL.md +58 -0
- package/.openclaw/skills/asc-review/SKILL.md +4 -3
- package/.openhands/microagents/agentic-senior-core.md +9 -12
- package/.roo/rules/agentic-senior-core.md +9 -12
- package/.windsurf/rules/agentic-senior-core.md +9 -12
- package/.zed/rules/agentic-senior-core.md +9 -12
- package/AGENTS.md +12 -77
- package/CONVENTIONS.md +9 -12
- package/README.md +27 -4
- package/gemini-extension.json +1 -1
- package/hooks/copilot-hooks.json +9 -0
- package/hooks/hooks.json +14 -0
- package/hooks/post-edit-enforce.js +134 -0
- package/package.json +1 -1
- package/plugin.yaml +3 -1
- package/scripts/mcp-server/constants.mjs +2 -9
- package/skills/asc/SKILL.md +11 -0
- package/skills/asc-debt/SKILL.md +64 -0
- package/skills/asc-refactor/SKILL.md +1 -1
- package/skills/asc-reference/SKILL.md +51 -0
- package/skills/asc-review/SKILL.md +4 -3
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# ASC Domain Reference
|
|
2
|
+
|
|
3
|
+
Domain-specific coding rules for testing, API design, database queries, frontend components, infrastructure configs, and service resilience. Load this skill when working on any of these domains.
|
|
4
|
+
|
|
5
|
+
## Testing
|
|
6
|
+
|
|
7
|
+
- Write tests for business logic and boundary failures, not implementation details.
|
|
8
|
+
- Cover happy path, error paths, edge cases, and empty states.
|
|
9
|
+
- Tests must be fast, isolated, deterministic.
|
|
10
|
+
- Integration tests for critical data paths.
|
|
11
|
+
- Sensitive mutations need idempotency or duplicate-submit coverage.
|
|
12
|
+
- CI pipelines block on test failures.
|
|
13
|
+
|
|
14
|
+
## API Design
|
|
15
|
+
|
|
16
|
+
- Consistent resource naming and HTTP semantics.
|
|
17
|
+
- Bounded list reads: always paginate or set explicit limits.
|
|
18
|
+
- Idempotent for side-effect mutations. Document retry behavior.
|
|
19
|
+
- Backward-compatible by default. Version breaking changes explicitly.
|
|
20
|
+
- Sync docs in the same commit when changing API, CLI, or schema.
|
|
21
|
+
|
|
22
|
+
## Database
|
|
23
|
+
|
|
24
|
+
- Use eager loading or batching to eliminate N+1 queries.
|
|
25
|
+
- Paginate all growable datasets. No unbounded queries.
|
|
26
|
+
- Multi-table mutations run inside transactions.
|
|
27
|
+
- Monetary amounts: integer minor units or exact decimal. Never floats.
|
|
28
|
+
- Timestamps in UTC. No naive timestamps.
|
|
29
|
+
- Schema changes require versioned, reversible migrations.
|
|
30
|
+
- Never modify merged migrations. Create new ones.
|
|
31
|
+
|
|
32
|
+
## Frontend
|
|
33
|
+
|
|
34
|
+
- Semantic HTML before custom components.
|
|
35
|
+
- WCAG 2.2 AA is the accessibility floor.
|
|
36
|
+
- Responsive by default. Handle empty, loading, error, and offline states.
|
|
37
|
+
- No placeholder, lorem, or TODO content in production UI.
|
|
38
|
+
|
|
39
|
+
## Infrastructure
|
|
40
|
+
|
|
41
|
+
- Container configs: multi-stage builds, minimal base images, non-root users, no baked secrets.
|
|
42
|
+
- Configuration from environment, validated at startup. Fail fast if invalid.
|
|
43
|
+
- Structured logging with correlation IDs. No PII in logs.
|
|
44
|
+
|
|
45
|
+
## Resilience
|
|
46
|
+
|
|
47
|
+
- Every outbound network call has a strict timeout.
|
|
48
|
+
- Retries use exponential backoff with jitter and max attempt limits.
|
|
49
|
+
- Only retry idempotent operations.
|
|
50
|
+
- Circuit breakers for unhealthy dependencies.
|
|
51
|
+
- Graceful degradation on non-critical dependency failure.
|
|
@@ -7,6 +7,7 @@ Production-risk code review. Prioritize findings by severity.
|
|
|
7
7
|
1. Read the changed files and understand the scope.
|
|
8
8
|
2. For UI changes, check accessibility and design consistency.
|
|
9
9
|
3. For API changes, check contract stability and documentation sync.
|
|
10
|
+
4. Walk the decision ladder for each new file or dependency: does this need to exist, could the stdlib or an existing dependency handle it?
|
|
10
11
|
|
|
11
12
|
## Finding Priority Order
|
|
12
13
|
|
|
@@ -33,11 +34,11 @@ Production-risk code review. Prioritize findings by severity.
|
|
|
33
34
|
- External input validated at trust boundaries.
|
|
34
35
|
- Secrets, tokens, credentials not committed or logged.
|
|
35
36
|
- Authorization enforced at a trusted boundary.
|
|
36
|
-
- Error responses
|
|
37
|
+
- Error responses keep internal details out of client responses.
|
|
37
38
|
|
|
38
39
|
### Architecture
|
|
39
|
-
- Layer boundaries clear. Controllers
|
|
40
|
-
-
|
|
40
|
+
- Layer boundaries clear. Controllers handle protocol translation only; business logic stays in services.
|
|
41
|
+
- Abstractions backed by real duplication, not prediction. Straightforward code over clever solutions.
|
|
41
42
|
- Complexity budget applied: fewer moving parts without losing safety.
|
|
42
43
|
|
|
43
44
|
### Testing
|