Skip to content

insightflo/edu-deck-skills / edu-deck

edu-deck

Flagged

Entry skill for education deck requests. Use FIRST when the user wants 교육자료, 강의 자료, 교육용 슬라이드, 직원 교육 덱, or a training series (예: "○○ 교육자료 만들어줘", "사내 교육 시리즈 만들어", "여러 편으로 나눠 교육 자료"). 판별 후 단일 발행(주제 하나, 파일 하나)이면 edu-deck-solo 경로를, 여러 편 시리즈·진도 관리·허브가 필요하면 edu-deck-series 경로를 탄다. 애매하면 사용자에게 한 번 묻는다. 덱 제작 절차는 이 스킬에 없고 각 하위 스킬에 있다.

FileKindSize
SKILL.mdskill md14.1 KB
distribution/NOTICES.mdmarkdown1.5 KB
distribution/README.mdmarkdown3.4 KB
distribution/USAGE.mdmarkdown5.5 KB
shared/assets/css/components.cssother23.2 KB
shared/assets/css/core.cssother15.1 KB
shared/assets/css/pack-runtime.cssother9.4 KB
shared/assets/css/responsive.cssother10.6 KB
shared/assets/css/theme-switch.cssother3.4 KB
shared/assets/css/themes.cssother11.2 KB
shared/assets/css/tokens.cssother2.5 KB
shared/assets/css/viewer.cssother17.5 KB
shared/assets/css/visual-motion.cssother19.3 KB
shared/assets/fonts/GowunBatang-Regular.woff2binary523.3 KB
shared/assets/fonts/GowunDodum-Regular.woff2binary435.5 KB
shared/assets/fonts/OFL-GowunBatang.txtmarkdown4.3 KB
shared/assets/fonts/OFL-GowunDodum.txtmarkdown4.3 KB
shared/assets/fonts/OFL.txtmarkdown4.3 KB
shared/assets/fonts/PretendardVariable.woff2binary2.0 MB
shared/assets/icons/base.svgother9.3 KB
shared/assets/icons/extra.svgother18.4 KB
shared/assets/icons/si.svgother7.6 KB
shared/assets/js/cover-art.jsscript82.9 KB
shared/assets/js/motion.jsscript84.4 KB
shared/assets/js/patterns.jsscript7.2 KB
shared/assets/js/responsive.jsscript21.6 KB
shared/assets/js/sheet.jsscript1.5 KB
shared/assets/js/study.jsscript33.6 KB
shared/assets/js/talk.jsscript9.2 KB
shared/assets/js/themes.jsscript7.8 KB
shared/assets/js/viewer.jsscript29.1 KB
shared/assets/kit/patterns.cssother5.4 KB
shared/assets/kit/stack.jsscript15.8 KB
shared/assets/pack-shell.htmlother2.9 MB
shared/assets/packs/atlas/style.cssother1.7 KB
shared/assets/packs/atlas/template.htmlother2.1 KB
shared/assets/packs/base.cssother2.2 KB
shared/assets/packs/briefing/style.cssother1.4 KB
shared/assets/packs/briefing/template.htmlother1.7 KB
shared/assets/packs/casebook/style.cssother1.4 KB
shared/assets/packs/casebook/template.htmlother1.5 KB
shared/assets/packs/catalog.jsonconfig10.3 KB
shared/assets/packs/editorial/style.cssother1.2 KB
shared/assets/packs/editorial/template.htmlother2.0 KB
shared/assets/packs/field/style.cssother1.5 KB
shared/assets/packs/field/template.htmlother1.6 KB
shared/assets/packs/flows.jsonconfig21.8 KB
shared/assets/packs/lab/style.cssother1.4 KB
shared/assets/packs/lab/template.htmlother1.6 KB
shared/assets/packs/seminar/style.cssother1.4 KB
shared/assets/packs/seminar/template.htmlother1.7 KB
shared/assets/packs/workbook/style.cssother1.6 KB
shared/assets/packs/workbook/template.htmlother1.7 KB
shared/assets/shell.htmlother2.9 MB
shared/assets/snippets/01-cover-bauhaus.htmlother3.3 KB
shared/assets/snippets/01-cover-bento.htmlother6.7 KB
shared/assets/snippets/01-cover-bigstat.htmlother2.3 KB
shared/assets/snippets/01-cover-blueprint.htmlother4.3 KB
shared/assets/snippets/01-cover-bold-poster.htmlother3.4 KB
shared/assets/snippets/01-cover-center.htmlother2.5 KB
shared/assets/snippets/01-cover-diagram.htmlother2.4 KB
shared/assets/snippets/01-cover-editorial-lab.htmlother3.6 KB
shared/assets/snippets/01-cover-future-portal.htmlother3.6 KB
shared/assets/snippets/01-cover-learning-path.htmlother3.7 KB
shared/assets/snippets/01-cover-modular-cards.htmlother3.9 KB
shared/assets/snippets/01-cover-monograph.htmlother3.1 KB
shared/assets/snippets/01-cover-mosaic.htmlother2.4 KB
shared/assets/snippets/01-cover-paper-collage.htmlother3.1 KB
shared/assets/snippets/01-cover-split.htmlother2.8 KB
shared/assets/snippets/01-cover-stripes.htmlother2.4 KB
shared/assets/snippets/01-cover-workbook-notes.htmlother3.8 KB
shared/assets/snippets/02-agenda.htmlother21.2 KB
shared/assets/snippets/03-timeline.htmlother14.2 KB
shared/assets/snippets/04-map.htmlother16.3 KB
shared/assets/snippets/05-mechanism.htmlother14.5 KB
shared/assets/snippets/06-traits-grid.htmlother16.9 KB
shared/assets/snippets/07-meter.htmlother17.1 KB
shared/assets/snippets/08-compare-2.htmlother18.2 KB
shared/assets/snippets/09-compare-table.htmlother16.0 KB
shared/assets/snippets/10-hub.htmlother15.1 KB
shared/assets/snippets/11-levels.htmlother15.1 KB
shared/assets/snippets/12-tile-grid.htmlother12.3 KB
shared/assets/snippets/13-sequence.htmlother15.0 KB
shared/assets/snippets/14-mapping.htmlother13.7 KB
shared/assets/snippets/15-mock-legend.htmlother11.2 KB
shared/assets/snippets/16-mock-options.htmlother10.5 KB
shared/assets/snippets/17-statement.htmlother7.5 KB
shared/assets/snippets/18-build-up.htmlother14.0 KB
shared/assets/snippets/19-frame-form.htmlother9.2 KB
shared/assets/snippets/20-before-after.htmlother13.6 KB
shared/assets/snippets/21-worked-example.htmlother16.5 KB
shared/assets/snippets/22-worked-artifact.htmlother9.2 KB
shared/assets/snippets/23-quiz-ab.htmlother7.1 KB
shared/assets/snippets/24-quiz-sort.htmlother8.0 KB
shared/assets/snippets/25-quiz-ox.htmlother6.9 KB
shared/assets/snippets/26-rules-dark.htmlother13.7 KB
shared/assets/snippets/27-checklist.htmlother8.3 KB
shared/assets/snippets/28-sources.htmlother9.8 KB
shared/assets/snippets/29-closing.htmlother6.0 KB
shared/assets/snippets/30-check.htmlother10.3 KB
shared/assets/snippets/31-stat-strip.htmlother11.4 KB
shared/assets/snippets/32-screen-cite.htmlother14.1 KB
shared/assets/snippets/33-chart-bar.htmlother17.0 KB
shared/assets/snippets/34-chart-line.htmlother17.9 KB
shared/assets/snippets/35-explore.htmlother9.6 KB
shared/assets/snippets/36-detail-sheet.htmlother9.9 KB
shared/assets/snippets/37-arch-flow.htmlother17.2 KB
shared/assets/snippets/38-part-divider.htmlother7.0 KB
shared/assets/snippets/39-quadrant.htmlother10.0 KB
shared/assets/snippets/40-flashcards.htmlother12.4 KB
shared/assets/snippets/41-ops-report.htmlother22.8 KB
shared/assets/snippets/42-sankey-flow.htmlother9.7 KB
shared/assets/snippets/43-decision-tree.htmlother8.7 KB
shared/assets/snippets/44-kanban-board.htmlother9.4 KB
shared/assets/snippets/45-version-graph.htmlother8.9 KB
shared/assets/snippets/46-event-fanout.htmlother8.1 KB
shared/assets/snippets/47-route-tour.htmlother9.3 KB
shared/assets/snippets/48-waterfall.htmlother7.9 KB
shared/assets/snippets/49-mesh-network.htmlother7.8 KB
shared/assets/snippets/50-heatmap-grid.htmlother11.9 KB
shared/assets/snippets/51-swimlane.htmlother8.2 KB
shared/assets/snippets/52-cycle-ring.htmlother7.1 KB
shared/assets/snippets/53-verdict.htmlother6.9 KB
shared/assets/snippets/54-diagnose.htmlother3.0 KB
shared/assets/snippets/55-window-frame.htmlother3.3 KB
shared/assets/snippets/56-gate-chain.htmlother5.6 KB
shared/assets/snippets/patterns/code.htmlother1.2 KB
shared/assets/snippets/patterns/faq.htmlother839 B
shared/assets/snippets/patterns/fx.htmlother2.8 KB
shared/assets/snippets/patterns/pin-shot.htmlother1.5 KB
shared/assets/snippets/patterns/tabs.htmlother1.1 KB
shared/assets/style-sheets/README.mdmarkdown1.7 KB
shared/assets/style-sheets/previews/clean-professional.pngbinary1.4 MB
shared/assets/style-sheets/previews/creative-magazine.pngbinary2.1 MB
shared/assets/style-sheets/previews/data-dashboard.pngbinary1.3 MB
shared/assets/style-sheets/previews/e-ink-magazine.pngbinary2.4 MB
shared/assets/style-sheets/previews/handdrawn-technical.pngbinary2.0 MB
shared/assets/style-sheets/previews/handdrawn-whiteboard.pngbinary1.9 MB
shared/assets/style-sheets/previews/mckinsey-style.pngbinary1.7 MB
shared/assets/style-sheets/previews/party-government-red.pngbinary1.5 MB
shared/assets/style-sheets/previews/retro-flat-illustration.pngbinary2.3 MB
shared/assets/style-sheets/previews/scientific-defense.pngbinary1.4 MB
shared/assets/style-sheets/previews/teaching-courseware.pngbinary1.4 MB
shared/assets/style-sheets/previews/warm-handmade.pngbinary2.3 MB
shared/assets/style-sheets/党政红风格.mdmarkdown8.5 KB
shared/assets/style-sheets/创意杂志风.mdmarkdown3.3 KB
shared/assets/style-sheets/复古扁平插画风.mdmarkdown3.3 KB
shared/assets/style-sheets/手绘技术解释风.mdmarkdown4.7 KB
shared/assets/style-sheets/手绘白板风.mdmarkdown3.3 KB
shared/assets/style-sheets/教学课件风.mdmarkdown9.7 KB
shared/assets/style-sheets/数据仪表盘风.mdmarkdown3.4 KB
shared/assets/style-sheets/清爽专业风.mdmarkdown4.4 KB
shared/assets/style-sheets/温暖手工风.mdmarkdown3.3 KB
shared/assets/style-sheets/电子墨水杂志风.mdmarkdown4.6 KB
shared/assets/style-sheets/科研答辩风.mdmarkdown9.1 KB
shared/assets/style-sheets/麦肯锡风格.mdmarkdown14.8 KB
shared/dev/README.mdmarkdown12.7 KB
shared/dev/crayon-reference.htmlother19.1 KB
shared/dev/defect_test.pyscript5.7 KB
shared/dev/fill_test.pyscript3.4 KB
shared/dev/make_icons.pyscript10.0 KB
shared/dev/make_snippets.pyscript16.0 KB
shared/dev/pack_shell_template.htmlother35.7 KB
shared/dev/port.pyscript1.5 KB
shared/dev/shell_template.htmlother61.0 KB
shared/dev/test_absorb_snippets.pyscript5.5 KB
shared/dev/test_arch_lanes.pyscript12.0 KB
shared/dev/test_arch_si.pyscript17.5 KB
shared/dev/test_arch_trace.pyscript5.6 KB
shared/dev/test_check_talk_est.pyscript4.1 KB
shared/dev/test_chrome_menu.pyscript13.2 KB
shared/dev/test_consult_chart.pyscript35.9 KB
shared/dev/test_consult_regen.pyscript3.5 KB
shared/dev/test_consulting_check.pyscript7.4 KB
shared/dev/test_contrast_backdrop.pyscript8.6 KB
shared/dev/test_contrast_matrix.pyscript9.2 KB
shared/dev/test_cover_art.pyscript10.7 KB
shared/dev/test_cover_custom.pyscript10.8 KB
shared/dev/test_cover_rework.pyscript8.3 KB
shared/dev/test_dblclick_finish.pyscript6.5 KB
shared/dev/test_diagram_variants.pyscript13.8 KB
shared/dev/test_extract_copy.pyscript7.3 KB
shared/dev/test_extract_style.pyscript13.8 KB
shared/dev/test_figslot.pyscript14.0 KB
shared/dev/test_final_gate.pyscript2.5 KB
shared/dev/test_flint_model.pyscript5.5 KB
shared/dev/test_flint_theme.pyscript4.6 KB
shared/dev/test_free_mode.pyscript10.7 KB
shared/dev/test_fx_absorb.pyscript13.8 KB
shared/dev/test_fx_draft.pyscript38.0 KB
shared/dev/test_fx_patterns.pyscript16.8 KB
shared/dev/test_key_motion.pyscript9.3 KB
shared/dev/test_koboyo_icons.pyscript8.6 KB
shared/dev/test_miniflow.pyscript11.7 KB
shared/dev/test_motion_techniques.pyscript11.9 KB
shared/dev/test_ops_report.pyscript11.4 KB
shared/dev/test_pack_browser.pyscript15.7 KB
shared/dev/test_pack_checker.pyscript10.1 KB
shared/dev/test_pack_icons.pyscript6.5 KB
shared/dev/test_pack_router.pyscript5.1 KB

shared/dev/test_cover_custom.py

View on GitHub
#!/usr/bin/env python3
"""직접 설계 표지(custom) 회귀 시험: 면제 좁힘·계약·data-variant 수용·모션 안전.

[목적] TASK-cover-custom G1·G3·G4·G6. 표지 화면 면제를 '글자 없는 장식'으로 좁혔으므로
       (a) 계약을 지킨 직접 설계 표지는 ERROR 0, (b) 슬라이드 밖 제목은 ERROR,
       (c) 16px 글자는 ERROR, (d) aria-hidden 장식은 면제 유지, (e) 카탈로그 7종은
       새 규칙에서도 ERROR 0, (f) custom/custom-* 수용, (g) 콘솔 오류 0.
[입력] 테스트 안 문자열 픽스처(snippets 에 넣지 않는다) + 카탈로그 01-cover*.html.
[출력] 없음(단정문). 실패는 면제 범위 퇴행·계약 위반·모션 깨짐이다.
[주의] RENDER_JS 는 움직임 줄임 + QUIET_CSS(전환 0초)에서 잰다 — check_deck.render_checks
       와 같은 조건. 콘솔 오류는 움직임 켠 상태에서 모은다(같은 1차 패스).
"""
import re
import sys
import tempfile
import unittest
from pathlib import Path

from bs4 import BeautifulSoup
from playwright.sync_api import sync_playwright

SHARED = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(SHARED / 'scripts'))
import build_deck            # noqa: E402
import check_deck            # noqa: E402
import tone_router           # noqa: E402

SNIPPETS = SHARED / 'assets' / 'snippets'
NOTE = ('발표자 노트입니다. 표지를 보여 주며 오늘 교육의 목적과 대상을 소개하고, '
        '화면의 제목과 핵심어를 짚은 뒤 다음 장의 순서 안내로 자연스럽게 이어갑니다.')
QUIET = check_deck.QUIET_CSS

COVER_OK = f'''<section class="slide cx" data-archetype="cover" data-variant="custom" id="cover"
    style="position:relative;overflow:hidden">
  <p class="cx-eyebrow" style="position:absolute;left:160px;top:220px;font-size:26px;color:var(--accent-light)">우리 회사</p>
  <h1 class="cx-title" style="position:absolute;left:160px;top:320px;width:1100px;font-size:96px;line-height:1.2;color:var(--ink)">직접 설계 표지</h1>
  <p class="cx-tokens" style="position:absolute;left:160px;top:560px;font-size:32px;color:var(--soft)"><span>핵심 하나</span> · <span>핵심 둘</span></p>
  <p style="position:absolute;left:160px;top:640px;font-size:24px;color:var(--muted)">부제 한 문장을 적는 자리입니다</p>
  <div aria-hidden="true" style="position:absolute;right:-120px;top:120px;width:520px;height:520px;border-radius:50%;background:var(--accent-light);opacity:.18"></div>
  <div aria-hidden="true" style="position:absolute;right:140px;top:280px;width:240px;height:240px;border-radius:var(--r3);background:var(--accent)"></div>
  <p style="position:absolute;left:160px;bottom:120px;font-size:22px;color:var(--muted)">2026. 03. 10</p>
  <aside class="notes">{NOTE}</aside>
</section>'''

COVER_OVERFLOW = COVER_OK.replace(
    'class="cx-title" style="position:absolute;left:160px;top:320px;width:1100px;font-size:96px;line-height:1.2',
    'class="cx-title" style="position:absolute;left:1500px;top:320px;white-space:nowrap;font-size:96px;line-height:1.2')

COVER_TINY = COVER_OK.replace(
    '<p style="position:absolute;left:160px;top:640px;font-size:24px;color:var(--muted)">',
    '<p style="position:absolute;left:160px;top:640px;font-size:16px;color:var(--muted)">')

COVER_HEX = COVER_OK.replace(
    'class="cx-eyebrow" style="position:absolute;left:160px;top:220px;font-size:26px;color:var(--accent-light)"',
    'class="cx-eyebrow" style="position:absolute;left:160px;top:220px;font-size:26px;color:#e8843c"')

COVER_NO_TITLE = COVER_OK.replace('class="cx-title"', 'class="cx-head"')

SLIDE = '<section class="slide" data-archetype="{a}"><h1>{t}</h1><aside class="notes">' + NOTE + '</aside></section>'
AGENDA = SLIDE.format(a='agenda', t='오늘의 순서')
CLOSING = SLIDE.format(a='closing', t='마무리')


def doc(slides):
    return ('<html><head><title>교육</title></head><body><div id="stage">'
            + ''.join(slides) + '</div></body></html>')


def static_items(text):
    rep = check_deck.Report()
    check_deck.static_checks(text, BeautifulSoup(text, 'html.parser'), rep, False)
    return rep.items


class CoverCustomRender(unittest.TestCase):
    """브라우저 렌더 검사 — 한 브라우저를 공유하고 장마다 RENDER_JS 를 평가한다."""

    @classmethod
    def setUpClass(cls):
        cls.tmp = tempfile.TemporaryDirectory(prefix='edu-cover-custom-')
        cls.addClassCleanup(cls.tmp.cleanup)
        cls.out = Path(cls.tmp.name)
        cls.pw = sync_playwright().start()
        cls.addClassCleanup(cls.pw.stop)
        cls.browser = check_deck.launch(cls.pw)
        cls.addClassCleanup(cls.browser.close)
        cls.decks = {}
        for name, cover in (
            ('ok', COVER_OK), ('overflow', COVER_OVERFLOW), ('tiny', COVER_TINY),
            ('hex', COVER_HEX), ('notitle', COVER_NO_TITLE),
        ):
            cls.decks[name] = cls.write_deck(name, [cover, AGENDA, CLOSING])
        cls.decks['customx'] = cls.write_deck(
            'customx', [COVER_OK.replace('data-variant="custom"', 'data-variant="custom-grid"'),
                        AGENDA, CLOSING])

    @classmethod
    def write_deck(cls, name, slides):
        d = cls.out / name
        (d / 'src').mkdir(parents=True)
        (d / 'deck.json').write_text('{"title":"표지 시험","output":"result.html"}', encoding='utf-8')
        for i, s in enumerate(slides, 1):
            (d / 'src' / f'{i:02d}.html').write_text(s, encoding='utf-8')
        build_deck.build('표지 시험', sorted((d / 'src').glob('*.html')),
                         [SHARED / 'assets' / 'css'], [SHARED / 'assets' / 'icons'], d / 'result.html')
        return d / 'result.html'

    def page(self, reduced=True):
        ctx = self.browser.new_context(viewport={'width': 1920, 'height': 1080},
                                       reduced_motion='reduce' if reduced else 'no-preference')
        self.addCleanup(ctx.close)
        return ctx.new_page()

    def render_items(self, path, slide=0):
        """check_deck.render_checks 의 2차 패스와 같은 조건에서 RENDER_JS 를 평가한다."""
        p = self.page()
        p.goto(path.as_uri())
        p.add_style_tag(content=QUIET)
        top = p.evaluate('window.deckInfo().maxStep') or 0
        items = []
        for s in range(int(top) + 1):
            p.evaluate(f'window.deckGo({slide}, {s})')
            items += p.evaluate(check_deck.RENDER_JS, [slide])
        return items

    def errors(self, items):
        return [i for i in items if i['sev'] == 'ERROR']

    # (a) 계약을 지킨 직접 설계 표지 → ERROR 0
    def test_contract_valid_cover_passes(self):
        self.assertEqual(self.errors(self.render_items(self.decks['ok'])), [])

    # (b) 제목이 슬라이드 오른쪽으로 넘치는 표지 → 화면 밖 넘침 ERROR
    def test_overflowing_title_is_error(self):
        items = self.errors(self.render_items(self.decks['overflow']))
        self.assertTrue(any(i['kind'] == '화면 밖 넘침' and 'cx-title' in i['target'] for i in items), items)

    # (c) 16px 글자 표지 → 글자 크기 ERROR
    def test_tiny_text_is_error(self):
        items = self.errors(self.render_items(self.decks['tiny']))
        self.assertTrue(any(i['kind'] == '글자 크기' and '18px 미만' in i['msg'] for i in items), items)

    # (d) 캔버스 밖 aria-hidden 장식 → 면제 유지(ERROR 없음)
    def test_aria_hidden_decoration_offscreen_allowed(self):
        items = self.errors(self.render_items(self.decks['ok']))
        self.assertFalse([i for i in items if i['kind'] == '화면 밖 넘침'], items)

    # (e) 카탈로그 7종이 새 규칙에서도 ERROR 0 — 자리표시는 실덱처럼 짧은 문구로 채운다
    def test_catalog_covers_pass_new_rule(self):
        fills = {
            '«교육 이름 ≤10자»': '우리 회사', '«표지 제목 ≤12자»': '핵심 제목',
            '«부제 한 문장 ≤29자»': '오늘 배울 것을 한 문장으로',
            '«날짜 YYYY. MM. DD ≤15자»': '2026. 03. 10', '«표지 배지(선택) ≤27자»': '3월 정기 교육',
            '«핵심어 ≤4자»': '핵심', '«핵심어 ≤5자»': '핵심어',
        }
        for f in sorted(SNIPPETS.glob('01-cover*.html')):
            with self.subTest(cover=f.name):
                text = f.read_text(encoding='utf-8')
                for k, v in fills.items():
                    text = text.replace(k, v)
                text = re.sub(r'«[^»]*»', '핵심', text)
                deck = self.write_deck('cat-' + f.stem, [text, AGENDA, CLOSING])
                self.assertEqual(self.errors(self.render_items(deck)), [], f.name)

    # (f) data-variant="custom"·"custom-*" 가 빌드·검사에서 수용된다
    def test_custom_variant_accepted(self):
        for name in ('ok', 'customx'):
            with self.subTest(deck=name):
                text = self.decks[name].read_text(encoding='utf-8')
                bad = [i for i in static_items(text)
                       if i['sev'] == 'ERROR']
                self.assertEqual(bad, [])
                warns = [i for i in static_items(text)
                         if i['kind'] == '표지']
                self.assertEqual(warns, [])
        self.assertNotIn('custom', tone_router.COVERS)
        self.assertEqual(tone_router.COVER_CUSTOM, 'custom')

    # 계약 위반: 하드코딩 hex 색 → WARN (직접 설계 표지만. 카탈로그에는 적용 안 함)
    def test_hardcoded_hex_warns(self):
        text = self.decks['hex'].read_text(encoding='utf-8')
        warns = [i for i in static_items(text) if i['kind'] == '표지' and 'var(--' in i['message']]
        self.assertTrue(warns)
        cat = (SNIPPETS / '01-cover-split.html').read_text(encoding='utf-8')
        self.assertEqual([i for i in static_items(doc([cat, AGENDA, CLOSING])) if i['kind'] == '표지'], [])

    # 계약 위반: .cx-title 없는 직접 설계 표지 → WARN
    def test_missing_cx_title_warns(self):
        text = self.decks['notitle'].read_text(encoding='utf-8')
        warns = [i for i in static_items(text) if i['kind'] == '표지' and 'cx-title' in i['message']]
        self.assertTrue(warns)

    # (g) .cx-title 만 있는 표지에서 모션 진입·장 전환 시 콘솔 오류 0 (움직임 켠 1차 패스)
    def test_motion_no_console_errors(self):
        errors = []
        p = self.page(reduced=False)
        p.on('console', lambda m: errors.append(m.text) if m.type == 'error' else None)
        p.on('pageerror', lambda e: errors.append(str(e)))
        p.goto(self.decks['ok'].as_uri())
        p.wait_for_timeout(400)
        n = p.evaluate('window.deckInfo().count')
        for i in range(n):
            p.evaluate(f'window.deckGo({i})')
            p.wait_for_timeout(120)
        p.evaluate('window.deckGo(0)')
        p.wait_for_timeout(200)
        self.assertEqual(errors, [])


if __name__ == '__main__':
    unittest.main()
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall