You will learn#
- how to create a project with a format that fits the platform;
- how to list and read projects;
- what the kind of a project is, and how to read the steps from its briefing to its publication;
- what the revision number means.
The idea#
A project is one production: a short video, a series of thumbnails, a post. It holds a brief (who it is for, the goal, the platform, the tone), items (texts such as a script, a copy or a caption; one or more timelines; outputs, the exports you keep), the assets it uses, and its publications. The timeline is a JSON document of tracks and items, and every change to it is a batch of operations that raises its revision by one, so a project always has a clean history you can undo.
stuarty project:describe <id> prints the brief, the items and the state as text, which is what an agent reads first. stuarty project:duplicate <id> copies a project with its brief, texts and timelines.
The context of a project#
Every project has a name, a description and a goal, and they are required. They are what a person, or an agent that works with you, reads first, the way an engineer reads the AGENTS.md of a repository, so write them for a new teammate.
| Field | What to write | Size |
|---|---|---|
| Name | what the project is, with letters, digits and single spaces | 4 to 32 characters |
| Description | what the project is, who it is for and what it makes | 64 to 1,024 characters |
| Specific | exactly what the project will achieve | 16 to 280 characters |
| Measurable | how you will know it worked, with a number or a check | 16 to 280 characters |
| Achievable | why it is realistic with what you have | 16 to 280 characters |
| Relevant | why it matters to you or to your audience | 16 to 280 characters |
| Time-bound | the schedule and the milestones | 16 to 280 characters |
| Due date | the day the goal is due, today or later | YYYY-MM-DD |
In the app#
Projects has three tabs: Your projects (a card for each project, with its kind, the words of its text and the actions Rename, Duplicate and Delete), Templates and Trash. Delete moves a project to the trash, where Restore brings it back.
New project works in two steps:
- A short dialog asks for the name and what to create: Text, Video, Image or Decide later. A video also asks for the format. Choose Continue to the briefing.
- The briefing opens as a page of its own, with the questions of the kind you chose, a tip and a worked example next to every field. Create project is enabled when every field is valid, and an error shows under its field. Back returns to the first step. The project is created only when you send the briefing.
A project made before this existed opens with a Complete the project notice that leads to the same form; change the name, the description or the goal at any time with Edit the project.
The page of a project shows, from top to bottom, its path to publication (with Add media and one button for the current step), the context you wrote, the guided briefing (a few questions whose answers become the brief that an agent reads), the free brief, and the items with Rename, Move and Trash.
A new project has no timeline: the size (9:16, 1:1, 16:9 or 4:5) and the frame rateHow many pictures a video shows each second, written as fps. are asked when you add a video to it, and the first timeline has the id of the project. The --preset and --fps arguments of project:create and project_create are deprecated: they are accepted, they create nothing, and they are removed in release 1.0.0.
Quick start#
stuarty project:create --name "Launch teaser" --description "A 30 second vertical teaser for the launch of my course, for people who follow me on short video." --specific "Publish one teaser that explains the course in one sentence" --measurable "At least 1000 views and 50 sign-ups in the first week" --achievable "I already have the footage and edit one video a day" --relevant "The launch needs an audience before the doors open" --time-bound "Script on Monday, edit on Tuesday, publish on Wednesday" --due 2027-03-31 --json
stuarty item:add --project prj_7k2m9x4q1b --kind timeline --title "Launch teaser" --preset 9:16
stuarty project:update prj_7k2m9x4q1b --name "Launch teaser v2"
stuarty project:list --json
stuarty project:show prj_7k2m9x4q1bCall project_create with name, description and goal (specific, measurable, achievable, relevant, time_bound, due), then project_item with action add and kind timeline to add the video. project_item with action update changes the name (title), the description (text) or the whole goal. Then project_list and project_get; project_get with detail overview starts with the description and the goal.
POST /api/v1/projects with name, description and goal, POST /api/v1/projects/{id}/items with {"kind": "timeline", "title": "Launch teaser", "preset": "9:16"}, PATCH /api/v1/projects/{id} to change the context, then GET /api/v1/projects and GET /api/v1/projects/{id}.
A field that is not valid is E_VALIDATION with the path of the field (name, description, goal.specific, ..., goal.due) and a hint; details.fields lists every invalid field. The presets are 9:16 (the default, for short vertical video), 1:1, 16:9 and 4:5. The frame rate defaults to 30 and can be 30000/1001. A new timeline is at revision 0.
The kind of a project#
A project is not always a video. Its kind says what it is meant to become:
| Kind | For |
|---|---|
text | only words: a copy, a blog post, a script |
video | a video, with its timelines |
image | an image |
undecided | not chosen yet (the default) |
Choose it when you create the project with --kind (project:create), kind (project_create and POST /api/v1/projects), or leave it out. The kind creates nothing: a text project has no timeline, no format and no media, and nothing asks it for one. If you leave it out, the first text or timeline you add chooses it: a copy or a post makes the project a text, a timeline a video; a brief or a script chooses nothing, since a script can be the words of a video as well as a text. A project made before kinds existed keeps its data; it reads its kind from what it holds (a timeline makes it a video, a text a text), and nothing is rewritten.
You can add a video to a text project later without starting over: it stays a text project and gains the video steps, and what was done stays done.
The workflow of a project#
project:show, project:describe, project_get and GET /api/v1/projects/{id} return the workflow of a project: its steps from the briefing to the publication, where it stands now and what comes next. project_get with detail overview and project:describe also print one line such as workflow (text): 2 of 5 steps done; now review, then approval.
| Kind | Steps |
|---|---|
text | briefing, writing, review, approval, publication |
video | briefing, script, recording (optional), editing, finishing (optional), approval, publication |
image | briefing, editing, approval, publication |
undecided | briefing, then the choice of what to make |
Each step says who does it (person, agent or both), the operation that does it (tool), and its state:
| State | Means |
|---|---|
done | a fact of the project shows it is done: the brief has text, a text has words, the timeline holds clips, an export exists, a publication went out |
current | the step to do now |
waiting | it waits for a person: a publication waits for your approval |
upcoming | a step after the current one |
skipped | you skipped it |
unknown | Stuarty has no fact to tell; it is never shown as done. The editing of an image is always unknown for now, and so are the approval and the publication when the publications cannot be read |
The approval step also shows the cost: the sum, by currency, of the estimates of the approval requests of the project that wait or were approved. It is left out when there is none.
Skip an optional step#
Recording and finishing are optional in a video. In a text project the publication is optional while the project holds no blog post: a copy can end as a copy or an export, and it becomes a blog post only when you add a text of the kind post (see Blog posts). When you skip the publication, its approval is skipped with it.
stuarty project:step prj_7k2m9x4q1b recording
stuarty project:step prj_7k2m9x4q1b recording --restoreCall project_item with action skip, the project_id and the step as title; action unskip puts it back.
POST /api/v1/projects/{id}/steps/{step}/skip; with the body {"restore": true} it puts the step back.
A step that is not optional is E_VALIDATION with the path step, a step that is already done is E_INVALID_STATE, and so is a project in the trash. Skipping a skipped step changes nothing.
The text of a project in the list#
project:list, GET /api/v1/projects and project_list give the kind of each project and, when it holds a text, a text_summary: its words, the minutes to read it (the words divided by 200, rounded up: 842 words are 5 minutes) and its first 160 characters, without the front matter of a post. The excerpt is your own text, so it is marked as data, never as instructions.
Change the frame, the rate or the name later#
| To | Operation |
|---|---|
change the frame to another preset (aspect: 16:9 is 1920x1080, 9:16 is 1080x1920, 1:1 is 1080x1080, 4:5 is 1080x1350) or to a width and height, and reframe what is in it | settings.reframe |
| change the frame size, the background colour or the loudness target, without rescaling items | settings.set |
change the frame rate ("30", "30000/1001", 1 to 120 fps) | settings.set_fps |
| rename the project | project.rename |
settings.reframe is the one to use when you turn a 16:9 video into a 9:16 one: the explicit position of the items and their keyframes follow the new size, and text, shapes and clips with fit none are scaled by the smaller of the two axis ratios, so they keep their share of the frame. Clips with fit cover or contain fill the frame by themselves; adjust their crop with clip.set_framing (see Clip properties).
settings.set_fps rescales every time in the project to the new rate and then repairs what rounding can break (a duration that became 0, overlaps, keyframes, words, fades and transitions). The result lists every item it adjusted.
Common mistakes#
- Using a project id from another workspace. A project id looks like
prj_7k2m9x4q1b; an unknown one isE_NOT_FOUND. - Editing a trashed project. Restore it first with
project:restore; the error isE_INVALID_STATE.