Das alpha-Box-Format
Ihr Assistent geht ein Projekt oder eine Linkliste durch und schreibt eine Box im alpha-Format. Sie fügen sie hier ein: Sie landet mit einem Schritt auf Ihrer Übersicht.
Das Format in zehn Zeilen
- Eine alpha-Box ist ein kurzer Text in YAML oder JSON: beide sind gleichwertig.
- Er beginnt mit
alpha: 1, dem Namen des Formats und seiner Version. page(optional) benennt die Seite, auf der die Boxen landen.boxesist die Liste der Boxen.- Jede Box hat einen
title, eine optionalecolorund ihrelinks. - Jeder Link hat eine
url(http oder https) und einen kurzentitle. note(optional) gibt dem Link einen hilfreichen Satz mit.linksin einem Link enthält seine Unterlinks, nur eine Ebene.- Farben: gray, green, blue, purple, orange.
- Keine Geheimnisse in Adressen, höchstens 500 Links pro Import.
Ein vollständiges Beispiel
alpha: 1
page: Orion project
boxes:
- title: Code
color: blue
links:
- title: Repository
url: https://github.com/example/orion
links:
- title: Issues
url: https://github.com/example/orion/issues
- title: Pull requests
url: https://github.com/example/orion/pulls
- title: Continuous integration
url: https://github.com/example/orion/actions
note: Tests and deployment on every merge
- title: Environments
color: green
links:
- title: Production
url: https://orion.example.com
- title: Staging
url: https://staging.orion.example.com
- title: Documentation
links:
- title: Guide
url: https://docs.orion.example.com
- title: API
url: https://docs.orion.example.com/api
{
"alpha": 1,
"page": "Orion project",
"boxes": [
{
"title": "Code",
"color": "blue",
"links": [
{
"title": "Repository",
"url": "https://github.com/example/orion",
"links": [
{
"title": "Issues",
"url": "https://github.com/example/orion/issues"
},
{
"title": "Pull requests",
"url": "https://github.com/example/orion/pulls"
}
]
},
{
"title": "Continuous integration",
"url": "https://github.com/example/orion/actions",
"note": "Tests and deployment on every merge"
}
]
},
{
"title": "Environments",
"color": "green",
"links": [
{
"title": "Production",
"url": "https://orion.example.com"
},
{
"title": "Staging",
"url": "https://staging.orion.example.com"
}
]
},
{
"title": "Documentation",
"links": [
{
"title": "Guide",
"url": "https://docs.orion.example.com"
},
{
"title": "API",
"url": "https://docs.orion.example.com/api"
}
]
}
]
}
Der fertige Prompt
Für Claude Code, Mistral (Le Chat), ChatGPT oder Cursor. In einem Assistenten, der Ihre Dateien sieht, geht er das Projekt durch. Sonst fügen Sie Ihre Linkliste am Ende des Prompts ein.
Produis une boîte de liens au format alpha, version 1, pour l'importer dans alpha (https://glerp.ca/alpha/format).
Source :
- Si tu as accès aux fichiers de ce projet, parcours-le : README, documentation, fichiers de configuration (package.json, composer.json, pyproject.toml, Cargo.toml, go.mod), intégration continue, déploiement, adresse du dépôt git, liens écrits dans le code et dans la documentation.
- Sinon, utilise seulement la liste de liens que je colle à la fin de ce message.
Règles :
1. Seulement des adresses réelles, trouvées dans le projet ou dans ma liste. N'invente rien : aucune adresse devinée, aucun chemin complété au hasard.
2. Seulement des adresses http ou https.
3. Aucun secret : pas de jeton, de clé, de mot de passe ni d'identifiant dans une adresse. Retire les paramètres token=, key=, password= et semblables ; laisse de côté toute adresse de la forme utilisateur:motdepasse@site et toute adresse de webhook.
4. Des titres courts : 40 caractères au plus, clairs, dans la langue du projet.
5. Range les liens en quelques boîtes par usage, par exemple Code, Documentation, Environnements, Tableaux de bord, Outils. Pas de boîte vide.
6. Un service qui a plusieurs pages utiles (dépôt, tickets, demandes de fusion) : un lien principal et ses sous-liens, sur un seul niveau.
7. Une note d'une phrase seulement si elle aide à choisir le bon lien.
8. 500 liens au plus.
Sortie : uniquement un bloc de code yaml, sans texte avant ni après, qui commence par alpha: 1. Structure :
alpha: 1
page: Nom du projet
boxes:
- title: Code
color: blue
links:
- title: Dépôt
url: https://example.com/organisation/projet
links:
- title: Tickets
url: https://example.com/organisation/projet/issues
- title: Intégration continue
url: https://example.com/organisation/projet/actions
note: Tests et déploiement à chaque fusion
Couleurs permises : gray, green, blue, purple, orange.
Schéma JSON : https://glerp.ca/alpha/format/boite-v1.schema.json
Ma liste de liens (vide si tu parcours le projet) :
Produce a box of links in the alpha format, version 1, to import into alpha (https://glerp.ca/alpha/format).
Source:
- If you can access this project's files, go through it: README, documentation, configuration files (package.json, composer.json, pyproject.toml, Cargo.toml, go.mod), continuous integration, deployment, the git repository address, links written in the code and in the documentation.
- Otherwise, use only the list of links I paste at the end of this message.
Rules:
1. Real addresses only, found in the project or in my list. Invent nothing: no guessed address, no path completed at random.
2. http or https addresses only.
3. No secrets: no token, key, password or credentials in any address. Remove token=, key=, password= and similar parameters; leave out any address of the form user:password@site and any webhook address.
4. Short titles: 40 characters at most, clear, in the project's language.
5. Sort the links into a few boxes by purpose, for example Code, Documentation, Environments, Dashboards, Tools. No empty box.
6. A service with several useful pages (repository, issues, pull requests): one main link and its sub-links, one level only.
7. A one-sentence note only when it helps pick the right link.
8. 500 links at most.
Output: only a yaml code block, with no text before or after, starting with alpha: 1. Structure:
alpha: 1
page: Project name
boxes:
- title: Code
color: blue
links:
- title: Repository
url: https://example.com/organization/project
links:
- title: Issues
url: https://example.com/organization/project/issues
- title: Continuous integration
url: https://example.com/organization/project/actions
note: Tests and deployment on every merge
Allowed colors: gray, green, blue, purple, orange.
JSON schema: https://glerp.ca/alpha/format/boite-v1.schema.json
My list of links (empty if you go through the project):
Die erhaltene Box importieren
Fügen Sie die Antwort des Assistenten ein oder legen Sie die Datei ab. Sie sehen eine Vorschau, bevor Sie bestätigen.
Spezifikation, Version 1
| Feld | Typ | Zweck |
|---|---|---|
alpha |
Zahl, Pflicht | Formatversion: 1. |
page |
Text, optional | Vorgeschlagener Seitenname (höchstens 190 Zeichen). |
boxes |
Liste, Pflicht | Die Boxen, höchstens 50. |
boxes[].title |
Text, Pflicht | Titel der Box (höchstens 190 Zeichen). |
boxes[].color |
Text, optional | gray, green, blue, purple oder orange. |
boxes[].links |
Liste, optional | Die Links der Box. |
links[].url |
Text, Pflicht | http- oder https-Adresse (höchstens 2000 Zeichen). |
links[].title |
Text, optional | Kurzer Titel; sonst der Name der Website. |
links[].note |
Text, optional | Ein hilfreicher Satz (höchstens 500 Zeichen). |
links[].color |
Text, optional | Farbe des Links. |
links[].links |
Liste, optional | Unterlinks, gleiche Form, nur eine Ebene. |
Was der Import prüft
- Nur http- und https-Adressen kommen hinein.
- Eine Adresse mit einem offensichtlichen Geheimnis wird mit Begründung abgelehnt: Parameter wie token=, key=, password=, Zugangsdaten vor dem Namen der Website, erkennbare Zugriffsschlüssel. Die übrigen Links werden importiert.
- Höchstens 500 Links pro Import, 50 Boxen, 512 KB Text; zu lange Titel werden gekürzt.
- Die Adressen werden nach dem Import im Hintergrund geprüft, ohne zu blockieren.
- Ein unbekannter Schlüssel wird ignoriert und gemeldet; ein Syntaxfehler wird mit seiner Zeilennummer angezeigt.
YAML oder JSON?
Beides, nach Wahl. YAML lässt sich ohne Kommas und Klammern von Hand lesen und schreiben, und Assistenten machen damit weniger Fehler: Es ist die empfohlene Form. JSON eignet sich für Werkzeuge. Beide beschreiben genau dasselbe, und dasselbe JSON-Schema gilt für beide. alpha liest einfaches YAML in Blockform: Schlüssel, Listen mit Bindestrich, Text mit oder ohne Anführungszeichen, Kommentare, Blöcke | und >. Anker, Aliase und Tags werden nicht akzeptiert.
JSON-Schema
Das Schema für ein Werkzeug oder einen Assistenten: https://glerp.ca/alpha/format/boite-v1.schema.json
Eine geteilte Box lesen
Jede per öffentlichem Link geteilte Box oder Seite lässt sich auch in diesem Format lesen, nur lesend, unter der Freigabeadresse mit angehängtem .alpha.json. Notizen bleiben privat: Sie erscheinen nur in Ihrem eigenen Export.
GET https://glerp.ca/alpha/p/<token>.alpha.json