---
name: publish-to-blogger
description: Converts a markdown artifact into a clean HTML format suitable for publishing on Blogger.com, injecting the mandatory Human-AI Synergy Statement and Repository Links.
topics: [blogger, html, publish, markdown, blog]
okf_version: 0.1
---

# ✍️ Publish to Blogger Skill

## When to use this skill
Trigger this skill whenever the user asks to "prepare a blog post", "publish to blog", or format content for Blogger.com / linuxmalaysia.com.

## Instructions
1. **Locate Target Document:** Identify the `.md` document or analysis the user wants to publish.
2. **Update Source Document (If Applicable):** Ensure the source `.md` document natively contains the "Open Source Repositories & Documentation" section with GitHub, GitLab, and GitHub Pages links just above the DSOM signature. If it does not, add it before proceeding to HTML conversion.
3. **Convert to HTML:** Convert the markdown into standard, clean, semantic HTML (`<h2>`, `<p>`, `<ul>`, etc.). Do not apply heavy inline CSS, as the Blogger theme will handle presentation. Wrap the entire post in `<div class="dsom-post">`.
4. **Inject the Collaboration Note (TOP):** At the very beginning of the post, insert the following blockquote exactly:
   ```html
   <blockquote style="border-left: 4px solid #4a90e2; padding-left: 15px; margin-bottom: 25px; background-color: #f9f9f9; padding: 15px 20px; font-style: italic; border-radius: 4px;">
       <strong>Collaboration Note:</strong> The following architecture and framework is a testament to true human-AI synergy. The core concepts, sovereign philosophy, and strict operational boundaries were <strong>conceived by human intelligence</strong>. The synthesis, documentation, and structural formatting were <strong>generated by AI</strong> acting as a Cognitive Twin. Finally, every protocol and rule was rigorously audited, tested, and <strong>verified by the human operator</strong>. This is not just AI-generated content; it is a meticulously crafted human-AI partnership.
   </blockquote>
   ```
5. **Inject Repository Links (BOTTOM):** At the end of the post, immediately before the signature, insert the open-source repository links (if they aren't already cleanly parsed from the markdown):
   ```html
   <div style="background-color: #f1f8ff; padding: 15px; border-radius: 5px; margin-bottom: 20px; border: 1px solid #c8e1ff;">
       <h4 style="margin-top: 0;">🔗 Open Source Repositories & Documentation</h4>
       <p style="margin-bottom: 0;">Explore the full Deep State of Mind (DSOM) framework and Sovereign Palace architecture at:</p>
       <ul style="margin-bottom: 0;">
           <li><strong>GitHub:</strong> <a href="https://github.com/linuxmalaysia/deep-state-of-mind-for-my-ai" target="_blank">linuxmalaysia/deep-state-of-mind-for-my-ai</a></li>
           <li><strong>GitLab:</strong> <a href="https://gitlab.com/linuxmalaysia/deep-state-of-mind-for-my-ai" target="_blank">linuxmalaysia/deep-state-of-mind-for-my-ai</a></li>
           <li><strong>GitHub Pages:</strong> <a href="https://linuxmalaysia.github.io/deep-state-of-mind-for-my-ai/" target="_blank">DSOM Protocol Documentation</a></li>
       </ul>
   </div>
   ```
6. **Output Delivery:** Output the fully assembled HTML string inside a standard markdown code block in the chat, so the user can easily copy and paste it into the Blogger HTML view.

---
*Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-07-16*
*Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0*
