Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Macareux Digital Coding Standards

This handbook is the shared reference for how we build, review, test, secure, and release software at Macareux Digital. It is written for the people who use it every day: engineers, code reviewers, QA engineers, project leads, and AI coding agents.

Draft notice: This revision adds the Frontend, API Design, Testing and QA, AI-Assisted Development, and Documentation Guidelines sections, and restructures the Git and review guidance. These additions are pending team review. Until the team approves them, treat them as working guidance and raise questions during review.

How to use this handbook

  • Start with the Quick Reference for daily checks.
  • Open the detailed page for your task when you need more depth.
  • Each page explains what to do and, where it matters, why.
Page Use it when you are
PHP / Concrete CMS Writing or changing PHP code, packages, blocks, or single pages
Frontend Building Vue.js, JavaScript, or Tailwind CSS interfaces
API Design Designing or changing a JSON or HTTP API
Git Workflow Creating branches, pull requests, releases, or hotfixes
Code Review Requesting or giving a review
Testing and QA Deciding what to test, handing off to QA, or verifying a release
Security Handling input, output, uploads, secrets, or deployment
AI-Assisted Development Using Cursor, Junie, Claude Code, Codex, or similar tools
Documentation Guidelines Writing a README, changelog, API doc, or setup guide

Requirement levels

  • Must means the rule applies to every project unless the project documents an exception.
  • Should means the rule is the default. Deviate only with a reason you can explain in the pull request.
  • Can means an option you may use when it helps.

Project rules take precedence for project details

Each project may define details such as its branching model, deployment steps, supported PHP version, or test commands. Those details belong in the project's own README.md, CONTRIBUTING.md, or AGENTS.md. Where a project rule conflicts with this handbook, the project rule applies for that project, and the difference should be stated in its README.

Glossary

Use these terms consistently in tickets, pull requests, and reviews.

English Japanese Meaning
Backlog issue Backlog の課題 The task or defect tracked in Backlog, identified by a key such as PROJ-123
Pull request (PR) プルリクエスト A request to merge a branch into another branch, reviewed before merge
Code review コードレビュー Review of a change by one or more people before it is merged
Blocking comment ブロッキングコメント A comment that must be resolved before merge
Non-blocking comment 非ブロッキングコメント A suggestion that the author may decide on
Self-testing セルフテスト Testing your own change in a development environment before review
QA handoff QA への引き渡し Information given to QA so they can test a change without guessing
Staging ステージング A production-like environment used for final verification
Release リリース A version prepared for production, usually tagged
Hotfix ホットフィックス An urgent fix applied to production
Rollback ロールバック Returning production to a previous known-good version
Regression リグレッション A previously working behavior that breaks after a change

Contributors