← ClaudeAtlas

edu-publish-newslisted

Publish a news item («Новость») with photos on an edu.by school site through the constructor – date, headline, annotation, body text and pictures. Use when the user asks to add, post or publish news, an event report or an announcement with photos, or to fix the text or date of an existing news item.
Severnbli/edu-by-agent · ★ 0 · AI & Automation · score 69
Install: claude install-skill Severnbli/edu-by-agent
# Publish a news item A news item is an object of type **534 «Новость»**. Its photos are separate **image objects (304 «Графический объект»)** in the same section, left unpublished and shown inside the news text with `<img src="sm_full.aspx?guid=<image id>">`. That is how this site's existing news are built (knowledge/endpoints/dialogs.md, «News»). The news object also takes **its own picture – the cover**. News lists (home page, archive) show it through `sm.aspx?guid=<news id>`; a news item without one shows the platform's empty placeholder there. Always give a news item with photos a cover: its first photo. Everything goes through `./edu` from the repo root. Write commands only preview without `--yes`. ## Inputs – ask the user for what is missing - **date** `dd.mm.yyyy` (required; usually the event date or today) - **headline** (`zag` «Заголовок») - **annotation** (`name` «Аннотация»): one or two sentences shown in the news list. If the user gives none, propose one from the text and let them approve it. - **body text**: their text or a draft you wrote that they approved. Don't invent facts, names or numbers. - **photos**: files inside the repo (the container sees only the repo). Put working files in `.session/work/` (`mkdir -p .session/work`; git-ignored, never committed). - **publish now or leave as a draft**. Default: a draft (unpublished), the user checks it first. ## Steps 1. Session: `./edu session check` (exit 2 → the `edu-session` skill; the user logs in). 2.