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/assets/js/patterns.js

View on GitHub
/* edu-deck authoring patterns: code copy, tabs, FAQ, screen pins, cross-links.
 * Attribute-driven — slides never carry their own scripts. The presentation
 * engine owns visibility and navigation; this module owns pattern behaviour.
 * Static modes (prefers-reduced-motion, print/beforeprint, body.st-self,
 * body.st-printing) expose every pane and every answer instead of the
 * interactive default, so print/self-study readers see the full content.
 */
(function(){
  'use strict';
  if(window.eduPatterns)return;
  const stage=document.getElementById('stage');
  if(!stage)return;
  const reduce=matchMedia('(prefers-reduced-motion: reduce)');
  const mediaPrint=matchMedia('print');
  const all=(q,r=document)=>Array.from(r.querySelectorAll(q));
  const staticMode=()=>reduce.matches||mediaPrint.matches||document.body.classList.contains('st-self')||document.body.classList.contains('st-printing');

  /* ---------- 코드 상자 복사 (.code > .code-head > .code-copy) ----------
     pre 안의 .p(프롬프트) .out(출력) .c(주석) span 은 복사에서 빠진다. */
  function copyText(pre){
    let out='';
    for(const n of pre.childNodes){
      if(n.nodeType===3)out+=n.textContent;
      else if(n.nodeType===1&&!n.matches('.p,.out,.c'))out+=n.textContent;
    }
    return out;
  }
  function clipboardFallback(t){
    const ta=document.createElement('textarea');
    ta.value=t;ta.style.cssText='position:fixed;top:0;left:0;opacity:0';
    document.body.append(ta);ta.select();
    try{document.execCommand('copy');}catch(e){}
    ta.remove();
  }
  function copyWrite(t){
    if(navigator.clipboard&&navigator.clipboard.writeText)
      return navigator.clipboard.writeText(t).catch(()=>clipboardFallback(t));
    return Promise.resolve(clipboardFallback(t));
  }
  function flashCopied(b){
    if(b._edBusy)return;
    b._edBusy=true;
    const orig=b.textContent;
    b.textContent='복사됨';
    setTimeout(()=>{b.textContent=orig;b._edBusy=false;},1500);
  }
  document.addEventListener('click',e=>{
    const b=e.target&&e.target.closest?e.target.closest('.code .code-copy'):null;
    if(!b)return;
    e.stopPropagation();
    const pre=b.closest('.code').querySelector('pre');
    if(pre)copyWrite(copyText(pre)).then(()=>flashCopied(b),()=>flashCopied(b));
  });

  /* ---------- 탭 (.tabs > .tab-bar > button × .tab-pane) ---------- */
  function tabsInit(){
    all('.tabs',stage).forEach(t=>{
      if(t._edTabs)return;
      const bar=t.querySelector(':scope>.tab-bar');
      const btns=bar?all(':scope>button',bar):[];
      const panes=all(':scope>.tab-pane',t);
      if(!btns.length||!panes.length)return;
      t._edTabs=true;
      bar.setAttribute('role','tablist');
      btns.forEach((b,i)=>{
        b.setAttribute('role','tab');
        if(!b.id)b.id='ed-tab-'+Math.random().toString(36).slice(2,9);
        const p=panes[i];
        if(p){
          p.setAttribute('role','tabpanel');
          if(!p.id)p.id=b.id+'-pane';
          b.setAttribute('aria-controls',p.id);
          p.setAttribute('aria-labelledby',b.id);
        }
        b.addEventListener('click',ev=>{ev.stopPropagation();show(i);});
      });
      const show=i=>{
        t._at=i;
        btns.forEach((b,k)=>{
          b.setAttribute('aria-selected',k===i?'true':'false');
          b.tabIndex=k===i?0:-1;
        });
        panes.forEach((p,k)=>{p.hidden=staticMode()?false:k!==i;});
        // A pane may hide data-fx content the step engine already passed:
        // opening it is a fresh reveal, so the motion sweep must look again.
        document.dispatchEvent(new CustomEvent('edpattern'));
      };
      t._show=show;
      bar.addEventListener('keydown',e=>{
        const i=t._at||0,pick=k=>{e.preventDefault();e.stopPropagation();show(k);btns[t._at].focus();};
        if(e.key==='ArrowRight'||e.key==='ArrowDown')pick((i+1)%btns.length);
        else if(e.key==='ArrowLeft'||e.key==='ArrowUp')pick((i-1+btns.length)%btns.length);
        else if(e.key==='Home')pick(0);
        else if(e.key==='End')pick(btns.length-1);
      });
      show(0);
    });
  }
  // Static modes stack every pane with its tab label so nothing is hidden.
  function tabsStatic(on){
    all('.tabs',stage).forEach(t=>{
      if(!t._edTabs)return;
      const panes=all(':scope>.tab-pane',t),btns=all(':scope>.tab-bar>button',t);
      panes.forEach((p,i)=>{
        if(on){
          p.hidden=false;
          if(!p.querySelector(':scope>.tab-pane-label')){
            const l=document.createElement('p');
            l.className='tab-pane-label';
            l.textContent=btns[i]?btns[i].textContent.trim():'';
            p.prepend(l);
          }
        }else{
          all(':scope>.tab-pane-label',p).forEach(x=>x.remove());
          p.hidden=i!==(t._at||0);
        }
      });
    });
  }

  /* ---------- 다른 장·다른 탭으로 가기 (.go[data-go][data-tab]) ---------- */
  document.addEventListener('click',e=>{
    const b=e.target&&e.target.closest?e.target.closest('.go[data-go]'):null;
    if(!b)return;
    e.stopPropagation();
    const n=parseInt(b.dataset.go,10);
    if(!(n>=1))return;
    if(window.deckGo)window.deckGo(n-1);
    const tab=parseInt(b.dataset.tab||'',10);
    if(tab>=1){
      const s=document.querySelector('#stage .slide.active');
      const t=s&&s.querySelector('.tabs');
      if(t&&t._show)t._show(tab-1);
    }
  });

  /* ---------- FAQ (.faq details) — 네이티브 toggle, 정적 모드=전부 펼침 ---------- */
  function faqStatic(on){
    all('.faq details',stage).forEach(d=>{
      if(on){if(!d.open){d.dataset.edStaticClosed='1';d.open=true;}}
      else if(d.dataset.edStaticClosed){delete d.dataset.edStaticClosed;d.open=false;}
    });
  }

  /* ---------- 화면 핀 (.pin-shot .pin[data-k] ↔ .pin-list [data-k]) ---------- */
  function pinsInit(){
    all('.pin-shot',stage).forEach(fig=>{
      if(fig._edPins)return;
      const slide=fig.closest('.slide')||stage;
      const pins=all('.pin[data-k]',fig);
      const items=all('.pin-list [data-k]',slide);
      if(!pins.length&&!items.length)return;
      fig._edPins=true;
      const pair=k=>{
        pins.forEach(n=>n.classList.toggle('on',k!==null&&n.dataset.k===k));
        items.forEach(n=>n.classList.toggle('on',k!==null&&n.dataset.k===k));
      };
      pins.concat(items).forEach(n=>{
        if(!n.matches('button,a,input')&&n.tabIndex<0)n.tabIndex=0;
        const on=()=>pair(n.dataset.k);
        n.addEventListener('mouseenter',on);
        n.addEventListener('focus',on);
        n.addEventListener('click',ev=>{ev.stopPropagation();on();});
      });
      fig.addEventListener('mouseleave',()=>pair(null));
      const list=slide.querySelector('.pin-list');
      if(list)list.addEventListener('mouseleave',()=>pair(null));
    });
  }

  function applyStatic(){
    const on=staticMode();
    tabsStatic(on);faqStatic(on);
  }
  window.addEventListener('beforeprint',()=>{tabsStatic(true);faqStatic(true);});
  window.addEventListener('afterprint',applyStatic);
  reduce.addEventListener('change',applyStatic);
  mediaPrint.addEventListener('change',applyStatic);
  new MutationObserver(applyStatic).observe(document.body,{attributes:true,attributeFilter:['class']});
  tabsInit();
  pinsInit();
  applyStatic();
  window.eduPatterns={};
})();
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