# complex-logic-documentation > When implementing complex algorithms, mathematical formulas, or intricate business rules, add com... Use when documenting code and APIs. Documentation category skill. - Author: OmniaffixDave - Repository: OmniaffixDave/SessionGuardian - Version: 20260205125233 - Stars: 0 - Forks: 1 - Last Updated: 2026-02-08 - Source: https://github.com/OmniaffixDave/SessionGuardian - Web: https://mule.run/skillshub/@@OmniaffixDave/SessionGuardian~complex-logic-documentation:20260205125233 --- --- name: complex-logic-documentation description: When implementing complex algorithms, mathematical formulas, or intricate business rules, add com... Use when documenting code and APIs. Documentation category skill. metadata: category: Documentation priority: medium is-built-in: true session-guardian-id: builtin_complex_logic_docs --- # Complex Logic Documentation When implementing complex algorithms, mathematical formulas, or intricate business rules, add comments explaining the approach. Reference external sources (papers, specifications, tickets) when applicable. Break complex algorithms into labeled steps. For business rules, document the requirements they implement. This helps future maintainers understand and safely modify the code.