<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Workflow on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/workflow/</link><description>Recent content in Workflow on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Sat, 16 May 2026 17:45:02 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/workflow/index.xml" rel="self" type="application/rss+xml"/><item><title>Step-by-Step Vocabulary Extraction Guide</title><link>http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/</guid><description>&lt;h1 id="dictionary-vocabulary-extraction---step-by-step-guide"&gt;Dictionary Vocabulary Extraction - Step-by-Step Guide&lt;/h1&gt;
&lt;h2 id="-important-environment-setup"&gt;🚨 IMPORTANT: Environment Setup&lt;/h2&gt;
&lt;h3 id="for-ai-agents--automated-commands"&gt;For AI Agents / Automated Commands&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Before running any Python-based transcript extraction commands&lt;/strong&gt;, you MUST:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run &lt;code&gt;conda-bash&lt;/code&gt; alias to ensure python commands work in scripts&lt;/li&gt;
&lt;li&gt;Once python profile is read, &lt;code&gt;base&lt;/code&gt; environment will be activated. Now you can run the &lt;code&gt;conda&lt;/code&gt; commands, then you can activate &lt;code&gt;ags-dictionary&lt;/code&gt; environment&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Activate conda bash profile&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/miniconda3/etc/profile.d/conda.sh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Activate the Python environment&lt;/strong&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;conda activate ags-dictionary
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Then run your commands&lt;/strong&gt;:&lt;/p&gt;</description></item><item><title>Workflows</title><link>http://ghafoorsblog.com/docs/dictionary/02-workflows/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/02-workflows/</guid><description>&lt;h1 id="workflows"&gt;Workflows&lt;/h1&gt;
&lt;p&gt;Complete step-by-step processes for extracting and managing vocabulary.&lt;/p&gt;
&lt;h2 id="-documentation-in-this-section"&gt;📖 Documentation in This Section&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/"
 
 &gt;Step-by-Step Guide&lt;/a&gt;&lt;/strong&gt; ⭐ &lt;strong&gt;START HERE&lt;/strong&gt; - Complete 7-step workflow with detailed explanations&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt;&lt;/strong&gt; - Quick command reference&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/copilot-integration/"
 
 &gt;Copilot Integration&lt;/a&gt;&lt;/strong&gt; - Using Copilot for vocabulary extraction&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-main-workflow-video-to-vocabulary"&gt;🎯 Main Workflow: Video to Vocabulary&lt;/h2&gt;
&lt;h3 id="the-7-step-process"&gt;The 7-Step Process&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Extract Transcript&lt;/strong&gt; - Automated YouTube transcript download&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Extract Vocabulary&lt;/strong&gt; - Use Copilot to find challenging words&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Save YAML File&lt;/strong&gt; - Store vocabulary data&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Validate YAML&lt;/strong&gt; - Ensure proper formatting&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create Hugo Page&lt;/strong&gt; - Generate content page&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Test Locally&lt;/strong&gt; - View and verify in browser&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Review &amp;amp; Commit&lt;/strong&gt; - Final check and git commit&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="-quick-start-workflow"&gt;⚡ Quick Start Workflow&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Step 1: Extract transcript&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;./scripts/dictionary/dict-step1-transcript.sh &lt;span class="s2"&gt;&amp;#34;https://youtube.com/watch?v=VIDEO_ID&amp;#34;&lt;/span&gt; topic_name
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Step 2: Use Copilot (manual process - see guide)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Copy transcript and use the Copilot prompt&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;6&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;7&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Step 3-7: Follow the Step-by-Step Guide&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="-different-paths"&gt;📚 Different Paths&lt;/h2&gt;
&lt;h3 id="for-content-creators"&gt;For Content Creators&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/"
 
 &gt;Step-by-Step Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Follow each step in order&lt;/li&gt;
&lt;li&gt;Use &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt; for commands&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="for-developers"&gt;For Developers&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Read &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/step-by-step-guide/"
 
 &gt;Step-by-Step Guide&lt;/a&gt; for overview&lt;/li&gt;
&lt;li&gt;Check &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/copilot-integration/"
 
 &gt;Copilot Integration&lt;/a&gt; for AI setup&lt;/li&gt;
&lt;li&gt;Review &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt; for commands&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="for-automation-users"&gt;For Automation Users&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Refer to &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/quick-reference/"
 
 &gt;Quick Reference&lt;/a&gt; for all commands&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;scripts/dictionary/dict-step1-transcript.sh&lt;/code&gt; for automation&lt;/li&gt;
&lt;li&gt;See &lt;a
 href="http://ghafoorsblog.com/docs/dictionary/02-workflows/copilot-integration/"
 
 &gt;Copilot Integration&lt;/a&gt; for AI setup&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="-related-sections"&gt;🔗 Related Sections&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/01-getting-started/"
 
 &gt;Getting Started&lt;/a&gt; - Setup instructions&lt;/li&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/03-guides/"
 
 &gt;Guides&lt;/a&gt; - Detailed how-to guides&lt;/li&gt;
&lt;li&gt;&lt;a
 href="http://ghafoorsblog.com/docs/dictionary/04-reference/"
 
 &gt;Reference&lt;/a&gt; - Technical reference&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Dictionary Workflow Improvements - Implementation Summary</title><link>http://ghafoorsblog.com/docs/dictionary/04-reference/implementation-notes/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/04-reference/implementation-notes/</guid><description>&lt;h1 id="dictionary-workflow-improvements---summary"&gt;Dictionary Workflow Improvements - Summary&lt;/h1&gt;
&lt;h2 id="-whats-been-done"&gt;✅ What&amp;rsquo;s Been Done&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve analyzed your dictionary system and created a comprehensive automation workflow for extracting vocabulary from videos. Here&amp;rsquo;s what&amp;rsquo;s now available:&lt;/p&gt;
&lt;h3 id="-new-documentation-4-files"&gt;📚 New Documentation (4 files)&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a
 href=".prompts/dictionary/workflow-improvements.md"
 
 &gt;workflow-improvements.md&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Complete analysis of current system&lt;/li&gt;
&lt;li&gt;Proposed multi-stage automation pipeline&lt;/li&gt;
&lt;li&gt;Enhanced data structure with video metadata&lt;/li&gt;
&lt;li&gt;Implementation phases (MVP → Semi-automated → Fully automated)&lt;/li&gt;
&lt;li&gt;LLM integration strategy&lt;/li&gt;
&lt;li&gt;Time savings: From 2-4 hours → 15-30 minutes per video&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a
 href=".prompts/dictionary/video-to-vocab-howto.md"
 
 &gt;video-to-vocab-howto.md&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Dictionary Workflow Improvements - Video to Vocabulary Automation</title><link>http://ghafoorsblog.com/docs/dictionary/04-reference/workflow-analysis/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/dictionary/04-reference/workflow-analysis/</guid><description>&lt;h1 id="dictionary-workflow-improvements"&gt;Dictionary Workflow Improvements&lt;/h1&gt;
&lt;h2 id="-current-state-analysis"&gt;📊 Current State Analysis&lt;/h2&gt;
&lt;h3 id="-strengths"&gt;✅ Strengths&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Well-structured data model&lt;/strong&gt;: YAML format is clean and maintainable&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dual rendering options&lt;/strong&gt;: Accordion and table views work well&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Good separation of concerns&lt;/strong&gt;: Data (YAML) separate from presentation (Hugo shortcodes)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Urdu support&lt;/strong&gt;: Font and RTL text handling is solid&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Documentation&lt;/strong&gt;: Comprehensive guides exist&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="-pain-points"&gt;❌ Pain Points&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Manual vocabulary extraction&lt;/strong&gt;: No automated way to extract words from videos&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Time-consuming data entry&lt;/strong&gt;: Each word requires multiple fields to be filled manually&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No video metadata tracking&lt;/strong&gt;: Source video links not tracked in data structure&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Missing translation support&lt;/strong&gt;: No automated English-to-Urdu translation&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No difficulty assessment&lt;/strong&gt;: Can&amp;rsquo;t automatically identify &amp;ldquo;difficult&amp;rdquo; words&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No batch processing&lt;/strong&gt;: Can&amp;rsquo;t handle multiple videos at once&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="-proposed-improvements"&gt;🎯 Proposed Improvements&lt;/h2&gt;
&lt;h3 id="1-enhanced-data-structure"&gt;1. Enhanced Data Structure&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Update YAML schema to include video metadata:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Agents Revisited</title><link>http://ghafoorsblog.com/courses/ibm/ai-developer-content/ai-developer-pcert/02-introduction-to-ai/05-module/002-agents-revisited/</link><pubDate>Tue, 29 Jul 2025 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/ai-developer-content/ai-developer-pcert/02-introduction-to-ai/05-module/002-agents-revisited/</guid><description>&lt;p class="lead text-primary"&gt;
This document provides a clear, practical overview of AI agents, explaining their core functions, how they differ from general AI, their workflow, and the massive impact they are expected to have on business and daily life. Readers will understand the agent paradigm and its real-world applications.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;AI agents are poised to become as ubiquitous as apps, with the potential for billions of agents operating worldwide. These digital assistants are expected to outnumber people and transform industries by automating tasks and enabling new skills.&lt;/p&gt;</description></item><item><title>Anki Workflow Verification</title><link>http://ghafoorsblog.com/docs/anki/archive/anki_workflow_verification/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/docs/anki/archive/anki_workflow_verification/</guid><description>&lt;h1 id="anki-workflow-verification"&gt;Anki Workflow Verification&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Date:&lt;/strong&gt; 2 May 2026&lt;br&gt;
&lt;strong&gt;Status:&lt;/strong&gt; ✅ Verified and Working&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="current-working-workflow"&gt;Current Working Workflow&lt;/h2&gt;
&lt;h3 id="1-card-creation-manual"&gt;1. Card Creation (Manual)&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;JSON files are &lt;strong&gt;manually created&lt;/strong&gt; in: &lt;code&gt;data/course/{course}/{unit}/{module}/{lesson}/anki/*.json&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Each JSON contains metadata + flashcards array&lt;/li&gt;
&lt;li&gt;Example: &lt;code&gt;data/course/psychology-l2/01/01m/001/anki/01-counselling-skills.json&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="2-card-generation-automatic"&gt;2. Card Generation (Automatic)&lt;/h3&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;JSON File → apkg_generator.py → .apkg Package → Anki Desktop
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Key Scripts:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;✅ &lt;code&gt;apkg_generator.py&lt;/code&gt; - Main generator (reads JSON, creates APKG)&lt;/li&gt;
&lt;li&gt;✅ &lt;code&gt;generate_unit_apkg.py&lt;/code&gt; - Creates unit-level APKG files&lt;/li&gt;
&lt;li&gt;✅ &lt;code&gt;rebuild_all_apkgs.py&lt;/code&gt; - Rebuilds all APKG files&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;NOT Used in Production:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>