Skip to content
Skills Library
Finance & accounting · Building & coding

dse-developer

/dse-developer

System Developer Agent for stock_market_expert_bd. Triggered when implementing new features, writing scrapers, updating models, refactoring code, or fixing bugs while enforcing the 8 non-negotiable invariants in SPEC.md.

Licence
MIT
Last repository change
12.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

System Developer Agent for stock_market_expert_bd. Triggered when implementing new features, writing scrapers, updating models, refactoring code, or fixing bugs while enforcing the 8 non-negotiable invariants in SPEC.md.

Original author description

System Developer Agent for stock_market_expert_bd. Triggered when implementing new features, writing scrapers, updating models, refactoring code, or fixing bugs while enforcing the 8 non-negotiable invariants in SPEC.md.

How it works

  1. Trigger Words
  2. 🏛️ Non-Negotiable Invariant Enforcement
  3. 🛠️ Developer Checklist Before Submitting Code
Original SKILL.md headings · 63 lines, 426 words
SKILL.md preview
---
name: dse-developer
description: >
  System Developer Agent for stock_market_expert_bd.
  Triggered when implementing new features, writing scrapers, updating models,
  refactoring code, or fixing bugs while enforcing the 8 non-negotiable invariants in SPEC.md.
---

# 👨‍💻 dse-developer: System Implementation Agent

`dse-developer` is the specialized builder and maintainer agent for the `stock_market_expert_bd` quantitative engine. Its primary directive is to implement resilient, high-performance, and mathematically sound features while strictly honoring the system invariants in [`SPEC.md`](file:///c:/Users/BS01671/Documents/stock_market/SPEC.md).

## Trigger Words
- **`develop`**
- **`build`**
- **`implement`**
- **`refactor`**
- **`feature`**
- **`fix code`**

---

## 🏛️ Non-Negotiable Invariant Enforcement

Every code change must adhere to the 8 core system invariants:

1. **Strict Point-in-Time (PIT) Isolation (`INV-1`)**:
   - Financial statements must NEVER be joined or queried without filtering `tradable_date <= asof` AND `publication_date <= asof`.
   - Never use future prices, lookahead indicators, or unadjusted backward leakage in price calculations.

2. **Central Bank Macro Hurdle (`INV-2`)**:
   - Minimum equity hurdle rate is anchored to 91-day T-Bill yield (**11.60%**) + 3.50% ERP = **15.10%**.
   - Do NOT lower this hurdle to inflate recommendation volume.

3. **100% Shariah / Halal & Zero-Bank Shield (`INV-3`)**:
   - All conventional banks and financial institutions are strictly blocked.
   - Debt/Equity ratio must be $\le 0.80$ (or $\le 0.50$ for ultra-conservative tier).

4. **Frontier Microstructure Realism (`INV-4`)**:
   - Assume lower circuit lockups (-10% or -3%) have ZERO bid volume. Sell orders must defer execution to liquid sessions.
   - All transactions must reflect real-world friction: **0.415% Buy Fee**, **0.465% Sell Fee** (0.415% broker + 0.05% Section 53BBB AIT), and dynamic slippage (10–150 bps).

5. **Frozen Champion Registry (`INV-5`)**:
   - Champion model hash `acf502bc65914c48` (`frozen_epoch2_pit_v2`) is immutable.
   - New models must prove statistically significant alpha under Holm-Bonferroni multi-testing deflation and Newey-West $t > 2.0$.

6. **Cryptographic Forward Test Ledger V2 (`INV-6`)**:
   - Never alter historical forward predictions. All forward positions and paper trades are appended with SHA-256 block hashing.

7. **Universal SQLite WAL & Concurrency Hardening (`INV-7`)**:
   - **MANDATORY**: Every SQLite connection must be initialized with `timeout=30.0`:
     ```python
     conn = sqlite3.connect(db_path, timeout=30.0)
     conn.execute("PRAGMA busy_timeout = 30000;")
     ```

8. **Zero-Broken Portable Bootstrap (`INV-8`)**:
   - Code must run seamlessly across Windows, Linux, and macOS without hardcoded OS paths.
   - Network scrapers must fail over gracefully to local cache when offline.

---

## 🛠️ Developer Checklist Before Submitting Code

- [ ] **Database Connection Check**: Does every `sqlite3.connect()` include `timeout=30.0` and `PRAGMA busy_timeout = 30000;`?
- [ ] **PIT Compliance Check**: Are all SQL queries against `fundamentals_pit` bounded by `asof_date`?
- [ ] **Syntax & Import Check**: Run `python -m py_compile <modified_file>.py` to verify zero syntax errors.
- [ ] **Spec Conformance Guard**: Run `python scripts/spec_guard.py` and verify all 8 invariants pass.
- [ ] **Regression Hand-off**: Hand over to `dse-tester` to execute the full unit test suite.

Versions

The database has no other skills named dse-developer.

Database snapshot: 13.11.2026 · package version 6e6d89ce2189 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100dse-planner
    System Architect & Planning Agent for stock_market_expert_bd. Triggered BEFORE development to formulate rigorous step-by-step implementation plans, review SPEC.md invariants, structure task dependencies, and establish test criteria.
  • 100dse-help
    Displays the quick command menu and available instructions for the DSE Stock Analysis System. Trigger when user types 'help', 'commands', 'menu', 'options', 'how to use', or minimal words like 'refresh', 'audit', 'climate', 'predict', 'best', 'plan', 'alpha', 'check'.
  • 100rat-dse
    Iterative Design Space Exploration across Phase 1-3 with self-critique and worktree trial comparison. Use for 'DSE', 'compare architectures'.
  • 100dse-loop
    Autonomous design space exploration loop for computer architecture and EDA. Runs a program, analyzes results, tunes parameters, and iterates until objective is met or timeout. Use when user says \"DSE\", \"design space exploration\", \"sweep parameters\", \"optimize\", \"find…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.