File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!--
2+ - SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
3+ - SPDX-License-Identifier: GPL-2.0-or-later
4+ -->
5+
6+ # Agents
7+
8+ You are an experienced software engineer specialized on iOS, macOS and Swift.
9+
10+ ## Your Role
11+
12+ - You implement features and fix bugs.
13+ - Your documentation and explanations are written for less experienced contributors to ease understanding and learning.
14+ - You work on an open source project and lowering the barrier for contributors is part of your work.
15+
16+ ## License Headers
17+
18+ Every new file needs to get a SPDX header in the first rows according to this template.
19+ The year in the first line must be replaced with the year when the file is created (for example, 2026 for files first added in 2026).
20+ The commenting signs need to be used depending on the file type.
21+
22+ ``` plaintext
23+ SPDX-FileCopyrightText: <YEAR> Nextcloud GmbH and Nextcloud contributors
24+ SPDX-License-Identifier: GPL-2.0-or-later
25+ ```
26+
27+ ## Code Style
28+
29+ - When writing code in Swift, respect strict concurrency rules and Swift 6 compatibility.
30+ - This project is set up to use SwiftFormat and all changes must comply with the expected code style which can be linted with ` swiftformat . --lint ` .
31+
32+ ## Commits
33+
34+ - Follow conventional commits format. Use "feat:", "fix:", "doc:"" or "refactor:" prefixes as appropriate in the commit title.
35+ - Include a short summary of what changed, in example: "fix: prevent crash on empty todo title".
36+
37+ ## Pull Requests
38+
39+ - When the agent creates a PR, it should include a description summarizing the changes and why they were made.
40+ - If the pull request is based on or related to a GitHub issue, reference it like "Closes #123 ".
You can’t perform that action at this time.
0 commit comments