docs: add CLAUDE.md for AI-assisted development - #34
Conversation
Documents the build-orchestration super-repo: submodule init step, the Docker Bake pipeline/DAG, build commands, branding/version variables, and key footguns (Nextcloud-only provider, per-submodule Dockerfiles, submodule SHA pinning). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Jan Richter <jan.richter@strato.de>
c9ff199 to
4ea5e0b
Compare
|
Call it AGENTS.md. It will work with Claude (it looks for AGENTS if it doesn't find CLAUDE) and also Codex, Windsurf, Cursor, Aider, and Copilot. I guess the only one that doesn't read it automatically may be Antigravity, but you can solve this by mentioning it with @AGENTS.md in any prompt in each chat (preferably the first one). |
|
Hi, would this not conflict with #16 since Flathub has a very strict no generative AI/LLM assisted software policy? |
|
@errant253 I think the policy is mostly for slop(vibe coded) apps, not well maintained apps. https://github.com/flathub-infra/documentation/blob/main/docs/02-for-app-authors/02-requirements.md#generative-ai-policy contains the following line:
However, Euro-Office is very new, so the exception mostly likely would not be granted. So I would suggest to avoid using AI in order to keep the software on flathub or, if it's a must, then the Euro-Office team could create it's own flatpak repo with it's own rules. P.S: this is not a flathub only issue, various stores are implementing this in order to exclude low quality and poorly maintained apps. |
|
@tuxPT Euro-Office is a substantial project. Using AI for development assistance does not make the output "slop." If Flathub's policies are too rigid to recognize the difference between well-maintained code and low-effort generation, we may need to look at alternative distribution methods. I respect the need to filter out irrelevant or low-quality submissions, but a strict ban on AI assistance is counterproductive for the open-source community. Closed-source organizations are rapidly adopting AI to accelerate development, which only widens the gap between well-funded proprietary software and open-source alternatives. AI tools are the economics that will turn the tide in our favor. They level the playing field, allowing open-source maintainers to match or exceed the output of closed-source teams. Stores and repositories that fail to adapt to this shift will eventually struggle to host the most competitive and innovative software. |
|
It's worth mentioning that Flathub is not the be-all-end-all of Flatpak distribution, numerous orgs host their own Flatpak repositories (such as KDE, ElementaryOS, and GNOME), Euro-Office could very easily host a .flatpakrepo and provide a one-line command for users to add the repository and install. It may be prudent to get in contact with Flathub first to see if Euro-Office would be granted an exemption, and then decide based on the response. |
|
This is my CLAUDE.md (AGENTS.md). It may be helpful to add: |
Adds a CLAUDE.md at the repo root to orient Claude Code / AI assistants working in this super-repo.
Why: the repo is a build-orchestration meta-repo whose source lives in 9 submodules (uninitialized on a bare checkout). The file captures the non-obvious bits that require reading multiple files to grasp:
git submodule update --init --recursive)cd build && docker buildx bakecommandsNo code or build behavior changes — documentation only.
🤖 Generated with Claude Code