skein_project_create
Create a new project. The calling user becomes the initial owner. idPrefix is the per-project token used to namespace issue ids (e.g. "demo" gives ids like "demo-42"); when omitted it's auto-derived from the name. defaultIdMode selects the id-generation strategy for issues (counter|hash|custom; default counter). Optional aliases and gitRepos are inserted atomically with the project — a collision (alias already taken, name/id_prefix already taken) rolls back the whole create. The project goes into a space: space names it (a short id from skein_whoami); when omitted, the one space you can create projects in is used; if there are several, the call is refused with space_required listing them. A space you can see only as the instance admin is refused with not_space_member: add yourself as a member first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "skein_project_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name (1..200 chars after trim). | |
| space | No | Short id of the space (skein_whoami lists your spaces). Omit when you can create projects in exactly one space. | |
| aliases | No | Project aliases (each 1..64 unicode word/hyphen/underscore). Each is unique across projects — a collision rolls back the create. | |
| gitRepos | No | Git repositories the project owns. Each entry has {name, url, defaultBranch}. Their ids are server-generated. | |
| idPrefix | No | Per-project id prefix (lowercase, [a-z0-9][a-z0-9_-]{0,49}). Auto-derived from name when omitted. | |
| visibility | No | Who sees the project: "space" — every member of the space; "members" — only its members and the space owner. Omitted: the installation default; always members in a personal space. | |
| description | No | Free-form project description (markdown). | |
| defaultIdMode | No | Id-generation mode for issues. Default: counter. | counter |