|
| 1 | +# Acadify Solution — Engineering Standards & Practices |
| 2 | + |
| 3 | +Welcome to the **Acadify Solution Engineering Standards** repository. This centralized resource defines our internal engineering policies, code quality guidelines, and compliance requirements. |
| 4 | + |
| 5 | +As a distributed team of senior developers building high-reliability AI systems, secure cloud architectures, and scalable SaaS platforms, we hold ourselves to rigorous development standards. Adhering to these guidelines ensures our code is secure, scalable, maintainable, and aligned with industry compliance standards (including HIPAA and SOC2). |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## 🗺️ Standards Navigation |
| 10 | + |
| 11 | +Our development practices are structured into four main areas: |
| 12 | + |
| 13 | +| Standards Document | Key Topics Covered | |
| 14 | +| :--- | :--- | |
| 15 | +| 🌿 **[Branching & Git Guidelines](standards/branching-git.md)** | Branching models (Trunk-Based / Git Flow), Branch Protection policies, and Conventional Commits. | |
| 16 | +| 🛡️ **[Coding & Security Practices](standards/coding-practices.md)** | AI/LLM safety, PII Masking, HIPAA/SOC2 design rules, SaaS patterns, and static analysis benchmarks. | |
| 17 | +| 👥 **[Peer Reviews & PR Guidelines](standards/peer-reviews.md)** | PR criteria, Author self-audits, Reviewer responsibilities, and PR templates. | |
| 18 | +| 🚀 **[Release & Versioning](standards/release-management.md)** | Semantic Versioning (SemVer), release checklists, changelog management, and hotfix paths. | |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +## 🛠️ Automated Quality & Tooling |
| 23 | + |
| 24 | +To minimize manual overhead and maintain a consistent baseline, we enforce automatic linting and code styles across all repositories via git hooks and CI checkups. |
| 25 | + |
| 26 | +### Local Environment Setup |
| 27 | + |
| 28 | +When you clone any Acadify repository (including this standards repo), follow these steps to initialize the automated quality tools: |
| 29 | + |
| 30 | +#### Prerequisites |
| 31 | + |
| 32 | +* Node.js (LTS version 20+) |
| 33 | +* pnpm / npm / yarn (We recommend `npm` or `pnpm` depending on repository configurations) |
| 34 | + |
| 35 | +#### Step 1: Install Dependencies |
| 36 | + |
| 37 | +This project uses DevDependencies to lint documentation files using `markdownlint-cli` and manage git hooks using `husky`. |
| 38 | + |
| 39 | +```bash |
| 40 | +npm install |
| 41 | +``` |
| 42 | + |
| 43 | +#### Step 2: Enable Git Hooks (Husky) |
| 44 | + |
| 45 | +Husky will automatically configure hook directories based on the `"prepare"` script in `package.json`. If it does not run, you can initialize it manually: |
| 46 | + |
| 47 | +```bash |
| 48 | +npx husky |
| 49 | +``` |
| 50 | + |
| 51 | +### Formatting and Linting Checks |
| 52 | + |
| 53 | +#### Manual Check |
| 54 | + |
| 55 | +You can run the markdown lint checks on demand: |
| 56 | + |
| 57 | +```bash |
| 58 | +# Run lint check |
| 59 | +npm run lint |
| 60 | + |
| 61 | +# Auto-fix fixable markdown format issues |
| 62 | +npm run lint:fix |
| 63 | +``` |
| 64 | + |
| 65 | +#### Commit-time Hooks |
| 66 | + |
| 67 | +Husky prevents malformed documentation commits by automatically running `markdownlint` before your commit goes through. If linting fails, resolve the errors indicated in the command-line output and re-run your `git commit` command. |
| 68 | + |
| 69 | +#### Continuous Integration (CI) |
| 70 | + |
| 71 | +A GitHub Actions workflow (`.github/workflows/lint.yml`) runs on every pull request targeting `main`. PRs cannot be merged if the linting checks fail. |
| 72 | + |
| 73 | +--- |
| 74 | + |
| 75 | +## 🤝 Contribution Guidelines |
| 76 | + |
| 77 | +We treat our standards as living documentation. If you spot a gap, outdated practice, or have an optimization proposal: |
| 78 | + |
| 79 | +1. Create a branch named `refactor/standards-update-<topic>`. |
| 80 | +2. Propose the standard updates and verify they comply with the markdown linting rules. |
| 81 | +3. Open a Pull Request and assign it to the engineering leads for review. |
| 82 | + |
| 83 | +--- |
| 84 | + |
| 85 | +© 2026 Acadify Solution. All rights reserved. Distributed engineering partner. |
0 commit comments