markstream-angular
Integrate the alpha markstream-angular package into an Angular 20+ app. Use when Codex needs standalone component imports, signal-based examples, CSS wiring, custom HTML tags or customComponents setup, or optional peer integration in an Angular repository.
How do I install this agent skill?
npx skills add https://github.com/simon-he95/markstream-vue --skill markstream-angularIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides instructions for integrating the 'markstream-angular' package into Angular 20+ applications. It emphasizes secure defaults, such as using a restricted HTML policy and strict mode for Mermaid diagrams when rendering AI-generated content.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Markstream Angular
Use this skill when the host app is Angular and the task is to adopt the Angular package cleanly.
Workflow
- Confirm the repo is Angular 20 or newer and accepts an alpha renderer API.
- Install
markstream-angularplus only the requested optional peers. - Import
markstream-angular/index.cssfrom the app shell.- Add
katex/dist/katex.min.csswhen math is enabled.
- Add
- Prefer standalone Angular integration.
- Use
MarkstreamAngularComponentinimportsand keep examples signal-friendly.
- Use
- Start with
[content].- For streaming AI chat, keep
[content]and use built-in smooth streaming first.[smoothStreaming]="'auto'"is the default and activates when[typewriter]="true"or[maxLiveNodes]="0".[typewriter]only controls the blinking cursor and defaults tofalse.[fade]controls node enter and streamed-text fade animations and defaults totrue.
- Streaming vs recovering history: in chat UIs the same component starts streaming and later switches to history when
[final]="true".- Streaming:
[smoothStreaming]="'auto'",[fade]="false",[typewriter]="true". This is a conservative visual/performance choice, not an API incompatibility. This adapter has not adopted Vue 3's bounded append fades, so verify its animation behavior before enabling both. - Recovering history:
[smoothStreaming]="false",[fade]="true",[typewriter]="false". Content is already complete — pacing would slow it down, but fade gives a polished entry animation. - Dynamic switch:
[smoothStreaming]="isStreaming ? 'auto' : false",[fade]="!isStreaming".
- Streaming:
- Use
[final]for end-of-stream state; final parsing is gated until visible content catches up when smooth streaming is active. - Move to
nodes+finalonly for worker-preparsed content, shared AST stores, or custom AST control. - Remember that
[htmlPolicy]now defaults to'safe', and Mermaid strict mode is on by default through[mermaidProps].
- For streaming AI chat, keep
- Use
[customHtmlTags]and[customComponents]for trusted tag workflows. - Validate with the smallest useful Angular dev or build command.
Default Decisions
- Standalone Angular first, NgModule-era patterns only when the repo still depends on them.
- Treat the cursor as opt-in (
typewriter=falseby default), but keep fade animations enabled by default (fade=true). - Keep optional peers minimal and explicit.
- Keep
[htmlPolicy]="'safe'"and Mermaid strict mode unless the task is preserving trusted legacy rendering. - If a trusted surface needs broader old behavior, opt out locally with
[htmlPolicy]="'trusted'"and[mermaidProps]="{ isStrict: false }", and document that trust boundary.
Useful Doc Targets
docs/guide/angular-quick-start.mddocs/guide/angular-installation.mddocs/guide/playground.mddocs/guide/troubleshooting.md
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/simon-he95/markstream-vue/markstream-angular">View markstream-angular on skillZs</a>