@erclx/canon 4.62.1 → 4.64.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/claude/.claude-plugin/plugin.json +1 -1
- package/claude/skills/canon-cli/REQUIREMENT.md +7 -3
- package/claude/skills/canon-cli/SKILL.md +8 -2
- package/claude/skills/canon-record/REQUIREMENT.md +34 -0
- package/claude/skills/canon-record/SKILL.md +54 -0
- package/claude/skills/canon-screencast/REQUIREMENT.md +1 -1
- package/claude/skills/canon-screencast/SKILL.md +3 -3
- package/claude/skills/claude-autoship/REQUIREMENT.md +3 -1
- package/claude/skills/claude-autoship/SKILL.md +26 -12
- package/claude/skills/{context-draft → draft-context}/REQUIREMENT.md +3 -3
- package/claude/skills/{context-draft → draft-context}/SKILL.md +1 -1
- package/claude/skills/{docs-draft → draft-docs}/REQUIREMENT.md +1 -1
- package/claude/skills/{docs-draft → draft-docs}/SKILL.md +1 -1
- package/claude/skills/draft-readme/REQUIREMENT.md +36 -0
- package/claude/skills/draft-readme/SKILL.md +65 -0
- package/claude/skills/{wireframe-draft → draft-wireframes}/REQUIREMENT.md +3 -3
- package/claude/skills/{wireframe-draft → draft-wireframes}/SKILL.md +1 -1
- package/claude/skills/identity/REQUIREMENT.md +40 -0
- package/claude/skills/identity/SKILL.md +86 -0
- package/claude/skills/repo-metadata/SKILL.md +6 -5
- package/claude/skills/test-first/REQUIREMENT.md +34 -0
- package/claude/skills/test-first/SKILL.md +24 -0
- package/docs/agents/demo.md +2 -0
- package/docs/agents/review-classification.md +2 -2
- package/docs/workflow/ai-workflow.md +23 -19
- package/docs/workflow/visual-design-workflow.md +1 -0
- package/governance/rules/core/070-planning.md +1 -0
- package/package.json +3 -1
- package/scripts/core/regen-agent-fixture.sh +1 -1
- package/src/claude/cases/authoring.ts +7 -3
- package/src/claude/cases/claude-workflow.ts +5 -0
- package/src/claude/cases/misc.ts +10 -0
- package/src/commands/tooling.ts +8 -1
- package/src/project-root.ts +34 -0
- package/src/shipped/references.ts +45 -15
- package/standards/readme.md +2 -0
- package/tooling/astro/configs/eslint.config.js +7 -1
- package/tooling/astro/reference.md +1 -1
- package/tooling/nextjs/configs/eslint.config.js +3 -2
- package/tooling/nextjs/reference.md +1 -1
- package/tooling/web/configs/eslint.config.js +1 -1
|
@@ -59,15 +59,16 @@ export default defineConfig([
|
|
|
59
59
|
],
|
|
60
60
|
'check-file/folder-naming-convention': [
|
|
61
61
|
'error',
|
|
62
|
-
{ 'src/**/!(__tests__)': 'KEBAB_CASE' },
|
|
62
|
+
{ 'src/**/!(__tests__)/': 'KEBAB_CASE' },
|
|
63
63
|
],
|
|
64
64
|
},
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
// App Router route and layout files export non-component values (metadata, route handlers), which
|
|
67
|
+
// App Router route and layout files export non-component values (metadata, route handlers) and use bracket, paren, and at-sign folder syntax (dynamic segments, route groups, parallel slots), which these rules flag as violations.
|
|
68
68
|
files: ['src/app/**/*.{ts,tsx}'],
|
|
69
69
|
rules: {
|
|
70
70
|
'react-refresh/only-export-components': 'off',
|
|
71
|
+
'check-file/folder-naming-convention': 'off',
|
|
71
72
|
},
|
|
72
73
|
},
|
|
73
74
|
{
|
|
@@ -19,7 +19,7 @@ The nextjs stack covers Next.js + TypeScript projects using the App Router. It s
|
|
|
19
19
|
- `next.config.ts`: `agentRules: false` stops Next from regenerating `AGENTS.md`/`CLAUDE.md` on every run, which would otherwise compete with the root `CLAUDE.md`. `turbopack.root: import.meta.dirname` pins the workspace root, silencing Next's multi-lockfile inference warning in any checkout carrying more than one lockfile above the project, a worktree included.
|
|
20
20
|
- `vitest.config.ts`: plain `defineConfig`, no `mergeConfig` or `getViteConfig` since Next has no Vite config to merge from. jsdom, globals, setup file, `passWithNoTests: true`, v8 coverage, `.next/**` in test excludes.
|
|
21
21
|
- `playwright.config.ts`: all browsers, `webServer` runs `bun run build && bun run preview` on port `3000` plus `WORKTREE_PORT_OFFSET`, `reuseExistingServer: false`. `DIST_PREBUILT` drops the `build` half, matching the astro stack's flag.
|
|
22
|
-
- `eslint.config.js`: overrides the web layer with `.next` and `next-env.d.ts` added to `globalIgnores`, keeping `react-hooks`/`react-refresh` since this stack still ships React components. `react-refresh/only-export-components` is `off` for `src/app/**`, since route and layout files export non-component values the rule would otherwise flag.
|
|
22
|
+
- `eslint.config.js`: overrides the web layer with `.next` and `next-env.d.ts` added to `globalIgnores`, keeping `react-hooks`/`react-refresh` since this stack still ships React components. `react-refresh/only-export-components` is `off` for `src/app/**`, since route and layout files export non-component values the rule would otherwise flag. `check-file/folder-naming-convention` is `off` for the same subtree, since App Router's bracket, paren, and at-sign folder syntax (dynamic segments, route groups, parallel slots) fails `KEBAB_CASE`.
|
|
23
23
|
|
|
24
24
|
## Port
|
|
25
25
|
|