본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)48k · #5167

markstream-angular

하는 일

이 도구는 Angular(웹 개발 기술)로 만든 프로젝트에 Markstream 컴포넌트를 추가하도록 돕습니다. 채팅처럼 내용이 조금씩 나타나게 하며, 표시되는 내용이 안전하도록 보장합니다.

사용하는 경우

  • ✓Angular 웹사이트에서 글자가 한 글자씩 또는 한 단어씩 나타나게 하고 싶을 때.
  • ✓현대적인 Angular 앱에서 콘텐츠를 안전하게 표시할 때.
  • ✓실시간으로 업데이트할 수 있는 텍스트 표시 시스템을 연동해야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-angular/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-angular/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Angular 웹사이트에서 글이 조금씩 나타나게 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 Angular 코드에 특별한 컴포넌트를 넣습니다. 이 컴포넌트는 텍스트를 받아 제어된 방식으로 표시하도록 설정되며, 애니메이션과 보안 옵션을 선택할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Markstream Angular

Overview

Add Markstream to Angular 20+ while preserving standalone-component patterns, signal-friendly bindings, safe rendering defaults, and explicit optional dependencies. Use markstream-install for framework selection; use this skill once Angular is confirmed.

When to Use

Use for Angular-specific standalone imports, CSS, signals, custom tags or components, streaming state, and optional peers. Do not use below Angular 20 or when the application cannot accept an alpha renderer API.

Workflow

Inspect the existing package manager, installed package version and project conventions. A requested scoped integration already authorizes routine source/dependency edits; seek approval only for a material scope expansion or unresolved beta/alpha adoption decision.

  1. Confirm Angular 20+ and record that markstream-angular is alpha.
  2. Install the package plus only requested peers. Import markstream-angular/index.css; add KaTeX CSS only for math.
  3. Import MarkstreamAngularComponent into the standalone component's imports.
  4. Start with [content] and [smoothStreaming]="'auto'". Use nodes plus final only when another layer owns the AST.
  5. For live chat use [fade]="false" and opt into [typewriter]="true". On completion set [final]="true", disable pacing/cursor, and enable fade only if desired.
  6. Use [customHtmlTags] and [customComponents] only for trusted tag workflows.
  7. Keep [htmlPolicy]="'safe'" and Mermaid strict mode unless a narrowly scoped trusted legacy surface requires otherwise.
  8. Validate with the smallest Angular build, typecheck, or dev command.

Example

import { Component, signal } from '@angular/core'
import { MarkstreamAngularComponent } from 'markstream-angular'
import 'markstream-angular/index.css'

@Component({
  selector: 'app-answer',
  standalone: true,
  imports: [MarkstreamAngularComponent],
  template: `
    <markstream-angular
      [content]="markdown()"
      [final]="done()"
      [fade]="done()"
      [typewriter]="!done()"
      [smoothStreaming]="done() ? false : 'auto'"
      [htmlPolicy]="'safe'"
    />
  `,
})
export class AnswerComponent {
  markdown = signal('# Streaming answer')
  done = signal(false)
}

Limitations

  • Requires Angular 20+ and an alpha package.
  • Browser-heavy peers may need bundler or client-boundary work.
  • This skill does not design the host chat architecture or visual system.

Security & Safety Notes

Review dependency changes before installation. Never broaden HTML or Mermaid trust settings for untrusted model output.

Verify props, export paths and peer ranges against the installed package, not a mutable upstream main. Test partial and completed streams, malformed/untrusted Markdown, links and image URLs, cancellation and reduced motion. Safe HTML and strict diagrams reduce exposure but do not alone enforce URL/network privacy or application component permissions.

자주 묻는 질문

「alpha」는 무엇을 뜻하나요?

알파는 도구가 아직 테스트 단계에 있어 바뀔 수 있다는 뜻입니다. 무엇을 하는지 알고 위험을 인지한 경우에만 사용하는 것이 좋습니다.

「스탠드얼론 컴포넌트(standalone component)」란 무엇인가요?

Angular에서 코드를 정리하는 더 현대적인 방식으로, 각 부분이 더 독립적입니다. 이 도구는 이 방식에 잘 맞도록 만들어졌습니다.

「안전한 HTML 기본값」은 무엇을 뜻하나요?

도구가 기본적으로 위험한 코드가 웹사이트에 표시되지 않도록 막아 사용자를 보호한다는 뜻입니다.

상세 정보

작성자의 원본 설명

Integrate the alpha markstream-angular renderer into Angular 20+ applications with standalone components, signals, safe HTML defaults, and optional peer features.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5167
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬