@ryuenn3123/agentic-senior-core 4.3.11 → 4.3.14
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.
|
@@ -10,25 +10,10 @@ Use this prompt for UI, UX, frontend layout, screen, or redesign work. Create or
|
|
|
10
10
|
- When generating any UI component that renders or accepts user data, explicitly state in the prompt: "ensure all user-supplied input is sanitized, all status indicators have non-color alternatives, and all interactive elements have visible focus states."
|
|
11
11
|
- Before choosing a new UI library, research current official docs.
|
|
12
12
|
|
|
13
|
-
## Design Reference Retrieval
|
|
14
|
-
|
|
15
|
-
Before generating tokens from scratch, check if a proven brand reference matches
|
|
16
|
-
the product aesthetic. Run `npx -y getdesign list` to see all available references.
|
|
17
|
-
Pick by spatial mechanics and typographic character, not by color.
|
|
18
|
-
|
|
19
|
-
Fetch: `npx -y getdesign add <slug> --out docs/DESIGN.md --force`
|
|
20
|
-
|
|
21
|
-
Customize: replace brand colors with product OKLCH equivalents, replace brand name
|
|
22
|
-
with product name, remove brand iconography, keep spatial rhythm and density logic.
|
|
23
|
-
|
|
24
|
-
If no brand matches or terminal is unavailable, skip and generate from scratch below.
|
|
25
|
-
|
|
26
|
-
Source: https://github.com/VoltAgent/awesome-design-md
|
|
27
|
-
|
|
28
13
|
## Design Direction Process
|
|
29
14
|
|
|
30
15
|
1. **Name Your Defaults**: Name three temptations (e.g. SaaS admin default, AI-startup landing) and why they flatten this product. Derive your search direction by rejecting them.
|
|
31
|
-
2. **Choose an Anchor**: Pick
|
|
16
|
+
2. **Choose an Anchor**: Run `npx -y getdesign@latest list` to browse proven brand references. Pick one whose spatial rhythm fits this product. Run `npx -y getdesign@latest add <brand>` to read the full reference — use it to derive token values, then discard it. Output DESIGN.md stays under 400 tokens. Do not use generic quality words ("clean", "modern").
|
|
32
17
|
3. **Creative Commitments**: Choose distinctive typography, dominant colors with sharp accents, and one signature motion behavior. Create depth rather than flat card stacks.
|
|
33
18
|
4. **Previous Directions**: If `docs/DESIGN.md` contains previous directions, treat them as a blocklist. The new anchor must differ in conceptual family, hierarchy, and motion.
|
|
34
19
|
|
|
@@ -38,7 +23,7 @@ When the user says "redesign from zero": treat existing UI as behavioral evidenc
|
|
|
38
23
|
|
|
39
24
|
## Output Format
|
|
40
25
|
|
|
41
|
-
`docs/DESIGN.md` must be a compact token file under 400 tokens
|
|
26
|
+
`docs/DESIGN.md` must be a compact token file under 400 tokens. Rationale stays in working memory.
|
|
42
27
|
|
|
43
28
|
Required sections (in this order, no additions):
|
|
44
29
|
|
package/AGENTS.md
CHANGED
|
@@ -17,18 +17,19 @@ Write instructions as imperative gates:
|
|
|
17
17
|
- Move detailed policy into `.agent-context/`.
|
|
18
18
|
- Add validation when a rule can drift.
|
|
19
19
|
|
|
20
|
-
##
|
|
21
|
-
|
|
20
|
+
## MANDATORY FIRST STEP: Context Activation
|
|
21
|
+
STOP. Before generating ANY plan, code, or design for a non-trivial task, you MUST run `agentic-senior-core context "<task_description>"` (or `npx @ryuenn3123/agentic-senior-core context "<task_description>"`) to resolve scopes. Do not guess or hallucinate context.
|
|
22
|
+
|
|
23
|
+
Immediately emit a concise Bootstrap Receipt:
|
|
22
24
|
- `loaded_files`: files actually read (exact paths from selectedRules/selectedPrompts only; zero hallucination)
|
|
23
25
|
- `selected_rules`: files selected for this scope and why
|
|
24
26
|
- `skipped_rules`: out-of-scope categories left unloaded
|
|
25
27
|
- `unreachable_files`: required files that could not be read
|
|
26
28
|
- `validation_plan`: expected checks before completion
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
Skip this step ONLY for trivial tasks (version bumps, typo fixes).
|
|
29
31
|
|
|
30
|
-
##
|
|
31
|
-
Before any non-trivial task, run `agentic-senior-core context "<task_description>"` and emit the Bootstrap Receipt. Skip only for trivial tasks: version bumps, typo fixes, single-line commits.
|
|
32
|
+
## Command Economy
|
|
32
33
|
Always prefix noisy shell commands: `ascx git status`, `ascx git diff`, `ascx npm test`, `ascx npm install`, `ascx npm run build`, `ascx tsc`, `ascx rg` searches. Use raw commands only for pipes, redirects, or commands not supported by ascx.
|
|
33
34
|
Always read and apply `.agent-context/prompts/compact-natural-mode.md` for every final user-facing reply. Never repeat full command output; reference tee file paths when truncated.
|
|
34
35
|
|