First, be aware that although Ubuntu and Debian use the same packaging system, a package built for one might not work properly on the other due to differences in installed shared libraries. If you're packaging compiled code, you might want to keep a Debian virtual machine around (perhaps using VirtualBox) to rebuild your package for Debian once you're satisfied with it on your Ubuntu workstation.
That being said, there is a wealth of documentation available on deb packaging. Keep in mind while reading it that it's mostly aimed at people who are packaging someone else's code. Since you're both the developer and the packager, you have the luxury of creating Debian native packages, which basically means that you'll be including a "debian" directory in your source code instead of creating its contents with patches.
Debian New Maintainers' Guide
Debian Developer's Reference
Debian Policy Manual
Ubuntu Packaging Guide