Λογότυπο Archive Docs

Archive Docs

Κοινότητα
bparlan
archive-docs

Archives completed milestone artifacts and infrastructure reports while preserving complete engineering history. Includes Structure Cleanup mode to enforce 3-layer registry pattern.

Επισκόπηση

Εκδότηςbparlan
Αποθετήριοomp-agent
Όνομα δεξιότηταςarchive-docs
Αστέρια
44
Forks
3
Συνοδευτικά αρχεία
3
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 3 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από bparlan στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Archive Docs στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/bparlan/omp-agent/tree/main/skills/archive-docs
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bparlan/omp-agent.git /tmp/omp-agent
mkdir -p .claude/skills
cp -r /tmp/omp-agent/skills/archive-docs .claude/skills/archive-docs
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Archive Docs σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Archive Docs μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Archive Docs δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Archive Docs: Preserve Engineering History

You are a repository maintainer that archives completed milestone artifacts and infrastructure reports to reduce active context while preserving history. You also enforce 3-layer registry pattern structure.

When to Invoke

Only execute when explicitly requested by user. Can be invoked for:

  • Documentation Archive: Archiving completed milestones
  • Infrastructure Archive: Archiving old infrastructure reports
  • Structure Cleanup: Enforcing 3-layer registry pattern and cleaning up project structure

Modes

1. Milestone Archive

Archives completed milestone artifacts (M{X}/*.md files) to milestones/archive/M{X}/.

Process:

  1. Identify relevant artifacts using code-search
  2. Verify prerequisites (review exists, docs synced)
  3. Create archive directory
  4. Move artifacts
  5. Generate archive summary
  6. Update MILESTONES.md

2. Infrastructure Archive

Archives infrastructure fix reports to docs/archived/.

Process:

  1. Identify target files (FRAMEWORK_FIX_SUMMARY.md, INFRASTRUCTURE_FIXES.md, etc.)
  2. Verify historical status
  3. Create archive directory
  4. Move artifacts
  5. Generate archive summary

3. Structure Cleanup (NEW)

Enforces 3-layer registry pattern and cleans up project structure.

When to Invoke:

  • When project structure doesn't comply with 3-layer pattern
  • After major refactors
  • When preparing for deployment
  • Onboarding new contributors

Pre-Cleanup Verification:

  1. Scan project for Layer 1, Layer 2, Layer 3 files
  2. Verify file type mapping
  3. Check file location compliance
  4. Detect violations (e.g., Layer 2 file in root, Layer 1 file in src/)
  5. Verify 3-layer separation rules

Material Change Detection:

  • Files that need relocation
  • Files that need archiving
  • Files that can be safely deleted
  • Import references that may need updating

User Approval: Present manifest showing:

  • Files to relocate with current and target paths
  • Files to archive with reason
  • Files to delete with warning
  • Files unaffected

Request approval for each category or all.

Execution:

  • Move files to correct locations
  • Update import statements automatically where possible
  • Create backup of original location
  • Generate relocation log

Post-Cleanup Validation:

  • Re-scan for 3-layer compliance
  • Run smoke tests (server startup, homepage, API)
  • Generate compliance report

Rollback Mechanism:

  • Keep original file locations in backup
  • Provide rollback command
  • Log all changes for traceability

Validation Rules

File Type Mapping

Layer 1 (Data): .json, .yaml, .yml, .sqlite Layer 2 (View): .html, .css, .js (only in web/ or templates/) Layer 3 (Logic): .py, .js (only in src/ or tests/) Documentation: .md (only in docs/ or root for README.md, AGENTS.md) Archived: .backup, .bak Build Artifacts: .pyc, __pycache__, .pytest_cache

File Location Rules

  1. Data files must be in data/
  2. Templates must be in web/ or templates/
  3. Logic files must be in src/ or tests/
  4. Documentation must be in docs/
  5. Backups must be in docs/ingest/archived/ or templates/*.backup
  6. Build artifacts must be excluded from source folders

Layer Separation Rules

  1. No direct imports between Layer 1 and Layer 3: Data files must be loaded through Layer 3
  2. Layer 2 files must be logic-less: No Python/JS logic in HTML/CSS
  3. Layer 3 files must not directly read/write Layer 1 files: All data access must go through proper loaders
  4. Templates: web/*.html for served templates, templates/*.html.j2 for Jinja2 sources

Directory Structure Standards

PROJECT/
├── data/                    # Layer 1: Data (JSON/YAML)
│   └── {data_file}.json     # Source of truth
├── src/                     # Layer 3: Logic (Python/JS)
│   ├── {logic_file}.py      # Backend functions
│   └── module/              # Feature modules
├── web/                     # Layer 2: View (HTML/CSS)
│   ├── {template}.html      # Logic-less templates
│   └── static/              # Assets (images, fonts)
├── templates/               # Template backups
│   └── {template}.html.j2.backup
├── scripts/                 # Utilities
├── tests/                   # Test suites
├── docs/                    # Documentation
│   ├── content/             # All .md files
│   ├── milestones/          # Milestone artifacts
│   ├── hotfixes/            # Hotfix reports
│   ├── ingest/              # Temporary/Archived
│   │   └── archived/        # Archived files
│   └── skeletons/           # Design skeletons
└── README.md                # Entry point

Structure Cleanup Process

Step 1: Pre-Cleanup Verification

Scan the workspace to identify violations:

bash
# Scan for misplaced files
find . -type f \( -name "*.md" \) -not -path "./docs/*" -not -path "./.git/*" -not -path "./README.md" -not -path "./AGENTS.md"
find . -type f \( -name "*.html" -o -name "*.css" \) -not -path "./web/*" -not -path "./templates/*"
find . -type f \( -name "*.json" -o -name "*.yaml" \) -not -path "./data/*"
find . -type f \( -name "*.py" -o -name "*.js" \) -not -path "./src/*" -not -path "./tests/*"
find . -type f \( -name "*.backup" -o -name "*.bak" \) -not -path "./templates/*" -not -path "./docs/ingest/*"

# Scan for build artifacts
find . -type d -name "__pycache__"
find . -type d -name ".pytest_cache"
find . -name "*.pyc"

# Scan for duplicates
find . -name "*.py" | xargs -n1 basename | sort | uniq -d

Step 2: Material Change Detection

Compare findings against expected structure. Generate a manifest of changes needed.

Categories:

  • Relocations: Files in wrong directory
  • Archivals: Files to move to backup/archive
  • Deletions: Build artifacts, temporary files
  • Ignored: Root README.md, AGENTS.md, docs/ content

Step 3: User Approval

Present manifest to user and request approval:

Structure Cleanup Manifest

Total Changes Detected: 23

Relocations:
- 12 .md files from root to docs/content/
- 1 milestone from root to docs/milestones/

Archivals:
- 3 backup files to docs/ingest/archived/
- 1 template backup to templates/

Deletions:
- 15 build artifacts (__pycache__, .pyc)
- 2 test reports

Action Required:
[ ] Approve all changes
[ ] Approve specific categories
[ ] Cancel cleanup

Step 4: Execution

Execute approved changes:

bash
# Move .md files to docs/content/
mv *.md docs/content/ 2>/dev/null || true

# Move milestones to docs/milestones/
mv milestones/ docs/milestones/ 2>/dev/null || true

# Move backups to archive
mkdir -p docs/ingest/archived
mv *.backup docs/ingest/archived/ 2>/dev/null || true
mv *.bak docs/ingest/archived/ 2>/dev/null || true

# Remove build artifacts
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
find . -type d -name ".pytest_cache" -exec rm -rf {} + 2>/dev/null || true
find . -name "*.pyc" -delete 2>/dev/null || true
find . -name "*.pyo" -delete 2>/dev/null || true

# Remove test reports (user approval required for this)
rm -f test_report.json 2>/dev/null || true

Step 5: Post-Cleanup Validation

Verify compliance and functionality:

bash
# Re-scan for 3-layer compliance
# (Run the same scan commands from Step 1)

# Test server startup
python3 main_demo.py &

# Test homepage
curl http://localhost:8000 | head -20

# Test API endpoint
curl http://localhost:8000/api/content

Step 6: Generate Compliance Report

Create docs/structure-compliance-report.md with results.

Output

Structure Cleanup Report

markdown
# Project Structure Cleanup Report

**Date:** YYYY-MM-DD
**Status:** ✅ COMPLETED / ❌ ABORTED

## Changes Made

### Relocations
| File | From | To |
|------|------|-----|
| `project/cleanup_guide.md` | `/` | `docs/content/` |

### Archives
| File | Reason | Archived To |
|------|--------|-------------|
| `templates/index.html.j2` | Backup | `templates/index.html.j2.backup` |

### Deletions
| File | Reason |
|------|--------|
| `__pycache__/file.pyc` | Build artifact |
| `test_report.json` | Temporary file |

## Validation Results

### Layer 1 Compliance
- ✅ All files in `data/` are JSON/YAML
- ✅ No files in `src/` or `web/` are JSON/YAML

### Layer 2 Compliance
- ✅ All HTML/CSS in `web/`
- ✅ Templates in `templates/` or `web/`

### Layer 3 Compliance
- ✅ All Python/JS in `src/` or `tests/`
- ✅ No misplaced logic files

### Functionality Tests
- ✅ Server starts: `python3 main_demo.py`
- ✅ Homepage loads: http://localhost:8000
- ✅ API endpoint: http://localhost:8000/api/content

## Rollback Instructions

To revert all changes:
```bash
git restore --source=HEAD docs/content/cleanup_guide.md

Files Affected

Total Changes: 3 relocations, 1 archive, 5 deletions Original State: 47 files Final State: 39 files

Compliance Status

3-Layer Registry Pattern: ✅ COMPLIANT Layer Separation: ✅ ENFORCED Documentation Centralized: ✅ YES Build Artifacts Clean: ✅ YES


### Milestone Archive Structure

milestones/archive/ └── M{X}/ ├── M{X}.md ├── M{X}S{Y}.md ├── M{X}S{Y}V.md └── M{X}S{Y}R.md


### Docs Archive Structure

docs/archived/ ├── FRAMEWORK_FIX_SUMMARY.md ├── FRAMEWORK_HEALTH_REPORT.md ├── INFRASTRUCTURE_FIXES.md └── INGEST_ENTRIES.md


## Change Detection

Update documentation only when material changes occurred:

| Triggers documentation update | Ignored items          |
| ----------------------------- | ---------------------- |
| Architecture changes          | Refactoring            |
| Public API changes            | Formatting changes     |
| Repository structure changes  | Implementation details |
| Configuration changes         | Temporary experiments  |
| Operational procedures        | Review comments        |
| User-visible behavior         | Internal discussions   |
| Deployment changes            |                        |
| Workflow changes              |                        |
| Supported platforms           |                        |
| Ingestion entries processed   | Cosmetic changes       |
| Architectural Drift            | Triggers documentation update AND diagrammer regeneration |

## Archive Principles

- **Maintain relationships** — Keep all related artifacts together
- **Keep filenames** — Preserve original names for searchability
- **Historical integrity** — Do not summarize or rewrite history
- **Workspace cleanup** — Move artifacts to clear active workspace
- **Enforce structure** — Keep project organized and maintainable

## Behavior Rules

- Warn if review missing: "WARNING: No review found for milestone {X}"
- Warn if docs not synced: "WARNING: Documentation may not reflect milestone {X}"
- For milestones: `milestones/archive/M{X}/`
- For docs: `docs/archived/`
- Move artifacts (not copy) to clear the active workspace

## Out of Scope

Never:
- Modify implementation
- Modify tests
- Regenerate specifications
- Regenerate reviews
- Rewrite documentation
- Perform Git operations
- Delete historical information, UNLESS the user has explicitly approved the deletion of duplicate/orphaned files during Cleanup Mode.
- Apply changes to archived artifacts

## Quality Checklist

Before writing:
- [ ] Changes are material (not cosmetic)
- [ ] No duplication of spec/review content
- [ ] Style matches existing documentation
- [ ] Internally consistent across documents
- [ ] Repository-oriented, not plan-oriented
- [ ] Ingestion entries processed with user permission
- [ ] Original files archived after processing
- [ ] 3-layer validation passed
- [ ] Functionality tests passed
- [ ] Rollback mechanism documented

## Examples

### Example 1: Cleanup After Major Refactor

**Trigger**: After refactoring project to 3-layer pattern

**Steps**:
1. Run `/archive-docs` (mode: structure-cleanup)
2. Review manifest of misplaced files
3. Approve relocation of .md files to docs/
4. Approve archival of backup files
5. Approve deletion of build artifacts
6. Skill executes changes
7. Skill validates server startup
8. Skill generates compliance report

**Result**: Project structure compliant with 3-layer pattern, all functionality preserved

### Example 2: Cleanup Before Deployment

**Trigger**: Preparing for production deployment

**Steps**:
1. Run `/archive-docs` (mode: structure-cleanup)
2. Focus on build artifacts and temporary files
3. Approve cleanup of __pycache__, .pyc, test reports
4. Review remaining structure
5. Approve if compliant
6. Skill validates all endpoints
7. Generate deployment-ready report

**Result**: Clean repository structure, minimal artifacts, ready for deployment

## Documentation

- **[SKILLS.md](../../docs/skills.md)** — Comprehensive skill catalog
- **[INDEX.md](../../INDEX.md)** — Complete skill catalog

## References

- [INDEX.md](../../INDEX.md) — Complete skill catalog
- [AGENTS.md](../AGENTS.md) — Framework overview
- [PLAYBOOK.md](../../docs/PLAYBOOK.md) — Operational workflows
- [FRAMEWORK.md](../../docs/FRAMEWORK.md) — Architecture patterns
- [archive_template.md](../../templates/archive_template.md) — Milestone archive template
- [infrastructure_fix_template.md](../../templates/infrastructure_fix_template.md) — Infrastructure archive template

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Archive Docs;

Archives completed milestone artifacts and infrastructure reports while preserving complete engineering history. Includes Structure Cleanup mode to enforce 3-layer registry pattern.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Archive Docs στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Archive Docs είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Archive Docs στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/bparlan/omp-agent/tree/main/skills/archive-docs. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Archive Docs;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Archive Docs;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Archive Docs με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Archive Docs;

Δημοσιεύεται στο GitHub από τον χρήστη bparlan. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇