Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions skill-evals/cases/create-message-diagram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
task: Post a message titled "Release flow" in project 55555 with a diagram showing that a release goes from merge to CI to staging to production
tags: [domain, create]
accept:
- 'message(s create)? .*Release flow'
- '--(in|project) 55555'
- '```mermaid'
Comment thread
lewispb marked this conversation as resolved.
Resolved
- '(?mi)merge.*?ci.*?staging.*?production'
reject:
- '--subject'
- '--body'
- '--content'
18 changes: 18 additions & 0 deletions skills/basecamp/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,24 @@ A pipe is never consumed implicitly. Only one input may read stdin in an
invocation. Do not use shell-specific ANSI-C quoting such as `$'line 1\nline 2'`
in portable commands.

Rich-text fields support [Mermaid](https://mermaid.js.org) diagrams. Put the
source in a fenced code block with the language `mermaid`, and Basecamp shows
the diagram to people reading the post. Previews, emails, and exports show the
source, and so does a post whose source does not parse. Use a diagram for a
flow, sequence, timeline, or structure that is easier to follow as a picture
than as prose. Diagram source spans several lines, so pass it on stdin:

````bash
basecamp messages create "Release flow" - --in "<project>" --json <<'EOF'
How a release reaches production:

```mermaid
flowchart LR
Merge --> CI --> Staging --> Production
```
EOF
````

For deterministic mentions, prefer the machine-provided mention syntax from
people or comment results, for example `[@Name](mention:SGID)`. Mention support
varies by field; leaf help is authoritative.
Expand Down
Loading