Imported from chechiachang/chechiachang.github.io-src (
AGENTS.md). Install upstream withnpx skills add chechiachang/chechiachang.github.io-src. Copyright stays with the author.
AGENTS
This repo contains content for https://chechia.net, including posts, slides, and transcripts.
README.md main instruction index for this repo. All instructions and skills must be compact and extremely minimal.
Hard Rules
- Keep outputs short, actionable, and minimal.
- Never ask approval. Execute directly with the safest reasonable default.
- Ask only if blocked by missing required secret/credential/account value.
- Use repo-local
./tmpfor temporary files; do not use OS-wide temp directories. - Normalize wording and terms, e.g.
token->Token.
Agents
ingest-agent: Ingest./content/*.output-agent: Generate content.review-agent: Review content.
ingest-agent Instructions
Raw Sources from ./content
./contentis the source-of-truth layer.- The LLM may read from raw sources, but should treat them as immutable.
- Raw data includes posts and slides.
Directory: wiki/
- The wiki is LLM-maintained markdown.
- The LLM owns the structure, summaries, cross-references, and organization.
- Humans read the wiki; the LLM writes and updates it.
- Before ingest work, read
wiki/purpose-plan.md. wiki/index.mdis content-oriented navigation.wiki/log.mdis chronological and append-only.
Operation: Ingest
When new raw data is added to ./content, the ingest-agent should:
- Re-compile the wiki.
- Append an entry to
wiki/log.md. - Preserve old knowledge unless a newer source clearly supersedes it.
Slide Parsing
- Slide: a
content/slides/*/_index.mdfile using markdown/hugo/reveal-hugo syntax. - Page: a slide is split by
---; each split is one page.
Slide Output Format
For each slide, output:
- Title, description, metadata.
- Pages (
## Pages (Section | Summary)): one line per page in formatSection | Summary(count(pages) == count(page)). - Use
(frontmatter)as section name for pages without a heading. - Time-to-Syntax: list of
timing:syntax, grouped by where the syntax appears in the slide (markdown/hugo/reveal-hugo). - Time-to-Sentence: list of
timing:sentence, grouped by where the complete sentence appears in the slide.
output-agent Instructions
- Try fetch existing content with the same title from draft// content/transcripts, content/slides, and content/posts. Use them as reference for style, voice, and structure.
markdown-slides
- use ./markdown-slides for generating markdown slides.
- use ./draft for generated contents.
Type of Presentation
- Standard: A typical presentation with a Slide Deck. Time: 30-40 minutes. Slides about 20 pages. Focus on delivering key insights or explaining a specific topic.
- Workshop: A hands-on session with exercises. Time: 60-90 minutes. Slides about 60 pages. Focus on teaching a skill or process, with step-by-step instructions and practical applications.
If conten/posts or slides path contains workshop or ws, the output-agent should assume the presentation is a Workshop. Otherwise, it should assume it's a Standard presentation.
Generate Post in ./content/posts
skills/presentation.md: Skills for drafting./content/postsand./content/slidesfor call for presentations
Generate Slide in ./content/slides
- fetch slide content of last year from
./content/slides/*/_index.mdas reference for structure, style, and voice. skills/generate-slide-md.md: Skill for generatingcontent/slides/*/_index.md; must readwiki/slide-pages-pattern.mdbefore drafting outline.skills/chechia-content.md: Skills for generating text and sentence content with chechia's unique style and voice.
Generate Transcript in ./content/transcripts
- read markdown slide by slide. Slides are split by
---. - generate transcript for each slide in
./content/slides/*/_index.mdthat the presenter would say during the presentation - Overall format should be a article or blog post. Each page's transcript should be a complete paragraph that cover all content on that page as if the presenter is explaining it to the audience.
- transcript should include greetings, introductions, transitions, and conclusions as if the presenter is delivering the presentation in person.
review-agent Instructions
Review Overview
- read
content/slides/*/_index.md - review content for accuracy, clarity, and consistency with chechia's style and voice.
Review Slide Content in ./content/slides
- read markdown slide by slide. Slides are split by
---. - output result slide by slide, in format
Slide N: [OK/Needs Work] - Reason (if Needs Work). - first Empty Slide (no text) is meta-data