@ryuenn3123/agentic-senior-core 2.5.22 → 3.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.
- package/.agent-context/prompts/init-project.md +5 -5
- package/.agent-context/prompts/refactor.md +2 -1
- package/.agent-context/prompts/review-code.md +3 -2
- package/.agent-context/review-checklists/pr-checklist.md +8 -1
- package/.agent-context/rules/architecture.md +11 -0
- package/.agent-context/rules/frontend-architecture.md +2 -2
- package/.agent-context/state/architecture-map.md +1 -1
- package/.agent-context/state/memory-continuity-benchmark.json +1 -1
- package/.agents/workflows/init-project.md +3 -3
- package/.agents/workflows/refactor.md +1 -1
- package/.agents/workflows/review-code.md +4 -5
- package/.cursorrules +27 -71
- package/.gemini/instructions.md +6 -7
- package/.github/copilot-instructions.md +5 -6
- package/.windsurfrules +27 -71
- package/AGENTS.md +7 -9
- package/CONTRIBUTING.md +18 -31
- package/README.md +21 -4
- package/bin/agentic-senior-core.js +0 -6
- package/lib/cli/commands/init.mjs +113 -650
- package/lib/cli/commands/launch.mjs +1 -23
- package/lib/cli/commands/rollback.mjs +1 -1
- package/lib/cli/commands/upgrade.mjs +1 -23
- package/lib/cli/compiler.mjs +77 -72
- package/lib/cli/constants.mjs +84 -26
- package/lib/cli/init-architecture-flow.mjs +231 -0
- package/lib/cli/init-detection-flow.mjs +123 -0
- package/lib/cli/init-options.mjs +344 -0
- package/lib/cli/init-selection.mjs +100 -0
- package/lib/cli/preflight.mjs +1 -1
- package/lib/cli/profile-packs.mjs +15 -1
- package/lib/cli/project-scaffolder.mjs +18 -154
- package/lib/cli/utils.mjs +16 -12
- package/mcp.json +19 -19
- package/package.json +5 -2
- package/scripts/context-triggered-audit.mjs +18 -18
- package/scripts/documentation-boundary-audit.mjs +92 -5
- package/scripts/forbidden-content-check.mjs +1 -1
- package/scripts/frontend-usability-audit.mjs +21 -28
- package/scripts/governance-weekly-report.mjs +29 -15
- package/scripts/llm-judge.mjs +2 -5
- package/scripts/mcp-server.mjs +389 -5
- package/scripts/release-gate.mjs +121 -145
- package/scripts/sync-thin-adapters.mjs +161 -0
- package/scripts/v3-purge-audit.mjs +231 -0
- package/scripts/validate-evidence-bundle.mjs +1 -1
- package/scripts/validate.mjs +224 -272
- package/.agent-context/blueprints/api-nextjs.md +0 -184
- package/.agent-context/blueprints/aspnet-api.md +0 -247
- package/.agent-context/blueprints/ci-github-actions.md +0 -226
- package/.agent-context/blueprints/ci-gitlab.md +0 -200
- package/.agent-context/blueprints/fastapi-service.md +0 -210
- package/.agent-context/blueprints/go-service.md +0 -217
- package/.agent-context/blueprints/graphql-grpc-api.md +0 -51
- package/.agent-context/blueprints/infrastructure-as-code.md +0 -62
- package/.agent-context/blueprints/kubernetes-manifests.md +0 -76
- package/.agent-context/blueprints/laravel-api.md +0 -233
- package/.agent-context/blueprints/mobile-app.md +0 -91
- package/.agent-context/blueprints/nestjs-logic.md +0 -247
- package/.agent-context/blueprints/observability.md +0 -227
- package/.agent-context/blueprints/spring-boot-api.md +0 -218
- package/.agent-context/profiles/platform.md +0 -13
- package/.agent-context/profiles/regulated.md +0 -13
- package/.agent-context/profiles/startup.md +0 -13
- package/.agent-context/review-checklists/frontend-excellence-rubric.md +0 -73
- package/.agent-context/review-checklists/frontend-skill-parity.md +0 -29
- package/.agent-context/review-checklists/frontend-usability.md +0 -35
- package/.agent-context/review-checklists/marketplace-acceptance.md +0 -60
- package/.agent-context/review-checklists/performance-audit.md +0 -71
- package/.agent-context/review-checklists/release-operations.md +0 -33
- package/.agent-context/review-checklists/security-audit.md +0 -119
- package/.agent-context/skills/README.md +0 -63
- package/.agent-context/skills/backend/README.md +0 -68
- package/.agent-context/skills/backend/architecture.md +0 -361
- package/.agent-context/skills/backend/compatibility-manifest.json +0 -8
- package/.agent-context/skills/backend/data-access.md +0 -231
- package/.agent-context/skills/backend/errors.md +0 -138
- package/.agent-context/skills/backend/validation.md +0 -117
- package/.agent-context/skills/backend.md +0 -29
- package/.agent-context/skills/cli/.evidence/compatibility-manifest.json +0 -5
- package/.agent-context/skills/cli/.evidence/sbom-excerpt.json +0 -10
- package/.agent-context/skills/cli/.evidence/test-report.json +0 -8
- package/.agent-context/skills/cli/CHANGELOG.md +0 -6
- package/.agent-context/skills/cli/README.md +0 -56
- package/.agent-context/skills/cli/compatibility-manifest.json +0 -8
- package/.agent-context/skills/cli/init.md +0 -38
- package/.agent-context/skills/cli/output.md +0 -36
- package/.agent-context/skills/cli/package.json +0 -5
- package/.agent-context/skills/cli/safety-telemetry.md +0 -39
- package/.agent-context/skills/cli/tests/.gitkeep +0 -1
- package/.agent-context/skills/cli/upgrade.md +0 -38
- package/.agent-context/skills/cli.md +0 -32
- package/.agent-context/skills/distribution/.evidence/compatibility-manifest.json +0 -9
- package/.agent-context/skills/distribution/.evidence/sbom-excerpt.json +0 -6
- package/.agent-context/skills/distribution/.evidence/test-report.json +0 -8
- package/.agent-context/skills/distribution/CHANGELOG.md +0 -7
- package/.agent-context/skills/distribution/README.md +0 -27
- package/.agent-context/skills/distribution/compatibility-manifest.json +0 -8
- package/.agent-context/skills/distribution/compatibility.md +0 -32
- package/.agent-context/skills/distribution/package.json +0 -5
- package/.agent-context/skills/distribution/provenance-attestation.md +0 -47
- package/.agent-context/skills/distribution/publish.md +0 -37
- package/.agent-context/skills/distribution/rollback.md +0 -32
- package/.agent-context/skills/distribution/tests/.gitkeep +0 -1
- package/.agent-context/skills/distribution.md +0 -32
- package/.agent-context/skills/frontend/.evidence/compatibility-manifest.json +0 -9
- package/.agent-context/skills/frontend/.evidence/sbom-excerpt.json +0 -6
- package/.agent-context/skills/frontend/.evidence/test-report.json +0 -8
- package/.agent-context/skills/frontend/CHANGELOG.md +0 -7
- package/.agent-context/skills/frontend/README.md +0 -50
- package/.agent-context/skills/frontend/accessibility.md +0 -107
- package/.agent-context/skills/frontend/compatibility-manifest.json +0 -8
- package/.agent-context/skills/frontend/conversion-clarity.md +0 -51
- package/.agent-context/skills/frontend/motion.md +0 -67
- package/.agent-context/skills/frontend/package.json +0 -5
- package/.agent-context/skills/frontend/performance.md +0 -63
- package/.agent-context/skills/frontend/responsive-delivery.md +0 -41
- package/.agent-context/skills/frontend/tests/.gitkeep +0 -1
- package/.agent-context/skills/frontend/ui-architecture.md +0 -128
- package/.agent-context/skills/frontend.md +0 -40
- package/.agent-context/skills/fullstack/.evidence/compatibility-manifest.json +0 -9
- package/.agent-context/skills/fullstack/.evidence/sbom-excerpt.json +0 -6
- package/.agent-context/skills/fullstack/.evidence/test-report.json +0 -8
- package/.agent-context/skills/fullstack/CHANGELOG.md +0 -7
- package/.agent-context/skills/fullstack/README.md +0 -27
- package/.agent-context/skills/fullstack/compatibility-manifest.json +0 -8
- package/.agent-context/skills/fullstack/contracts.md +0 -53
- package/.agent-context/skills/fullstack/end-to-end.md +0 -42
- package/.agent-context/skills/fullstack/feature-slicing.md +0 -65
- package/.agent-context/skills/fullstack/package.json +0 -5
- package/.agent-context/skills/fullstack/release-coordination.md +0 -51
- package/.agent-context/skills/fullstack/tests/.gitkeep +0 -1
- package/.agent-context/skills/fullstack.md +0 -30
- package/.agent-context/skills/index.json +0 -107
- package/.agent-context/skills/review-quality/.evidence/compatibility-manifest.json +0 -9
- package/.agent-context/skills/review-quality/.evidence/sbom-excerpt.json +0 -6
- package/.agent-context/skills/review-quality/.evidence/test-report.json +0 -8
- package/.agent-context/skills/review-quality/CHANGELOG.md +0 -7
- package/.agent-context/skills/review-quality/README.md +0 -27
- package/.agent-context/skills/review-quality/benchmark.md +0 -30
- package/.agent-context/skills/review-quality/compatibility-manifest.json +0 -8
- package/.agent-context/skills/review-quality/package.json +0 -5
- package/.agent-context/skills/review-quality/planning.md +0 -38
- package/.agent-context/skills/review-quality/release-decision.md +0 -49
- package/.agent-context/skills/review-quality/security.md +0 -34
- package/.agent-context/skills/review-quality/tests/.gitkeep +0 -1
- package/.agent-context/skills/review-quality.md +0 -34
- package/.agent-context/stacks/csharp.md +0 -149
- package/.agent-context/stacks/flutter.md +0 -16
- package/.agent-context/stacks/go.md +0 -181
- package/.agent-context/stacks/java.md +0 -135
- package/.agent-context/stacks/php.md +0 -192
- package/.agent-context/stacks/python.md +0 -153
- package/.agent-context/stacks/react-native.md +0 -16
- package/.agent-context/stacks/ruby.md +0 -80
- package/.agent-context/stacks/rust.md +0 -86
- package/.agent-context/stacks/typescript.md +0 -317
- package/.agent-context/state/skill-platform.json +0 -38
- package/lib/cli/skill-selector.mjs +0 -232
- package/lib/cli/templates/api-contract.md.id.tmpl +0 -143
- package/lib/cli/templates/api-contract.md.tmpl +0 -143
- package/lib/cli/templates/architecture-decision-record.md.id.tmpl +0 -106
- package/lib/cli/templates/architecture-decision-record.md.tmpl +0 -145
- package/lib/cli/templates/database-schema.md.id.tmpl +0 -74
- package/lib/cli/templates/database-schema.md.tmpl +0 -74
- package/lib/cli/templates/flow-overview.md.id.tmpl +0 -118
- package/lib/cli/templates/flow-overview.md.tmpl +0 -131
- package/lib/cli/templates/project-brief.md.id.tmpl +0 -55
- package/lib/cli/templates/project-brief.md.tmpl +0 -79
- package/scripts/init-project.ps1 +0 -105
- package/scripts/init-project.sh +0 -131
- package/scripts/skill-tier-policy.mjs +0 -76
- package/scripts/trust-scorer.mjs +0 -119
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Component Architecture and State Management
|
|
2
|
-
|
|
3
|
-
**Tier:** EXPERT | **Source:** awesome-copilot (smart/dumb) + minimax (design systems) + antigravity (React patterns)
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
UI architecture decides how state, behavior, and presentation are split. Good structure reduces re-render churn, keeps component boundaries stable, and makes features easier to test.
|
|
8
|
-
|
|
9
|
-
## Part 1: Smart and Dumb Separation
|
|
10
|
-
|
|
11
|
-
A smart component owns data flow, side effects, and orchestration. A dumb component renders input and emits events.
|
|
12
|
-
|
|
13
|
-
```javascript
|
|
14
|
-
function PaymentFormContainer() {
|
|
15
|
-
const [amount, setAmount] = useState('');
|
|
16
|
-
const [status, setStatus] = useState('idle');
|
|
17
|
-
const [errorMessage, setErrorMessage] = useState(null);
|
|
18
|
-
|
|
19
|
-
const handleSubmit = async (submittedAmount) => {
|
|
20
|
-
setStatus('loading');
|
|
21
|
-
try {
|
|
22
|
-
const response = await fetch('/api/payments', {
|
|
23
|
-
method: 'POST',
|
|
24
|
-
body: JSON.stringify({ amount: submittedAmount })
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
if (!response.ok) {
|
|
28
|
-
throw new Error('Payment request failed');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
setStatus('success');
|
|
32
|
-
} catch (caughtError) {
|
|
33
|
-
setErrorMessage(caughtError.message);
|
|
34
|
-
setStatus('error');
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
return (
|
|
39
|
-
<PaymentFormView
|
|
40
|
-
amount={amount}
|
|
41
|
-
isLoading={status === 'loading'}
|
|
42
|
-
errorMessage={errorMessage}
|
|
43
|
-
onAmountChange={setAmount}
|
|
44
|
-
onSubmit={handleSubmit}
|
|
45
|
-
/>
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
```javascript
|
|
51
|
-
function PaymentFormView({ amount, isLoading, errorMessage, onAmountChange, onSubmit }) {
|
|
52
|
-
return (
|
|
53
|
-
<form onSubmit={(event) => { event.preventDefault(); onSubmit(amount); }}>
|
|
54
|
-
<input
|
|
55
|
-
value={amount}
|
|
56
|
-
onChange={(event) => onAmountChange(event.target.value)}
|
|
57
|
-
disabled={isLoading}
|
|
58
|
-
/>
|
|
59
|
-
<button disabled={isLoading}>
|
|
60
|
-
{isLoading ? 'Processing' : 'Pay'}
|
|
61
|
-
</button>
|
|
62
|
-
{errorMessage ? <p>{errorMessage}</p> : null}
|
|
63
|
-
</form>
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Part 2: State Ownership Rules
|
|
69
|
-
|
|
70
|
-
Use the smallest useful state scope.
|
|
71
|
-
|
|
72
|
-
- Local component state: form fields, toggles, ephemeral UI state.
|
|
73
|
-
- Shared UI state: theme, sidebar state, modal visibility.
|
|
74
|
-
- Server state: remote data, caching, invalidation, refetching.
|
|
75
|
-
- Derived state: compute from existing data instead of duplicating it.
|
|
76
|
-
|
|
77
|
-
Recommended mapping:
|
|
78
|
-
- `useState` for local state.
|
|
79
|
-
- `Zustand` or context for global UI state.
|
|
80
|
-
- `TanStack Query` for server state.
|
|
81
|
-
- Avoid context for high-frequency server data when query caching is the better fit.
|
|
82
|
-
|
|
83
|
-
## Part 3: Composition and Contracts
|
|
84
|
-
|
|
85
|
-
A component contract should define what it accepts, what it renders, and what events it emits.
|
|
86
|
-
|
|
87
|
-
```javascript
|
|
88
|
-
interface ButtonProps {
|
|
89
|
-
variant?: 'primary' | 'secondary' | 'danger';
|
|
90
|
-
size?: 'small' | 'medium' | 'large';
|
|
91
|
-
disabled?: boolean;
|
|
92
|
-
loading?: boolean;
|
|
93
|
-
onClick: () => void;
|
|
94
|
-
children: React.ReactNode;
|
|
95
|
-
}
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
Keep public component APIs stable. If the component grows many optional props, split it into smaller feature-specific components instead of adding more flags.
|
|
99
|
-
|
|
100
|
-
## Part 4: Anti-Patterns
|
|
101
|
-
|
|
102
|
-
- Prop drilling across many levels.
|
|
103
|
-
- Global context for everything.
|
|
104
|
-
- Mixing network calls into presentational views.
|
|
105
|
-
- Repeating derived values in both state and render.
|
|
106
|
-
- Reaching into another feature's internals instead of using the feature public API.
|
|
107
|
-
|
|
108
|
-
## Part 5: Design System Integration
|
|
109
|
-
|
|
110
|
-
Design tokens should drive spacing, color, and sizing. Avoid one-off values unless the design system explicitly allows them.
|
|
111
|
-
|
|
112
|
-
```javascript
|
|
113
|
-
const buttonStyles = {
|
|
114
|
-
primary: 'bg-primary text-on-primary',
|
|
115
|
-
secondary: 'bg-surface text-primary',
|
|
116
|
-
danger: 'bg-danger text-on-danger'
|
|
117
|
-
};
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Review Checklist
|
|
121
|
-
|
|
122
|
-
- [ ] Smart and dumb layers are separated.
|
|
123
|
-
- [ ] State ownership is minimal and deliberate.
|
|
124
|
-
- [ ] Server state uses a cache-aware tool.
|
|
125
|
-
- [ ] Component contracts are explicit and stable.
|
|
126
|
-
- [ ] Feature boundaries are respected.
|
|
127
|
-
- [ ] Design tokens are used consistently.
|
|
128
|
-
- [ ] Prop drilling does not replace composition or shared state.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# Frontend Skill Pack
|
|
2
|
-
|
|
3
|
-
Default tier: `advance`
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
Deliver frontend experiences that are visually intentional, accessible, and efficient.
|
|
7
|
-
Target designer-grade quality comparable to high-signal manual design workflows.
|
|
8
|
-
|
|
9
|
-
## In Scope
|
|
10
|
-
- UI architecture and component composition
|
|
11
|
-
- Responsive layouts and breakpoints
|
|
12
|
-
- Motion, animation, and interaction polish
|
|
13
|
-
- Accessibility and keyboard flows
|
|
14
|
-
- Conversion clarity and onboarding flow
|
|
15
|
-
- Performance budgets and render diagnostics
|
|
16
|
-
- Release evidence for visual and interaction quality
|
|
17
|
-
|
|
18
|
-
## Must-Have Checks
|
|
19
|
-
- Feature-driven folder structure
|
|
20
|
-
- Smart and dumb component separation
|
|
21
|
-
- Server state and client state separation
|
|
22
|
-
- Reduced-motion fallback
|
|
23
|
-
- Accessibility baseline pass
|
|
24
|
-
- Responsive behavior verified on mobile and desktop
|
|
25
|
-
- Visual direction is explicit and not a generic AI template pattern
|
|
26
|
-
- Typography and color system choices are intentional and contrast-safe
|
|
27
|
-
- First viewport communicates value proposition and primary action clearly
|
|
28
|
-
- Error and empty states provide explicit next actions
|
|
29
|
-
- Performance budget and regression thresholds are documented per release
|
|
30
|
-
|
|
31
|
-
## Evidence
|
|
32
|
-
- Usability audit result
|
|
33
|
-
- Visual regression output
|
|
34
|
-
- Accessibility checklist result
|
|
35
|
-
- Frontend excellence rubric scorecard
|
|
36
|
-
- Release notes for motion and interaction changes
|
|
37
|
-
- Performance trend snapshot and remediation notes when regressions occur
|
|
38
|
-
|
|
39
|
-
## Fallback
|
|
40
|
-
- If a feature cannot meet the advance tier, ship standard mode only as a temporary compatibility path.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "compatibility-manifest-v1",
|
|
3
|
-
"artifactType": "skill-domain-evidence",
|
|
4
|
-
"domain": "fullstack",
|
|
5
|
-
"ides": ["cursor", "windsurf", "copilot", "gemini", "claude", "codex", "cline"],
|
|
6
|
-
"nodeMin": "18",
|
|
7
|
-
"platforms": ["windows", "linux", "macos"],
|
|
8
|
-
"validatedAt": "2026-04-11T12:00:00Z"
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Fullstack Engineering Skills
|
|
2
|
-
|
|
3
|
-
Default tier: `advance`
|
|
4
|
-
|
|
5
|
-
This domain connects frontend and backend implementation into a single feature-delivery workflow. The guidance combines architecture patterns from awesome-copilot, operational checklists from MiniMax, and practical delivery patterns from antigravity.
|
|
6
|
-
|
|
7
|
-
## Topics
|
|
8
|
-
- [Feature Slicing](feature-slicing.md) - Organize UI, service, repository, and tests around one business capability
|
|
9
|
-
- [Contracts](contracts.md) - Keep API schemas, DTOs, and frontend types synchronized
|
|
10
|
-
- [End-to-End](end-to-end.md) - Release readiness by verified user journeys and operational gates
|
|
11
|
-
- [Release Coordination](release-coordination.md) - Multi-service rollout ordering, rollback thresholds, and evidence handoff
|
|
12
|
-
|
|
13
|
-
## Operating Model
|
|
14
|
-
- Use `advance` for normal feature development.
|
|
15
|
-
- Escalate to `expert` when a feature crosses multiple bounded contexts or service boundaries.
|
|
16
|
-
|
|
17
|
-
## Above-Line Additions
|
|
18
|
-
- Contract drift detection in CI before merge.
|
|
19
|
-
- Backward-compatibility checks for API changes.
|
|
20
|
-
- Release evidence bundle for end-to-end readiness.
|
|
21
|
-
|
|
22
|
-
## Usage Example
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
agentic-senior-core init --preset fullstack-product
|
|
26
|
-
node ./scripts/quality-trend-report.mjs
|
|
27
|
-
```
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Contracts
|
|
2
|
-
|
|
3
|
-
Tier: EXPERT
|
|
4
|
-
|
|
5
|
-
Contracts keep frontend expectations and backend behavior aligned through explicit schemas. A contract is not documentation only; it is an executable guardrail.
|
|
6
|
-
|
|
7
|
-
## Contract Sources
|
|
8
|
-
|
|
9
|
-
- API specification: OpenAPI 3.1 for HTTP boundaries.
|
|
10
|
-
- Runtime validation: Zod/Pydantic at service edges.
|
|
11
|
-
- Type generation: frontend types generated from server contract.
|
|
12
|
-
|
|
13
|
-
## Required Pipeline
|
|
14
|
-
|
|
15
|
-
1. Define or update schema in contract source.
|
|
16
|
-
2. Regenerate consumer types.
|
|
17
|
-
3. Run contract tests against provider and consumer.
|
|
18
|
-
4. Fail CI if drift is detected.
|
|
19
|
-
|
|
20
|
-
## Drift Prevention
|
|
21
|
-
|
|
22
|
-
Common drift scenarios:
|
|
23
|
-
- Backend renames field but frontend still expects old key.
|
|
24
|
-
- Enum expands or changes values without consumer handling.
|
|
25
|
-
- Response shape changes silently in minor release.
|
|
26
|
-
|
|
27
|
-
Control strategy:
|
|
28
|
-
- Pin contract artifact version.
|
|
29
|
-
- Require schema diff check in pull request.
|
|
30
|
-
- Block merge on unreviewed breaking changes.
|
|
31
|
-
|
|
32
|
-
## Breaking Change Policy
|
|
33
|
-
|
|
34
|
-
- Additive changes: allowed in minor version if backward-compatible.
|
|
35
|
-
- Behavioral changes: require release note and migration note.
|
|
36
|
-
- Breaking schema changes: major version bump with compatibility plan.
|
|
37
|
-
|
|
38
|
-
## Example Workflow
|
|
39
|
-
|
|
40
|
-
```text
|
|
41
|
-
contracts/openapi.yaml updated
|
|
42
|
-
-> generate frontend types
|
|
43
|
-
-> run provider contract tests
|
|
44
|
-
-> run consumer compatibility tests
|
|
45
|
-
-> publish artifact only if all checks pass
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Review Checklist
|
|
49
|
-
|
|
50
|
-
- [ ] Contract source is versioned and reviewed.
|
|
51
|
-
- [ ] Provider and consumer tests both pass.
|
|
52
|
-
- [ ] Breaking changes are tagged and documented.
|
|
53
|
-
- [ ] Migration path is included before release.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# End-to-End
|
|
2
|
-
|
|
3
|
-
Tier: ADVANCE
|
|
4
|
-
|
|
5
|
-
End-to-end validation is the final quality gate that confirms critical user behavior across UI, API, persistence, and integrations.
|
|
6
|
-
|
|
7
|
-
## Critical Paths First
|
|
8
|
-
|
|
9
|
-
Always cover:
|
|
10
|
-
- Authentication and session lifecycle.
|
|
11
|
-
- Primary revenue path (example: checkout, payment, order completion).
|
|
12
|
-
- Error recovery paths (timeouts, retries, invalid input).
|
|
13
|
-
- Role-based authorization boundaries.
|
|
14
|
-
|
|
15
|
-
## Test Strategy
|
|
16
|
-
|
|
17
|
-
- Unit tests: fast local confidence.
|
|
18
|
-
- Integration tests: service and repository behavior.
|
|
19
|
-
- End-to-end tests: user-visible workflows in realistic environment.
|
|
20
|
-
|
|
21
|
-
End-to-end tests should be selective and high signal. Avoid using them to test every internal branch.
|
|
22
|
-
|
|
23
|
-
## Release Evidence Bundle
|
|
24
|
-
|
|
25
|
-
For each release candidate, publish:
|
|
26
|
-
- End-to-end test report for critical journeys.
|
|
27
|
-
- Contract validation report.
|
|
28
|
-
- Benchmark delta report for performance-sensitive flows.
|
|
29
|
-
- Known risk summary and mitigation owner.
|
|
30
|
-
|
|
31
|
-
## Failure Policy
|
|
32
|
-
|
|
33
|
-
- Block release on failed critical journey tests.
|
|
34
|
-
- Block release when test environment is inconsistent with target runtime.
|
|
35
|
-
- Allow non-critical failures only with explicit risk acceptance and owner.
|
|
36
|
-
|
|
37
|
-
## Review Checklist
|
|
38
|
-
|
|
39
|
-
- [ ] Critical user journeys are covered.
|
|
40
|
-
- [ ] End-to-end tests run in CI on release candidate.
|
|
41
|
-
- [ ] Reports are archived as release artifacts.
|
|
42
|
-
- [ ] Failures are triaged with owner and deadline.
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Feature Slicing
|
|
2
|
-
|
|
3
|
-
Tier: ADVANCE
|
|
4
|
-
|
|
5
|
-
Feature slicing organizes implementation around business capabilities instead of technical file types. A single feature owns its UI, service orchestration, persistence adapters, and tests.
|
|
6
|
-
|
|
7
|
-
## Why It Matters
|
|
8
|
-
|
|
9
|
-
- Improves ownership: one team can ship and maintain a feature end to end.
|
|
10
|
-
- Reduces coupling: changes stay local to one capability.
|
|
11
|
-
- Speeds delivery: less coordination across unrelated folders.
|
|
12
|
-
|
|
13
|
-
## Recommended Layout
|
|
14
|
-
|
|
15
|
-
```text
|
|
16
|
-
src/
|
|
17
|
-
features/
|
|
18
|
-
checkout/
|
|
19
|
-
ui/
|
|
20
|
-
service/
|
|
21
|
-
repository/
|
|
22
|
-
contracts/
|
|
23
|
-
tests/
|
|
24
|
-
index.ts
|
|
25
|
-
orders/
|
|
26
|
-
ui/
|
|
27
|
-
service/
|
|
28
|
-
repository/
|
|
29
|
-
contracts/
|
|
30
|
-
tests/
|
|
31
|
-
index.ts
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Module Boundary Rules
|
|
35
|
-
|
|
36
|
-
- Expose only through `index.ts` as the feature public API.
|
|
37
|
-
- Do not import private files across feature folders.
|
|
38
|
-
- Keep shared utilities in a neutral shared module; avoid feature-to-feature deep imports.
|
|
39
|
-
|
|
40
|
-
## Anti-Patterns
|
|
41
|
-
|
|
42
|
-
Bad:
|
|
43
|
-
- `src/components`, `src/services`, `src/repositories` global buckets for all features.
|
|
44
|
-
- Shared folder becoming a dumping ground for feature-specific code.
|
|
45
|
-
- One feature mutating another feature's database entities directly.
|
|
46
|
-
|
|
47
|
-
Good:
|
|
48
|
-
- Feature package exposes explicit use-cases and UI entrypoints.
|
|
49
|
-
- Cross-feature communication uses contracts and events.
|
|
50
|
-
- Shared module limited to stateless primitives and infrastructure adapters.
|
|
51
|
-
|
|
52
|
-
## Integration Workflow
|
|
53
|
-
|
|
54
|
-
1. Define capability and boundary (example: checkout).
|
|
55
|
-
2. Define public API for the feature module.
|
|
56
|
-
3. Implement UI and service logic inside the feature.
|
|
57
|
-
4. Add repository and contract definitions.
|
|
58
|
-
5. Add unit/integration/end-to-end tests within the feature.
|
|
59
|
-
|
|
60
|
-
## Review Checklist
|
|
61
|
-
|
|
62
|
-
- [ ] Feature can be understood without reading unrelated modules.
|
|
63
|
-
- [ ] No deep import across feature boundaries.
|
|
64
|
-
- [ ] Public API is explicit and stable.
|
|
65
|
-
- [ ] Tests live with the feature and cover core behavior.
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Release Coordination
|
|
2
|
-
|
|
3
|
-
Tier: EXPERT
|
|
4
|
-
|
|
5
|
-
Release coordination in fullstack systems aligns UI rollout, API compatibility, data migration timing, and rollback readiness across teams.
|
|
6
|
-
|
|
7
|
-
## Coordination Matrix
|
|
8
|
-
|
|
9
|
-
Define a shared release matrix before merge:
|
|
10
|
-
|
|
11
|
-
- Frontend deployment window and feature-flag activation point.
|
|
12
|
-
- Backend deployment order and compatibility grace period.
|
|
13
|
-
- Data migration execution and rollback scope.
|
|
14
|
-
- Observability checks required for release acceptance.
|
|
15
|
-
|
|
16
|
-
## Rollout Sequencing
|
|
17
|
-
|
|
18
|
-
Use an order that preserves backward compatibility:
|
|
19
|
-
|
|
20
|
-
1. Deploy backend changes in compatibility mode.
|
|
21
|
-
2. Verify contract and benchmark gates.
|
|
22
|
-
3. Deploy frontend consuming new contract.
|
|
23
|
-
4. Enable feature flags progressively.
|
|
24
|
-
5. Remove compatibility shim in a later release.
|
|
25
|
-
|
|
26
|
-
## Blocker Handling
|
|
27
|
-
|
|
28
|
-
Track blocker categories with explicit owners:
|
|
29
|
-
|
|
30
|
-
- Contract mismatch blockers.
|
|
31
|
-
- Performance regression blockers.
|
|
32
|
-
- Accessibility or conversion regression blockers.
|
|
33
|
-
- Migration and rollback uncertainty blockers.
|
|
34
|
-
|
|
35
|
-
A release can proceed only when blocker list is empty or risk acceptance is approved and documented.
|
|
36
|
-
|
|
37
|
-
## Evidence Handoff
|
|
38
|
-
|
|
39
|
-
Release evidence bundle should include:
|
|
40
|
-
|
|
41
|
-
- End-to-end report for critical journeys.
|
|
42
|
-
- Contract validation and diff summary.
|
|
43
|
-
- Benchmark and quality-trend snapshot.
|
|
44
|
-
- Rollback drill or recovery playbook reference.
|
|
45
|
-
|
|
46
|
-
## Review Checklist
|
|
47
|
-
|
|
48
|
-
- [ ] Rollout sequence keeps consumer/provider compatibility.
|
|
49
|
-
- [ ] Blockers have owner and due date before release review.
|
|
50
|
-
- [ ] Feature flags are mapped to rollback strategy.
|
|
51
|
-
- [ ] Evidence bundle is attached to release decision.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# Fullstack skill test fixtures placeholder
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Fullstack Skill Pack
|
|
2
|
-
|
|
3
|
-
Default tier: `advance`
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
Coordinate frontend and backend delivery as a single product system.
|
|
7
|
-
|
|
8
|
-
## In Scope
|
|
9
|
-
- Feature slicing across UI and API boundaries
|
|
10
|
-
- Shared validation contracts
|
|
11
|
-
- End-to-end flows and release readiness
|
|
12
|
-
- Performance, accessibility, and observability together
|
|
13
|
-
- Release coordination and rollback preparation across services
|
|
14
|
-
|
|
15
|
-
## Must-Have Checks
|
|
16
|
-
- Single feature directory with clear public API
|
|
17
|
-
- Frontend and backend contracts aligned
|
|
18
|
-
- End-to-end test coverage for critical paths
|
|
19
|
-
- Release notes explain UX and API impact together
|
|
20
|
-
- Cross-service rollout order and rollback trigger criteria are documented
|
|
21
|
-
|
|
22
|
-
## Evidence
|
|
23
|
-
- Feature parity checklist
|
|
24
|
-
- End-to-end test report
|
|
25
|
-
- Contract validation output
|
|
26
|
-
- Release artifact bundle
|
|
27
|
-
- Rollout/rollback decision log for multi-service features
|
|
28
|
-
|
|
29
|
-
## Fallback
|
|
30
|
-
- Split delivery only when the feature boundary is explicit and the evidence bundle is still complete.
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"defaultTier": "advance",
|
|
3
|
-
"tiers": [
|
|
4
|
-
{
|
|
5
|
-
"name": "standard",
|
|
6
|
-
"description": "Compatibility fallback only"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"name": "advance",
|
|
10
|
-
"description": "Default operating tier"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "expert",
|
|
14
|
-
"description": "Complex architecture and integration"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "above",
|
|
18
|
-
"description": "Release-critical enterprise governance"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"domains": {
|
|
22
|
-
"frontend": {
|
|
23
|
-
"name": "frontend",
|
|
24
|
-
"displayName": "Frontend",
|
|
25
|
-
"description": "Unified frontend delivery covering UI architecture, motion, accessibility, and conversion clarity.",
|
|
26
|
-
"defaultTier": "advance",
|
|
27
|
-
"defaultPackFileName": "frontend.md",
|
|
28
|
-
"evidence": "Frontend usability audit, accessibility checks, and visual regression output.",
|
|
29
|
-
"tierToPackFileNames": {
|
|
30
|
-
"standard": "frontend.md",
|
|
31
|
-
"advance": "frontend.md",
|
|
32
|
-
"expert": "frontend.md",
|
|
33
|
-
"above": "frontend.md"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"backend": {
|
|
37
|
-
"name": "backend",
|
|
38
|
-
"displayName": "Backend",
|
|
39
|
-
"description": "Backend delivery with strict layer separation, validation, and safe data access.",
|
|
40
|
-
"defaultTier": "advance",
|
|
41
|
-
"defaultPackFileName": "backend.md",
|
|
42
|
-
"evidence": "Unit tests, API contracts, and release gate output.",
|
|
43
|
-
"tierToPackFileNames": {
|
|
44
|
-
"standard": "backend.md",
|
|
45
|
-
"advance": "backend.md",
|
|
46
|
-
"expert": "backend.md",
|
|
47
|
-
"above": "backend.md"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"fullstack": {
|
|
51
|
-
"name": "fullstack",
|
|
52
|
-
"displayName": "Fullstack",
|
|
53
|
-
"description": "Single-path product delivery across frontend and backend boundaries.",
|
|
54
|
-
"defaultTier": "advance",
|
|
55
|
-
"defaultPackFileName": "fullstack.md",
|
|
56
|
-
"evidence": "End-to-end tests, contract validation, and feature parity review.",
|
|
57
|
-
"tierToPackFileNames": {
|
|
58
|
-
"standard": "fullstack.md",
|
|
59
|
-
"advance": "fullstack.md",
|
|
60
|
-
"expert": "fullstack.md",
|
|
61
|
-
"above": "fullstack.md"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"cli": {
|
|
65
|
-
"name": "cli",
|
|
66
|
-
"displayName": "CLI",
|
|
67
|
-
"description": "Smart command-line delivery with safe defaults, machine-readable output, and upgrade flows.",
|
|
68
|
-
"defaultTier": "advance",
|
|
69
|
-
"defaultPackFileName": "cli.md",
|
|
70
|
-
"evidence": "CLI smoke tests, dry-run output, and automation-friendly reports.",
|
|
71
|
-
"tierToPackFileNames": {
|
|
72
|
-
"standard": "cli.md",
|
|
73
|
-
"advance": "cli.md",
|
|
74
|
-
"expert": "cli.md",
|
|
75
|
-
"above": "cli.md"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"distribution": {
|
|
79
|
-
"name": "distribution",
|
|
80
|
-
"displayName": "Distribution",
|
|
81
|
-
"description": "Package safety, rollback, compatibility, and release hygiene.",
|
|
82
|
-
"defaultTier": "expert",
|
|
83
|
-
"defaultPackFileName": "distribution.md",
|
|
84
|
-
"evidence": "Install validation, rollback verification, and publish dry-run logs.",
|
|
85
|
-
"tierToPackFileNames": {
|
|
86
|
-
"standard": "distribution.md",
|
|
87
|
-
"advance": "distribution.md",
|
|
88
|
-
"expert": "distribution.md",
|
|
89
|
-
"above": "distribution.md"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"review-quality": {
|
|
93
|
-
"name": "review-quality",
|
|
94
|
-
"displayName": "Review Quality",
|
|
95
|
-
"description": "Planning, review, benchmark, and security discipline for every change.",
|
|
96
|
-
"defaultTier": "expert",
|
|
97
|
-
"defaultPackFileName": "review-quality.md",
|
|
98
|
-
"evidence": "PR review output, benchmark report, and security audit results.",
|
|
99
|
-
"tierToPackFileNames": {
|
|
100
|
-
"standard": "review-quality.md",
|
|
101
|
-
"advance": "review-quality.md",
|
|
102
|
-
"expert": "review-quality.md",
|
|
103
|
-
"above": "review-quality.md"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "compatibility-manifest-v1",
|
|
3
|
-
"artifactType": "skill-domain-evidence",
|
|
4
|
-
"domain": "review-quality",
|
|
5
|
-
"ides": ["cursor", "windsurf", "copilot", "gemini", "claude", "codex", "cline"],
|
|
6
|
-
"nodeMin": "18",
|
|
7
|
-
"platforms": ["windows", "linux", "macos"],
|
|
8
|
-
"validatedAt": "2026-04-11T12:00:00Z"
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Review Quality Skills
|
|
2
|
-
|
|
3
|
-
Default tier: `expert`
|
|
4
|
-
|
|
5
|
-
This domain formalizes review quality across planning discipline, security enforcement, and benchmark-driven decision making.
|
|
6
|
-
|
|
7
|
-
## Topics
|
|
8
|
-
- [Planning](planning.md) - Plan quality, scope control, and change strategy
|
|
9
|
-
- [Security](security.md) - Critical vulnerability policy and boundary safeguards
|
|
10
|
-
- [Benchmarking](benchmark.md) - Regression detection and evidence-based comparison
|
|
11
|
-
- [Release Decisioning](release-decision.md) - Explicit readiness verdicts, blocker ownership, and escalation logic
|
|
12
|
-
|
|
13
|
-
## Operating Model
|
|
14
|
-
- Use `expert` for standard review workflows.
|
|
15
|
-
- Escalate to `above` for release-critical or governance-sensitive changes.
|
|
16
|
-
|
|
17
|
-
## Above-Line Additions
|
|
18
|
-
- Security halt protocol for critical findings.
|
|
19
|
-
- Benchmark gate thresholds integrated in CI.
|
|
20
|
-
- Review evidence bundle for auditability.
|
|
21
|
-
|
|
22
|
-
## Usage Example
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
node ./scripts/governance-weekly-report.mjs
|
|
26
|
-
node ./scripts/release-gate.mjs
|
|
27
|
-
```
|