Skip to content

Work on the library

Contributions

Ideas, bug fixes, and small, focused improvements are welcome. For larger features, architectural changes, or major rewrites, please open an issue to discuss the approach before investing in a pull request. I may prefer to work through those changes myself as part of understanding and shaping the design.

AI-assisted contributions are welcome. Please keep pull request descriptions short and in plain language: explain the problem, your solution, and how you checked it. For larger changes in particular, understand the proposed implementation and be ready to discuss the design and trade-offs.

Set up the environment

Install the repository's development environment from its root:

uv sync --all-groups --extra dialog-handlers

Use the public API at the boundary between connection management and operations. Keep Archicad domain logic independent of UI frameworks. Check the current utility contracts before extending them. Follow the utility design conventions when adding helpers or result containers.

Check a change

Run the relevant existing tests for the changed behavior. The routine CI command is shown in the test workflow:

uv run pytest --cov=src/multiconn_archicad --cov-report=xml

Use focused test paths during development. Generated/code-generation suites can need separate attention; see the code-generation brief for the current checks. A mocked test pass is not evidence that a command works against every Archicad version.

Skills and workflows

The repository's agent workflows live in .agents/skills/. Each SKILL.md explains its scope and steps; they are not a checklist for every contribution.

Skill Use it for
multiconn-documentation Maintaining guides, examples, writing/diagram conventions, and reviewing changes since the last documentation checkpoint.
multiconn-codegen Auditing generated output, regenerating clients, or updating the pinned Tapir version. Invoke it explicitly.
multiconn-upstream-patches Reviewing local schema fixes against Tapir source and preparing upstream refinements.
prepare-github-release Preparing a version bump, release notes, and a GitHub draft. It invokes the documentation review first.

See code generation for the generation overview and source reports. Generated-file edits belong in the schema or generator, followed by regeneration.

Tool-specific instructions stay beside their tools, including the stress-test runner and request-compatibility smoke suite. Treat dated results in those documents as historical evidence, not current test totals.