PureXML/docs/rules
…
..
code-style.md
commits.md
concurrency.md
cross-platform.md
dependency-injection.md
documentation.md
engineering.md
file-naming.md
folder-grouping.md
git-discipline.md
mermaid.md
namespacing.md
package-architecture.md
package-structure.md
README.md
shared-protocols.md
systematic-debugging.md
testing-discipline.md
testing.md
verification.md

PureXML Rules

Load these rules before changing code:

  • code-style.md
  • namespacing.md
  • cross-platform.md
  • testing.md
  • verification.md
  • commits.md

Project-specific overrides:

  • PureXML uses a root Package.swift.
  • Sources live directly under Sources.
  • Tests live in Tests (test target PureXMLTests).
  • Package.swift must keep dependencies: [].
  • Public API must live under the PureXML namespace tree.
  • The package must build on macOS, Linux, Windows, and WASI.

The broader rule files are retained for detailed guidance. When they include generic examples, apply the PureXML-specific overrides above.