brainstorming — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited brainstorming (Agent Skill) and scored it 45/100 (orange). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 2 high-severity and 2 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 4 flagged
A base64 string of 128+ characters appears in a documentation file. Encoded prompt injection hides the hostile instruction in base64 — invisible to keyword filters — and relies on the agent's ability to decode it at runtime. There is no normal authoring reason to embed a multi-hundred-byte base64 blob in skill docs.
*.sig, SIGNATURES) outside the documentation.A base64 string of 128+ characters appears in a documentation file. Encoded prompt injection hides the hostile instruction in base64 — invisible to keyword filters — and relies on the agent's ability to decode it at runtime. There is no normal authoring reason to embed a multi-hundred-byte base64 blob in skill docs.
*.sig, SIGNATURES) outside the documentation.The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<EXPLICIT-MODE-GATE> If activation mode is explicit (~/.config/aegis/config.toml has activation_mode = "explicit", or AEGIS_ACTIVATION_MODE=explicit is visible in the environment) and the current user request did not explicitly invoke Aegis or this skill by name, exit back to the fast path: answer concisely without this workflow's checklist, ceremony, or document requirements. If the user explicitly named Aegis or this skill, proceed normally. </EXPLICIT-MODE-GATE>
→ Direct grilling or plan/design pressure-test? → Enter Grilling Mode below. Soft challenge intent? → Use its one-line mode confirmation. Do not start normal design artifacts, document writing, task planning, or implementation during the interview. → New feature, product behavior, UI/component design, architecture/contract change, or ambiguous medium/high-complexity work? → Design first. No implementation until the needed design/spec is approved.
→ HARD GATE: For tasks that match this skill, do NOT write code, scaffold projects, or invoke implementation skills until design/spec approval is satisfied.
These rows are calibration expectations for method behavior, not a runtime regex router. The Agent selects the route from evidence; route selection is not a user question.
| Scenario | Route |
|---|---|
| 想法还没想清楚,先梳理功能设计 | normal brainstorming, compact output first |
| 讨论公共 API 契约和兼容边界 | normal brainstorming, design sections before implementation |
| 盘问/拷问/审问这个方案,不要顺着我 | Grilling Mode |
| 修复登录按钮的空指针 | systematic-debugging |
| review 当前 PR / diff / 当前代码 | requesting-code-review |
| 给我一个有目标的方案 | goal-framing when goal intent is explicit; otherwise normal brainstorming |
| 把按钮文案从保存改成提交 | fast-path; no design ceremony |
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
Start by understanding the current project context and authority boundary, then ask questions one at a time to refine the idea. Once you understand what you're building, present the smallest design artifact that stabilizes the work and get the required approval.
Define success as the user's usable result, including delivery and meaningful failure states. Separate real business/authorization constraints from current implementation limits; an unsupported action remains an unmet need. Balance this request with reliability across supported scenarios, without expanding its scope. Existing approval satisfies unchanged decisions; clarify only gaps that affect the design or authorization.
<HARD-GATE> Do NOT invoke any implementation skill, write any code, scaffold any project, or take implementation action for work that matches this skill until you have presented the required design/spec and the user has approved it where this workflow requires approval. </HARD-GATE>
While Grilling Mode is active, it overrides the normal brainstorming execution flow. Suspend Checklist, The Process, the Compact output contract, and all documentation or design-transition requirements until the user exits the interview; retain the no-implementation hard gates.
grill me, grill this plan, 审问我, 盘问我, and 拷问我. Enter the mode immediately.Grill or normal brainstorming? Enter the mode only after confirmation.requesting-code-review.After the user has entered the mode, emit this once in the user's language, then begin the interview:
◆ Grilling Session
Target: <idea / plan / design>
Question path: value -> boundaries -> failure modes -> acceptance
Pace: deep (default) | fast (user-requested)fast, batch, 快问, or 一次问几个), ask at most three independent decision questions. Give each question its recommendation and trade-off, then wait for the user's responses. Return to deep pace for dependent follow-ups.Challenge Result. That summary does not grant completion authority.Challenge Result
- Survived assumptions
- Rejected assumptions
- New evidence needed
- Design changes required
- Residual risks
- Return state: interview | design | approaches | writing-plansDo not force this workflow onto low-complexity work. A tiny wording edit, single-owner bug fix, simple config/status question, local utility change, or mechanical multi-file change can proceed through concise intent, baseline check, TDD/debugging, and verification without any new document. Run the Doc Necessity Gate before writing any spec, plan, ADR, or baseline artifact:
-> Update that owner document in place; never create a sibling document.
direction, migration, compat-path retirement), cross-session/cross-person handoff, approval-gated, or authority-required? -> Yes: write the smallest artifact for that surface (see Documentation). -> No: write no document; keep compact drafts in-session.
spec if uncertainty or impact grows.
systematic-debugging,requesting-code-review, goal-framing when goal intent is explicit, fast-path micro-tasks).
Grilling Mode requires explicit challenge intent. Ordinary discussion,evaluation, or the need to clarify understanding is not grilling.
contracts, owners, persistence, migration, security, consumer count, or blast radius. Escalate after evidence, not merely because the first request sounds ambitious.
can still be fast-path, and a one-file contract change can still be full design.
Resolve these directly without asking the user:
contract, authority, or durable boundaries
Ask the user only for:
Every user question must pass this test:
If the user chooses another answer, which design boundary, behavior, owner, acceptance criterion, or risk decision changes?
If none changes, do not ask. When a question passes this test, attach a recommended option and the reason for it, so the user decides between framed choices instead of researching. This classification clarifies which decisions are user-owned; it does not remove the approval points this workflow already defines.
You MUST create a task for each of these items and complete them in order:
docs, and passively consume relevant active CONTEXT.md language without loading active modeling
TaskIntentDraft, BaselineReadSetHint, BaselineUsageDraft, ImpactStatementDraftThe terminal state is invoking writing-plans. Do NOT invoke any other implementation skill.
Understanding the idea:
If terminology crystallizes or conflicts, compose establishing-project-context; do not leave the resolution only in the spec.
Working artifacts: Keep four drafts: TaskIntentDraft (outcome, goal, success evidence, stop condition, non-goals, scope, risks), BaselineReadSetHint (candidate docs, authority gaps), BaselineUsageDraft (required refs, optionally delivered context refs, acknowledged-before-plan refs, cited refs, missing refs, advisory decision), and ImpactStatementDraft (affected layers, owners, invariants, compat, non-goals). Refresh when scope changes.
Compact output contract: Aegis Visibility, TaskIntentDraft, BaselineReadSetHint, BaselineUsageDraft, Requirement Ready Check, ImpactStatementDraft, Existence Check, Product Risk Lens, Architecture Integrity Lens, Prior-Art & Reuse Lens, Baseline Role Alignment, Plan-Time Complexity Check, Options, and Decision Needed. Use this compact shape before expanding into a full design structure.
Aegis Visibility for this workflow names why design/spec clarification comes before implementation and what drift, overbuild, wrong-owner, or missing acceptance risk that restraint reduces. Keep it natural and task-specific; do not turn it into a fixed skill trace.
Use a compact BaselineUsageDraft whenever the design direction depends on specific baseline docs or current-authority refs:
BaselineUsageDraft:
- Required baseline refs:
- Delivered context refs:
- Acknowledged before plan refs:
- Cited in design refs:
- Missing refs:
- Decision: continue | needs-baseline-readback | needs-verification | pause-for-user | blockedDelivered context refs is optional host-projected bookkeeping only. It is not authoritative proof that a host injected or the model internally consumed a context payload. The artifact exists to make baseline/context attention drift visible before the design is recommended or approved.
Use a compact Requirement Ready Check before recommending a design when the requirement is not already confirmed and complete:
Requirement Ready Check:
- Requirement source refs:
- Goals and scope refs:
- User / scenario refs:
- Requirement item refs:
- Acceptance / verification criteria refs:
- Open blocker questions:
- Decision: ready | needs-source | needs-goal-alignment | needs-scenario | needs-acceptance-criteria | needs-clarification | needs-user-decision | blockedTreat task intent, conversation, source documents, and agent inference as candidate requirement sources until project authority confirms them. If the decision is not ready, keep the design at proposal/spec clarification level; do not turn the gap into implementation tasks.
Existence Check: Before recommending an approach that adds a new owner, skill, artifact, host adapter, fallback, compatibility path, workflow step, or benchmark metric, check whether it needs to exist. Use docs/current/AEGIS_MINIMALITY_REFERENCE.md as the reference. Do not force this onto ordinary feature design that reuses existing owners and artifacts.
Existence Check:
- Proposed new surface:
- Existing owner / reuse candidate:
- Why existing surface is insufficient:
- Creation proof:
- Entropy / retirement impact:
- Decision: reuse-existing | add-with-proof | defer | reject | needs-first-principles-reviewIf the decision is reuse-existing, recommend the reuse path instead of a new surface. If the decision is add-with-proof, carry the proof, verification signal, and any retirement trigger into the design/spec.
Product Risk Lens: For ambiguous product, feature, UI, workflow, or architecture choices, add a compact review lens, not persona roleplay:
Product Risk Lens:
- Value:
- Non-goals:
- Trade-offs:
- Decision needed:This is a review lens, not persona output. It does not override baseline evidence, approved requirements, or current authority docs; it only makes the product risk and decision point visible before implementation.
Plan-Time Complexity Check: Before choosing an implementation direction for medium/high work, inspect the likely owner files and current shape. This is an advisory design pressure check, not a gate and not completion authority. Do not force it onto tiny low-risk edits.
Use using-aegis/references/complexity-governance.md for the shared artifact classes, pressure-signal interpretation, and over-budget handling.
Complexity Budget:
- Artifact class:
- Target files / artifacts:
- Current pressure:
- Projected post-change pressure:
- Budget result: within-budget | at-risk | over-budget
- Planned governance:
Plan-Time Complexity Check:
- Better file boundary:
- Recommendation: edit-in-place | extract helper | add owner file | split task | defer refactorExploring approaches: Propose 2-3 approaches with trade-offs and recommendation. Make scope boundary explicit: what's in, what's deferred, what belongs elsewhere.
Before approach selection, use Existence Check for any proposed new surface. Escalate to first-principles-review and its Decision Hygiene Review when the candidate direction still introduces a new owner, duplicate owner, fallback, adapter, compat-only carrier, delete-first question, unverified assumption, or "long-term stable" claim after the existence check. Do not make either check a universal design ceremony; return to this workflow once the decision surface is clean.
When the central decision is internal retirement vs compat retention vs persistent-state confirmation, compose anti-entropy-governance. It classifies the deletion target, chooses delete-first | compat-exception | confirmation-first, and keeps destructive authority outside the design skill.
Use the narrower Architecture Integrity Lens when the main risk is not broad strategy but architecture coherence: unclear canonical owner, responsibility overlap, caller-side fallback, stale path carrying real logic, or a possible higher-level owner / contract / source-of-truth simplification. The lens should answer invariant, canonical owner / contract, responsibility overlap, higher-level simplification, retirement / falsifier, and verdict before the approach is recommended.
Prior-Art & Reuse Lens: When a candidate approach would introduce a new mechanism, protocol, artifact shape, or nontrivial interaction pattern, check proven external practice before inventing one. This lens is behavior-triggered: research precedents when the direction is novel for the project, plausible approaches remain after internal reuse checks, or the domain sits outside current repository evidence. Do not run research ceremony for routine work that already maps to well-known framework patterns, and do not let an unavailable web/search tool stall approach selection.
Prior-Art & Reuse Lens:
- Searched precedents: <bounded sources; index-first summary; cite anchor per claim>
- Adopt verbatim: <proven pattern + source>
- Adapt with reason: <tailored part -> project constraint / non-negotiable it maps to>
- Reject with reason: <project fact that makes the pattern inapplicable>
- Degraded: <no web/search tooling -> external basis unknown; internal-only evidence stated>Search results are evidence candidates, not prompt payload: summarize index-first and cite anchors instead of pasting raw pages. An "industry standard" claim without a citable anchor stays unknown. Every adapt/reject decision binds to a named project constraint or fact, not taste. The lens feeds only the approach recommendation; it stays advisory and grants no completion authority.
Baseline Role Alignment: When a question may involve both "what should be built" and "where it should live", keep requirement truth separate from architecture truth:
Baseline Role Alignment:
- Product / Requirement Baseline:
- Architecture / Runtime Boundary Baseline:
- Result: aligned | Design Defect | Implementation Drift | missing-authority | needs-clarification
- scope: requirements | architecture | both
- Next action:Use Design Defect when the relevant requirement, design, or baseline is wrong. Use Implementation Drift when the work deviates from a correct unchanged baseline. Architecture Defect and Architecture Drift remain compatibility aliases for architecture-scoped Design Defect and architecture-scoped Implementation Drift. This is a review lens, not a runtime gate or completion authority.
Presenting the design: Scale sections to complexity. Cover only the surfaces that matter: architecture, components, data flow, error handling, testing, compatibility boundary. Get approval for the design before implementation when behavior, contract, architecture, or user-facing flow is being decided.
ADR signals: When the design/spec touches durable architecture surfaces (owner, public contract, artifact shape, dependency direction, source-of-truth, host compatibility, runtime-ready boundary, fallback, adapter, or retirement schedule), mark the ADR signal, source refs, real alternatives, and expected baseline-sync question for later completion. Do not create accepted architecture memory from unexecuted ideas.
Design for isolation: Each unit = one clear purpose, well-defined interface, testable independently. Can someone understand it without reading internals? Can you change internals without breaking consumers?
Existing codebases: Follow existing patterns. Include targeted improvements only when they serve the current goal. If the design touches contracts, compat, fallbacks, or duplicated owners → call it out directly.
For user-facing interface or interaction design, compose ui-ux-governance; carry scoped experience rules into the existing acceptance criteria. This skill retains design approval and handoff ownership.
Conditional design probe, scenario profile, and workspace/spec documentation detail maps to explicit headings below.
Read only the evidence-matched section of expanded-design-guidance.md:
## Design Probe only when existing evidence is insufficient and a boundedprobe can change the design direction;
## Software Scenario Profiles only after the work is classified as one ofits named scenario classes and profile-specific state/risk coverage is useful;
## Documentation And Workspace Bootstrap only after the Doc Necessity Gateselects a spec or workspace artifact;
## Spec Self-Review only for a written Design Spec; andDo not load the reference for route selection, first-turn clarification, route-away cases, or an active Grilling Mode interview. The reference supplies detail; this main skill continues to own routing, design approval, and handoff.
Approach selection is ready when:
Not every unknown must be eliminated; only decision-changing unknowns block convergence.
The design can hand off when all applicable conditions hold:
proof and retirement/rollback treatment;
Design Complete is method readiness, not completion authority. Transition to writing-plans only after these conditions hold; do not carry unresolved decision-changing unknowns into the plan.
After approval, Write the validated spec artifact when needed. If the Doc Necessity Gate selects workspace or spec documentation, read the applicable sections of expanded-design-guidance.md; otherwise keep the accepted design in-session. When workspace support is selected, its helper remains outside the target project and is invoked as <aegis-workspace-helper>.
Aegis Project Workspace: workspace creation and spec persistence remain conditional on the Doc Necessity Gate and project authority.
For a Design Spec, complete its self-review and obtain explicit user review before planning. Apply requested changes and review again. A small Spec Brief that only pins medium-task acceptance may use concise review unless project authority requires a formal gate.
Implementation:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.